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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/31/05 21:00
Read: times


 
#90775 - Register Overlaying???
Responding to: ???'s previous message
Or is this a version of the register overlaying that the Keil compiler does for example?

Nope. The Keil compiler doesn't do register overlaying as far as I know.

The Keil compiler does allow you to:

1. Specify the default register bank that is should use when making assumptions about absolute register addresses. The assumption is register bank 0.

2. Specify that a function uses a particular register bank AND that the compiler should generate prefix and suffix code to switch to and from that register bank.

3. Specify the register bank to use for an interrupt service routine.

Someone could write their entire program using only 4 functions and specify a different register bank for each function. I don't know why anyone would do that. But, if they wanted to, they could.

Jon

List of 20 messages in thread
TopicAuthorDate
Registers            01/01/70 00:00      
   my guess            01/01/70 00:00      
   Participation            01/01/70 00:00      
      Old Age            01/01/70 00:00      
         Old but stronger still            01/01/70 00:00      
   just a guess            01/01/70 00:00      
      Powers of Two            01/01/70 00:00      
         when all was new            01/01/70 00:00      
            push and pop            01/01/70 00:00      
               passing            01/01/70 00:00      
                  Passing Parameters            01/01/70 00:00      
                     yes, with a monitor            01/01/70 00:00      
               Register Overlaying???            01/01/70 00:00      
               Context            01/01/70 00:00      
                  not necessarily            01/01/70 00:00      
         my point was            01/01/70 00:00      
   Sausages            01/01/70 00:00      
      Sausage and Chips            01/01/70 00:00      
         no instructions, but gates            01/01/70 00:00      
            Many Gates?            01/01/70 00:00      

Back to Subject List