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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/13/10 02:22
Read: times


 
#174092 - Use alternate register set...
Responding to: ???'s previous message
You should investigate the usage of the alternate register set.

Some compilers support the "Using X" directive where X = 1, 2, or 3 to specify the register set in use inside the ISR. With careful coding to reserve a single register set to the ISR you can eliminate the need to push/pop all of the AR0 -> AR7 registers. This is replaced by very simple code that sets the register select bits properly for the chosen register set.

There are numerous references about this at the Keil web site.

Michael Karas


List of 12 messages in thread
TopicAuthorDate
How to control PUSHes & POPs in interrupt?            01/01/70 00:00      
   Don't know in Keil but            01/01/70 00:00      
   What is the Code in the interupt?            01/01/70 00:00      
      Code in Interrupt            01/01/70 00:00      
         Once you use ASM, the optimiser gives up            01/01/70 00:00      
            OR            01/01/70 00:00      
         Questions            01/01/70 00:00      
   Use alternate register set...            01/01/70 00:00      
      Yes, That's it.            01/01/70 00:00      
         Using X            01/01/70 00:00      
            Just Remember            01/01/70 00:00      
               The cost...            01/01/70 00:00      

Back to Subject List