Keil Logo

C251: INTVECTOR/NOINTVECTOR DIRECTIVE


Information in this article applies to:

  • C251 Version 1.24
  • C251 Version 2.14

QUESTION

What is the INTVECTOR directive?

ANSWER

The INTVECTOR directive instructs the compiler to generate interrupt vectors for functions which require them. The default setting is 0. An offset may be entered if the vector table starts at an address other than 0.

Using this directive, the compiler generates an interrupt vector entry using AJMP, LJMP, or EJMP instruction depending upon the size of the program memory specified with the ROM directive.

The NOINTVECTOR directive prevents the generation of an interrupt vector table.

MORE INFORMATION

  • Refer to INTVECTOR in the Cx51 User's Guide.

Last Reviewed: Friday, July 15, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.