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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/09/07 16:02
Read: times


 
#140484 - Register bank usage
Hi, In assembly, bank allocation is defined by the programmer, I knew which register to save.
When creating a program in “C” (using interrupts),. Mangament is handled by the compiler. Several questions came to mind about register bank allocations.

Should one declare which bank to be used or allow the compiler to make the choice?

If a module is created by a third party, should a register bank be speicfied at the beginning for their usage ?

Are there any other register bank issue’s to be aware of when developing new souse code (C)
(thing’s not to do) ?

spencer

List of 6 messages in thread
TopicAuthorDate
Register bank usage            01/01/70 00:00      
   Not Keil!            01/01/70 00:00      
      2nd Question about register bank            01/01/70 00:00      
         C handles the details            01/01/70 00:00      
            C handles the details            01/01/70 00:00      
               a simple 'rule'            01/01/70 00:00      

Back to Subject List