B.1.5. Clear software interrupt

Example B.5 gives an example of the clear software interrupt code.

Example B.5. Clear software interrupt

       ;  Clear software interrupt on interrupt request line 1.

       LDR    r0, =IntCntlBase                    ;  where IntCntlBase is a predefined constant,
                                                  ;  for example, IntCntlBase EQU 0xFFFFF000
       MOV    r1, #2
       STR    r1, [r0, #SoftIntClearOffset]

Copyright © 2000, 2003-2004 ARM Limited. All rights reserved.ARM DDI 0181E
Non-Confidential