B.1.4. Generate software interrupt

Example B.4 gives an example of the generate software interrupt code.

Example B.4. Generate software interrupt

       ;  Generate software interrupt on interrupt request line 1

       LDR    r0, =IntCntlBase
       MOV    r1, #2                              ;  Interrupt source/request 1
       STR    r1, [r0, #SoftIntOffset]
Copyright © 2000, 2003-2004 ARM Limited. All rights reserved.ARM DDI 0181E
Non-Confidential