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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/30/04 09:56
Read: times


 
#84093 - C to Asm
Responding to: ???'s previous message
Sorry to sound sarcastic - but what you need is a compiler - it converts 'c' into assembler!

You haven't stated what your code uses too much of - is it code space or is it ram space - I expect it is ram as I can see you've got a lot of variables declared as 'long'. If you wrote the code in assembly the same way ,it to would use a lot of ram. You need to reorganise your code so that you don't have as many variables declared as 'long' - I think this may address your problem.

Have a look at the linker map file - that will tell you what is consuming the memory -be it code or ram. The tool you require is inside your head - it is much smarter than the lowly compiler - you need to help the compiler achieve your requirements.



List of 22 messages in thread
TopicAuthorDate
C Code t o Assembly            01/01/70 00:00      
   C to Asm            01/01/70 00:00      
   C Code t o Assembly            01/01/70 00:00      
      only one table            01/01/70 00:00      
   Need some more details            01/01/70 00:00      
      Not even true !            01/01/70 00:00      
      Answer is Wrong!!            01/01/70 00:00      
   Re : previous 3 replies and Paul            01/01/70 00:00      
      Previously on 8052.com            01/01/70 00:00      
      Overflow            01/01/70 00:00      
      just one array            01/01/70 00:00      
         too limited, Paul            01/01/70 00:00      
         Nothing to do with scope            01/01/70 00:00      
            Agreed            01/01/70 00:00      
   No success !            01/01/70 00:00      
   Re: Peter            01/01/70 00:00      
   to assembly            01/01/70 00:00      
   Example code            01/01/70 00:00      
   Any unused functions in your program?            01/01/70 00:00      
   query            01/01/70 00:00      
      Off-Topic - start a new thread            01/01/70 00:00      
         ... and use a _descriptive_ subject!            01/01/70 00:00      

Back to Subject List