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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/26/05 15:16
Read: times


 
#101553 - code ist the trick
Responding to: ???'s previous message
D.narender Reddy said:
the problem is i have to display nearly 20 strings of nearly 6 characters each and many variables which are declared floatsing points.



No problem, simple place all constant variables (e.g. strings) inside the code segment (8kB).

How it can be done can be found in your compiler manual because it is compiler dependent.

E.g. on the Keil C51:

unsigned char code text1 = "Hello World";


But if you run out of Flash, you must remove such code space gulping things like floating point numbers, printf(), schanf().


Peter


List of 13 messages in thread
TopicAuthorDate
problem with memory management: & lcd.            01/01/70 00:00      
   why not            01/01/70 00:00      
      naturally it is worth !            01/01/70 00:00      
         also            01/01/70 00:00      
         of course it is, however            01/01/70 00:00      
            common problems on C51            01/01/70 00:00      
               Harvard            01/01/70 00:00      
            Re: of course it is, however            01/01/70 00:00      
               Re: Re: of course it is, however            01/01/70 00:00      
   code ist the trick            01/01/70 00:00      
      Memory, memory.            01/01/70 00:00      
         Sorry            01/01/70 00:00      
            External EEPROM            01/01/70 00:00      

Back to Subject List