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

8051 Interrupt Vector Location

The interrupt vector is always stored in the 0003H code memory. Is it possible to store it in another location ?

Thank You

Parents
  • Thank You.

    I have tried to use "#pragma intvector(0x8000)" in my main.c where my interrupt routines are defined.

    I have check the .m51 file, and the interrupt vector table has been shifted to 0x8000 onwards.

    But after I have done all these, my program cannot work.

    Did I miss out anything ?

    Thank You

Reply
  • Thank You.

    I have tried to use "#pragma intvector(0x8000)" in my main.c where my interrupt routines are defined.

    I have check the .m51 file, and the interrupt vector table has been shifted to 0x8000 onwards.

    But after I have done all these, my program cannot work.

    Did I miss out anything ?

    Thank You

Children