B.1.13. Highest level vectored IRQ interrupt service routine

Example B.13 gives an example of the highest level vectored IRQ interrupt service routine code.

Example B.13. Highest level vectored IRQ interrupt service routine

0x18   LDR    pc, [pc, #-0xff0]               ;  Load vector into PC

highest_priority_vector_handler

       Interrupt_service_routine

       ;  Code to exit handler
       STR    r0, VectorAddr                  ;  Acknowledge Vectored IRQ has
                                              ;  finished
       SUBS   pc, r14, #4                     ;  Return from IRQ
Copyright © 2000, 2003-2004 ARM Limited. All rights reserved.ARM DDI 0181E
Non-Confidential