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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/19/04 14:54
Read: times


 
#81512 - Assembly code no better than keil
Responding to: ???'s previous message
When it comes to the things you say are done in the ISR, there should be no real difference between the code generated by the C compiler and what you can write in assembler. Unless, the C code is poorly designed or poorly implemented.

I put the #pragma SRC directive in my c source file to get the compiler generated assembly. It seems to be very efficient assembly code and is exactly the same as what I had written manually. You guys are absolutely right there seems to be no advantage of using assembly for this application.

Thanks & Regards,
Prahlad Purohit


List of 13 messages in thread
TopicAuthorDate
Interrupt Function Prototype & Keil            01/01/70 00:00      
   Re: Interrupt Function Prototype & Keil            01/01/70 00:00      
      No Parameters            01/01/70 00:00      
         ASM vs 'C'            01/01/70 00:00      
         Interrupt Routines            01/01/70 00:00      
            Assembly code no better than keil            01/01/70 00:00      
               efficient C            01/01/70 00:00      
         Hardware IIC            01/01/70 00:00      
         I2C(C) = I2C(asm)            01/01/70 00:00      
            C-asm delay            01/01/70 00:00      
               OSC_FREQ            01/01/70 00:00      
      no need for prototypes!            01/01/70 00:00      
         Same            01/01/70 00:00      

Back to Subject List