|
Re: Don't know But I can guess...
Posted by Jerry Eckert.
Engineer from Looking for a team in Raleigh, NC sponsored by .
Posted on 11/12/99 1:23 PM MST
In Reply to: Don't know But I can guess... posted by Joe Johnson on 11/12/99 4:11 AM MST:
: Jerry,
: Can RAM in the scratchpad be named like regular RAM (i.e. Variables). EEPROM space can be named (using the DATA command), but access to it is not as easy as RAM. For example, in order to use EEPROM space I would have to READ from a named address and effectively store it in a variable prior to using it in a calculation. Then to replace the value, I would have to WRITE a value to the named address.
: It would be a lot simplier if we could treat the scratch RAM more like variables than like named mailboxes.
Joe,
Thanks for the reply, and allow me to return the guess...
I assume you can assign symbolic names to the scratchpad locations by defining symbolic constants
(e.g., SCRATCHPAD_1 CON 1
SCRATCHPAD_2 CON 2
etc.)
It looks to me like their goal was to implement the scratchpad with as few changes to the compiler as possible.
: Any guessers?
: Joe J.
__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
|