ARM Technical Support Knowledge Articles

INTVECTOR/NOINTVECTOR DIRECTIVE

Applies to: C251 C Compiler

Answer


Information in this article applies to:


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

Article last edited on: 2005-07-15 14:12:41

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential