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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/12/11 21:57
Read: times


 
#183734 - re: register bank 1
Responding to: ???'s previous message
Per Westermark said:
So does the compiler support defining a function pointer type specifying register bank 1?

In that case, the compiler would know that you start from an ISR using bank 1 and continues to a function also using bank 1.


If you mean doing something like:
typedef void (*phandler_t)(void) __using(1);
 

I tried that; it was not amused.

-a


List of 17 messages in thread
TopicAuthorDate
SDCC: function pointers in an ISR            01/01/70 00:00      
   Alternative            01/01/70 00:00      
      re: Alternative            01/01/70 00:00      
         Register bank 1            01/01/70 00:00      
            re: register bank 1            01/01/70 00:00      
               Using...            01/01/70 00:00      
               Lack of orthogonality            01/01/70 00:00      
                  incorrect warning            01/01/70 00:00      
                     re: incorrect warning            01/01/70 00:00      
                        not fixed yet            01/01/70 00:00      
                           re: not fixed yet            01/01/70 00:00      
                              Actel's answer.            01/01/70 00:00      
   warning            01/01/70 00:00      
   function pointers in SDCC            01/01/70 00:00      
   bug fixed!            01/01/70 00:00      
      Actel support            01/01/70 00:00      
         Still on the payroll            01/01/70 00:00      

Back to Subject List