This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SPI interrupt at wrong address

I am using Atmel AT89C51CC03, and it is configured so in Keil too. The data sheet lists the SPI interrupt vector as 0x0053h, and I do define my interrupt as interrupt #10. However, the map file show my SPI interrupt has address of 0x0026h.

Does anyone know why is that? Anything I can do to make it right?

Thanks in advance!

Parents
  • I do need a LJUMP. At address 0023, compiler does have a LJMP for my UART interrupt, but I just don't know why it would not do it for SPI interrupt.

    Why don't you disassemble the instruction that is at address 0x53 and see what it is? I'll bet i can guess.

    CODE    0053H     0003H     ABSOLUTE
    

Reply
  • I do need a LJUMP. At address 0023, compiler does have a LJMP for my UART interrupt, but I just don't know why it would not do it for SPI interrupt.

    Why don't you disassemble the instruction that is at address 0x53 and see what it is? I'll bet i can guess.

    CODE    0053H     0003H     ABSOLUTE
    

Children
No data