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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/13/09 03:41
Read: times


 
#165282 - Just this particular function would be very fast in ASM
Responding to: ???'s previous message
Andy Neil said:
Richard Erlacher said:
I should preface this comment with the statement that I'm not one who uses 'C' or other HLL's for tasks small enough to fit in an 8-bit MCU.


Richard Erlacher, who doesn't use 'C' for an 8051, said:
... 'C' can do it too, albeit much (sic) more slowly and with considerably (sic) more code space consumed.

Well-written 'C' with a decent compiler will probably not be that bad...

This particular function will go VERY fast in the manner I've cursorily described, use very limited resources, and, I'm quite well persuaded, would be much slower in 'C' or any other common HLL.

That may not be a particularly big penalty for you, however.

Especially if the specific requirement of this assignment is that it be written in 'C'...!

Granted!

;-)


RE


List of 29 messages in thread
TopicAuthorDate
Command Processor            01/01/70 00:00      
   More detail required            01/01/70 00:00      
      Command Processor            01/01/70 00:00      
         Standard Async Serial (updated)            01/01/70 00:00      
         What is it that you need?            01/01/70 00:00      
            Command Processor            01/01/70 00:00      
               What compiler?            01/01/70 00:00      
                  Code to Get command            01/01/70 00:00      
                     Buffer overflow...            01/01/70 00:00      
                        Sorry            01/01/70 00:00      
                     did you retype the code?? ....            01/01/70 00:00      
                        This code is translated            01/01/70 00:00      
                           Alternative parsing            01/01/70 00:00      
                              Code to Get command            01/01/70 00:00      
                           wasteful            01/01/70 00:00      
               I would not do this in 'C'            01/01/70 00:00      
                  Thank you            01/01/70 00:00      
                     Assembler floating point?            01/01/70 00:00      
                        I didn't say he shouldn't use 'C' at all ...            01/01/70 00:00      
                  'C' may not be that bad            01/01/70 00:00      
                     Just this particular function would be very fast in ASM            01/01/70 00:00      
                        Maybe; maybe not...            01/01/70 00:00      
                           The opinion that assembler is faster than C            01/01/70 00:00      
                              In this case, speed isn't a big factor.            01/01/70 00:00      
                                 dead easy and it will not work if you do not            01/01/70 00:00      
                                    no (keil?) C will work if the main is in asm            01/01/70 00:00      
                                       What I was considering            01/01/70 00:00      
                  I WOULD write thsi in C            01/01/70 00:00      
                     Thta doesn't surprise me.            01/01/70 00:00      

Back to Subject List