B.1.1. Enable interrupts

Example B.1 gives an example of the enable interrupt code.

Example B.1. Enable interrupts

       LDR    r0, =IntCntlBase                     ;  where IntCntlBase is a predefined constant
                                                   ;  for example, IntCntlBase EQU 0xFFFFF000
       MOV    r1, #<interrupt to enable>
       STR    r1, [r0, #IntEnableOffset]
Copyright © 2000, 2003-2004 ARM Limited. All rights reserved.ARM DDI 0181E
Non-Confidential