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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/27/06 08:55
Read: times


 
#121148 - yeah, let's flame!
Responding to: ???'s previous message
Andy Neil said:
I would qualify that as, "If you do your code carefully in 'c' - moving from one micro to another is a lot less painful"


If you do your program :-) carefully in asm, the "pain" involved in moving from one micro to another is the about the same as if it would be in C (written with the same amount of care).

Think about the steps needed to do that. The only step you spare using C is the "rough translation" from asm to asm, but that tends to be the easiest task around. The necessity to thoroughly understand both platforms, to rewrite the "hardware dependent" parts, to re-optimize the critical parts (and to study and understand the whereabouts of the application if it was not written originally by you)- these remain the same.

Andy Neil said:
but the mere act of choosing 'C' as the language does not of itself guarantee portability!

... and the mere act of choosing asm as the language does not of itself mean problems with portability.

This is absolutely the same flame as the "classic" C vs asm: while it is not completely true that asm gives you smaller and faster code, conversely it is not completely true that C is easier and results in shorter development time.

Don't get me wrong. I don't advocate asm as the best and universal tool.

Jan Waclawek

PS. Sorry for the paraphrasing, it just came handy.



List of 26 messages in thread
TopicAuthorDate
How long we see 8051            01/01/70 00:00      
   unofficial history of 8051            01/01/70 00:00      
      History, or prediction?            01/01/70 00:00      
         It seems to gain, not lose            01/01/70 00:00      
   Does it matter?            01/01/70 00:00      
      Double negative?            01/01/70 00:00      
      to C or not to C            01/01/70 00:00      
         Defintely 'C'!            01/01/70 00:00      
            yeah, let's flame!            01/01/70 00:00      
          Defintely 'C'!            01/01/70 00:00      
            arguments            01/01/70 00:00      
               An example for 8051/AVR            01/01/70 00:00      
                  contra-example for 8051/AVR            01/01/70 00:00      
                  A slight mistake            01/01/70 00:00      
                     stdint.h            01/01/70 00:00      
               That's your trouble, then!            01/01/70 00:00      
                  Compiler independant            01/01/70 00:00      
                  C is not better            01/01/70 00:00      
                  bringing 2 togethert            01/01/70 00:00      
                  Opening pandora's box            01/01/70 00:00      
               Learning C            01/01/70 00:00      
                  for a beginner ...            01/01/70 00:00      
            are You sure?            01/01/70 00:00      
            Portability and scars            01/01/70 00:00      
   I'm an ASM Guru but            01/01/70 00:00      
      why discuss the rare exception tha same apply            01/01/70 00:00      

Back to Subject List