Keil™, An ARM® Company

Technical Support

A166: CREATING INTERRUPT VECTOR TABLES IN ASSEMBLY


Information in this article applies to:

  • C166 All Versions

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.

Last Reviewed: Sunday, June 12, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure