Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/11/06 12:49
Modified:
  08/11/06 13:05

Read: times


 
#122036 - naah
Responding to: ???'s previous message
Erik, of course, would rather spend the money for an external RAM, even if you only need one byte of external storage.
naah, I would easily find a way to save a byte. (I have 'saved' up to 100 DATA bytes in some squeezed apps).
Using Keil you use a C main (the rest can be assembler) and implement OVERLAYABLE in your assembly modules and see you data space shrink more than freah cotton in boiling water. Now, if, after doing what makes sense, you still do not have enough memory, THEN the hardware need be changed, NOT some 'exotic' measure need be implemented.
Using the LCD as a scratchpad would make your so called program slow, unmaintainable, incomprehensible and more. I can not accept the idea that if you can save $0.17 you can 'legally' make your so called code unmaintainable by regular human beings.

Erik

PS

if you are allergic to C, the 'C main' need only be

void main (void)
{
AssemblerLoop();
}

for some reason OVERLAYABLE only works if you have a C main.

List of 27 messages in thread
TopicAuthorDate
e-mail, they write e-mail            01/01/70 00:00      
   And in the e-mail, they answered themselves            01/01/70 00:00      
   nah            01/01/70 00:00      
      unused locations can be used as scratchpad            01/01/70 00:00      
         sure, when you want to show your \'skills\'            01/01/70 00:00      
   or maybe            01/01/70 00:00      
   my standard response to such            01/01/70 00:00      
      Additional Standard Response            01/01/70 00:00      
         Yes, Joe I use that one when the secons e-mail arr            01/01/70 00:00      
         I thought...            01/01/70 00:00      
            and sometimes it's not so nice ...            01/01/70 00:00      
               Yes, unfortunately...            01/01/70 00:00      
                  Not unfortunate            01/01/70 00:00      
                  number 10 is who keeps me going            01/01/70 00:00      
            the question is "what is help?"            01/01/70 00:00      
            Indeed.            01/01/70 00:00      
               Albert Schweitzer            01/01/70 00:00      
                  Huh?            01/01/70 00:00      
                     Please see my private mail            01/01/70 00:00      
                        Read and answered. Thanks            01/01/70 00:00      
                           I read and enjoyed it...            01/01/70 00:00      
      my response:            01/01/70 00:00      
         ah ha.....and stuff            01/01/70 00:00      
            LCD code            01/01/70 00:00      
         If it's a character LCD, he CAN and should ...            01/01/70 00:00      
            naah            01/01/70 00:00      
               That should already have been done ...            01/01/70 00:00      

Back to Subject List