ARM Technical Support Knowledge Articles

CREATING INTERRUPT VECTOR TABLES IN ASSEMBLY

Applies to: A166 Macro Assembler

Answer


Information in this article applies to:


QUESTION

How do I create an interrupt vector table in assembly with the A166 assembler?

ANSWER

The A166 Assembler makes it easy for you to declare interrupt procedures. You don't need to create an interrupt vector table or anything like that. The Assembler handles all these details for you.

For example, the following code example shows two procedures that declare interrupt service routines for the serial receive interrupt (43) and the serial transmit interrupt (42).

serial_tx_irq   PROC   INTERRUPT   S0TINT=42
   ENDP

serial_rx_irq   PROC   INTERRUPT   S0RINT=43
   ENDP

Refer to PROC /ENDP in the A166 Assembler User's Guide for more information about declaring interrupt routines in A166.

Article last edited on: 2005-06-12 11:47:57

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