• register banks
    Hello, 1) May I know the best way to utilize the register banks for OS functions, ISR and Application functions? 2) What is the difference in terms of code speed and size if a) i were to use the...
  • Register address for Register Bank Select
    When setting up a interrupt service routine how is the register bank used determined? I see that the register bank is selected based on the register address but where does this register address come...
  • Register bank usage.
    Hello, I want to know how to stop the linker from storing variables(or parameters) in the register bank memory space(locations 0 through 1FH -3 2 bytes). The NOREGPARMS directive isn't entirely useful...
  • missing register bank switch
    void serisr (void) interrupt 4 using 1 // prt0 generates, as expected ; FUNCTION serisr (BEGIN) 0000 C0E0 PUSH ACC 0002 C0F0 PUSH B 0004 C083 PUSH DPH 0006 C082 PUSH DPL 0008 C0D0 PUSH PSW 000A 75D008...
  • Interrupt Register Bank Usage
    I created a timer 0 interrupt handler: void Timer_0_Interrupt(void) interrupt INTERRUPT_TIMER_0 using 1 { ... } I noticed that the compiler created instructions with absolute register access...