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 handling in Keil

How to write C code in Keil MICRO VISION3 to jump to Interrupt Vector when interruptoccurs? (While writing code in C we are not mentioning anyRAM/ ROM address)

Parents
  • Hi,

    The compiler will do the address mapping.You only have to write the ISR function with the corresponding "interrupt number".
    The interrupt function attribute, when included in a declaration, specifies that the associated function is an interrupt function.Refer to pages 125/126 in C51.pdf.

    Lekha

Reply
  • Hi,

    The compiler will do the address mapping.You only have to write the ISR function with the corresponding "interrupt number".
    The interrupt function attribute, when included in a declaration, specifies that the associated function is an interrupt function.Refer to pages 125/126 in C51.pdf.

    Lekha

Children