gnupic: gpasm-0.18.1


Previous by date: 28 Feb 2000 17:59:58 -0000 Re: gpasm-0.18.1, Ralf Forsberg
Next by date: 28 Feb 2000 17:59:58 -0000 Re: gpasm-0.18.1, Matthew Bowles
Previous in thread: 28 Feb 2000 17:59:58 -0000 Re: gpasm-0.18.1, Ralf Forsberg
Next in thread: 28 Feb 2000 17:59:58 -0000 Re: gpasm-0.18.1, Matthew Bowles

Subject: Re: gpasm-0.18.1
From: Scott Dattalo ####@####.####
Date: 28 Feb 2000 17:59:58 -0000
Message-Id: <Pine.LNX.4.05.10002281133350.25413-100000@tempest.blackhat.net>


On Mon, 28 Feb 2000, Ralf Forsberg wrote:

> <off topic>
> I just got one of these 'ergonomic' keyboard, and I have BIG problems
> finding the keys. :-) I'll have to relearn typing, but we'll see how
> it goes.
> </off topic>
> 
> >> Does anyone have any suggestions on how 1) to present the contents of
> >> program memory 2) to convey changes in the program memory?
> >> 
> >
> >Show adjusted program memory values in a new colour, and perhaps have an
> >option available to auto-scroll the window to show the memory block
> >containing the recently adjusted memory location. obivously you can't
> >display all at once ,but can we select multiple and not neccessarily
> >adjacent blocks of memory to display.. that would be useful, for
> >instance, when picc locates some code around the reset vector and some
> >near 7FFh and some more at the end of the memory bank (1FFFh for the
> >16F877)....
> 
> How would you want to define memory areas to display?

The .cod file has this information encoded in it. But you'd still have
this problem if the memory you wish to view is modified by your program
but not specified in your assembly file (e.g. suppose you want to use the
whole upper half of the program memory to store data acquired from some
measurement. You wouldn't necessarily define this area in your code.)

> 
> My first thought was to select memory in the object browser and have
> a menu item to add it?

I think that would be the way. Essentially have a tab that allows the
object browser select which mode to view the object code: either as
disassembled source or as a 2D spreadsheet.

Some of the features:

1) Highlight the active instruction (the one that the PC points too).
2) Show locations that have changed since the hex code was loaded in a
different background color the original code (like a light gray instead of
white).
3) Right click to bring up a menu that allows:
   a) Set execution break point on the select location(s)
   b) Set read break points
   c) Set write break points
4) Allow the user to edit the program memory within either the sheet or
the edit field at the top of the sheet (like the one that is in the
register viewer)
5) As an alternative to entering raw opcodes also allow mnemonics to be
entered.
6) Show the equivalent ascii in a column to the right of the program
memory (like in the register window). Perhaps allow the ascii column to be
decoded in one of two ways:
  - show the ascii equivalent for just the lower 8 bits (this
    would be useful for decoding retlw encoded strings)
  - show the ascii equivalent of the two 7-bit numbers that
    result when the 14-bit number is split in half. On the 18cxxx
    family, we could make this two 8-bit numbers. It doesn't make
    a whole lot of sense to do this on the 12-bit cores since the
    program memory is not readable.
7) ???


Scott


Previous by date: 28 Feb 2000 17:59:58 -0000 Re: gpasm-0.18.1, Ralf Forsberg
Next by date: 28 Feb 2000 17:59:58 -0000 Re: gpasm-0.18.1, Matthew Bowles
Previous in thread: 28 Feb 2000 17:59:58 -0000 Re: gpasm-0.18.1, Ralf Forsberg
Next in thread: 28 Feb 2000 17:59:58 -0000 Re: gpasm-0.18.1, Matthew Bowles


Powered by ezmlm-browse 0.20.