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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/30/04 18:04
Read: times


 
#63708 - RE: C and ASM - which one is better for.
Responding to: ???'s previous message
On bigger assembler programs you get confused about the RAM usage: Which adresses and amount of RAM was used from which functions.

Then it was time to switch to C.

C make all variables reservation and overlaying fully automatically for you. Also which registers must be PUSHed and POPed was no longer a question for you.

Thus C was ideal to work on bigger programs.

On the 8051, if the code size grows up to about 4kB, then it was time to switch to C.


If you can use a very good compiler, e.g. the Keil C51, then already small projects of only 2kB can benefit from C, e.g. on the AT89C2051.


Peter


List of 20 messages in thread
TopicAuthorDate
C and ASM - which one is better for...            01/01/70 00:00      
   RE: C and ASM - which one is better for...            01/01/70 00:00      
      RE: C and ASM - which one is better for...            01/01/70 00:00      
         Suggest me one...            01/01/70 00:00      
            Combined Compiler & Assembler            01/01/70 00:00      
   RE: C and ASM - which one is better for.            01/01/70 00:00      
   RE: C and ASM - which one is better for.            01/01/70 00:00      
   RE: C and ASM - which one is better for...            01/01/70 00:00      
      Properties or usages?            01/01/70 00:00      
         You know what you need            01/01/70 00:00      
            8052 - for university?            01/01/70 00:00      
               RE: 8052 - for university?            01/01/70 00:00      
   RE: C and ASM - which one is better for...            01/01/70 00:00      
   Suggested to learn C            01/01/70 00:00      
      RE: Suggested to learn C            01/01/70 00:00      
         RE: Suggested to learn C            01/01/70 00:00      
            RE: Suggested to learn C            01/01/70 00:00      
   RE: C and ASM - which one is better for...            01/01/70 00:00      
      RE: C and ASM - which one is better for...            01/01/70 00:00      
   RE: C and ASM - which one is better for...            01/01/70 00:00      

Back to Subject List