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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/16/08 19:46
Read: times


 
#153567 - I'm not that bombastic, but agree in principle wit
Responding to: ???'s previous message
I'm not that bombastic, but agree in principle with most
You shouldn't use 'C' or C++ until you're totally competent in using ASM.
my take :"You shouldn't use 'C' or C++ until you're reasonably competent in using ASM"

Once you know exactly how to write the entire code set in ASM, you can enhance maintainability by writing it in 'C' or whatever.
maintnbilty, yes, but what's equally important is coding productivity. I can write a module in C many times faster than in asm. Does that mean I do not use asm?, heck no, if a module s critical re throughput it is n asm.

HLL's are OK for machines with GB of memory and PB of external storage, with GIPS of performance, though the HLL's are nearly always a guarantee of introduced bugs and inefficiencies.
i wouldn't know about "introduced bugs" I will not make a call, but think they are less in C than in asm. Re inefficiency, who cares for uncritical routines.

With an HLL compiler you're just introducing another level of uncertainty.
Richard, the word is not 'uncertainty' but 'abstraction'.

Once you attain enough familiarity with the MCU and the compiler to reduce the uncertainty, you know enough to write the ASM better than the compiler can.
absolutely, and you should do so when it matters

not pantyhose

Erik

List of 19 messages in thread
TopicAuthorDate
SDCC XRAM Problem            01/01/70 00:00      
   Sounds like ...            01/01/70 00:00      
      I *think* I have that covered...            01/01/70 00:00      
         it is NOT            01/01/70 00:00      
            Assembly            01/01/70 00:00      
               I'll try anything once            01/01/70 00:00      
                  OK, here is a way            01/01/70 00:00      
         ANSI C            01/01/70 00:00      
         SDCC startup            01/01/70 00:00      
   unsigned char _sdcc_external_startup(void)            01/01/70 00:00      
      holy cow            01/01/70 00:00      
         The problem is obvious ...            01/01/70 00:00      
            I'm not that bombastic, but agree in principle wit            01/01/70 00:00      
               When someone is familiar with it as you are ...            01/01/70 00:00      
                  show me one from this year            01/01/70 00:00      
                     You have taken my comment wrong.            01/01/70 00:00      
                        My Guess Is That...            01/01/70 00:00      
                           not always ...            01/01/70 00:00      
         obscure?            01/01/70 00:00      

Back to Subject List