clear both IME registers (DSi)

This commit is contained in:
Dave Murphy 2010-02-11 17:13:06 +00:00
parent 7fb45ebd2d
commit 6c1a47754e

View File

@ -8,7 +8,8 @@
_start:
@---------------------------------------------------------------------------------
mov r0, #0x04000000 @ IME = 0;
str r0, [r0, #0x208]
mov r1, #0
str r1, [r0, #0x208]
mov r0, #0x12 @ Switch to IRQ Mode
msr cpsr, r0