• [ loading the pc register ]
  • Data in not getting loaded for SPDR register
    void main() { SPCR =0xD8; //Enabling SPI int,setting clock EA=1; ES0=1; SPDR=0xFF; //SPI data register while(1); } unsigned char bdata test; sbit SPIF=test^7; void sr_intr() interrupt 4 { test...
  • 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...
  • Bit-addressable register
    Hi all, When I do this: P7_SFR DEFR 0FFD0H DP7_SFR DEFR 0FFD2H HWWDOG_PORT EQU P7_SFR HWWDOG_DIRPORT EQU DP7_SFR HWWDOG_BIT EQU 6 HWWDOG_PULSEBIT DEFB HWWDOG_PORT.HWWDOG_BIT ; P7, bit 6 I...
  • How to debug app loaded on another address
    Hi, I created a bootloader with the default flash start address A (0x08000000) which flashes an application on address B (0x0802000) and then runs this application. This all works fine. Now I...