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 12:03
Read: times


 
#81500 - No Parameters
Responding to: ???'s previous message
Hi Oleg,

Thanks for your reply. I am planning to write one of my ISR in
Assembly because they are very much time consuming with C.

Actually it is the Timer 2 Interrupt function. The Timer 2 is in 16 bit auto reload mode. The timer interrupt is used for periodically reading the ADC PCF8591 through software I2C since I am using P89V51RD2 and it doesn't have a hard I2C engine.

In continous read mode with C code it was taking approx 180 Machine cycles I thinks with assembly I will be able to reduce this time required. Should I go for P89C66x they have hard I2C in them will that reduce the time needed to ADC handling?

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