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]