An optional offset, in parentheses, for the interrupt vector
table.
Default
INTVECTOR (0)
µVision
Options — C251 — Interrupt vectors at address.
Description
The INTVECTOR directive instructs the compiler to generate
interrupt vectors for functions which require them. An offset may be
entered if the vector table starts at an address other than 0. The
range for this offset is 0 .. 65535.
The compiler generates interrupt vectors using either
AJMP, LJMP, or EJMP instructions (depending on
the size of the program memory specified with the ROM
directive).
Vectors are located starting at absolute address:
(n * interval) + offset +
3
where:
n
is the interrupt number.
interval
is the argument of the INTERVAL
directive (default 8).
offset
is the argument of the INTVECTOR
directive (default 0).
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.