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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/24/04 08:51
Read: times


 
#81809 - Integer operation in Interrupt with keil
Dear Forum Members,

I want to know is 16 bit unsigned integer arithmatic reentrant. I am talking about keil C-51. I am using ver 7.10. Is it ok to use +, -, *, /, >>, << integer operations in an interrupt. In one of the recent threads Mr. Abhishek Singh said integer operations are not reentrant and thus must not be used in an interrupt. I tried + and - with integers in interrupts and checked the assemply generated by compiler but there seems to be no external calls for these operations. Thus I am stuck with the problem weather to use them in interrupts or not to use.

Waiting for your comments and suggestions on above.

Thanks & Regards,
Prahlad Purohit

List of 6 messages in thread
TopicAuthorDate
Integer operation in Interrupt with keil            01/01/70 00:00      
   Same subject as the post I'm replying to            01/01/70 00:00      
   Keil Knowledgebase            01/01/70 00:00      
      not really relevant            01/01/70 00:00      
   actual problem            01/01/70 00:00      
   no...            01/01/70 00:00      

Back to Subject List