• 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...
  • interrupt functions in banked program.
    My code grows over 64k boundary and now I rewriting my program to use code banks switching technique. I have C8051F120 MCU with the following memory layout: 0xffff ...... bank1, bank2 and bank3 ...
  • 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...
  • 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...