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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/08/03 08:32
Read: times


 
#58076 - how to reduce data memory usage
can anyone tell me how to reduce the data meory usage?

i have 2 similar projects(they have almost the same
function routines and variables declared,they use the same microcomputer),but one
uses only 61.2 byte data memory and the other use 102.2 byte data memory,the figure is get from keil c51's compiling message:

first one :Program Size: data=61.2 xdata=.....
second one: Program Size: data=102.2 xdata=...

i carefully declared my global variables in Xdata memory,so i wonder where the additional 60 bytes data memory coming from?

i really want to reduce the memory usage in project 2,but i don't know where to start?




List of 15 messages in thread
TopicAuthorDate
how to reduce data memory usage            01/01/70 00:00      
   RE: how to reduce data memory usage            01/01/70 00:00      
   RE: how to reduce data memory usage            01/01/70 00:00      
      RE: how to reduce data memory usage            01/01/70 00:00      
      RE: how to reduce data memory usage            01/01/70 00:00      
         The Map File!            01/01/70 00:00      
         The Manual!            01/01/70 00:00      
      RE: how to reduce data memory usage            01/01/70 00:00      
         Uncalled functions            01/01/70 00:00      
   RE: how to reduce data memory usage            01/01/70 00:00      
      RE: how to reduce data memory usage            01/01/70 00:00      
         RE: how to reduce data memory usage            01/01/70 00:00      
            Uncalled functions.            01/01/70 00:00      
   RE: how to reduce data memory usage            01/01/70 00:00      
      RE: how to reduce data memory usage            01/01/70 00:00      

Back to Subject List