mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 17:41:33 +11:00
correct comments to accurately reflect what is going on
This commit is contained in:
parent
466d0844c5
commit
086a4385be
|
@ -15,7 +15,7 @@ InterruptHandlerSimple:
|
||||||
orr r1, r1, r0 @ or with enabled and requested interrupts
|
orr r1, r1, r0 @ or with enabled and requested interrupts
|
||||||
strh r1, [r2] @ acknowlege bios requests
|
strh r1, [r2] @ acknowlege bios requests
|
||||||
|
|
||||||
@ change to user mode
|
@ change to system mode
|
||||||
mrs r2, cpsr
|
mrs r2, cpsr
|
||||||
orr r2, r2, #0xD
|
orr r2, r2, #0xD
|
||||||
msr cpsr_c, r2
|
msr cpsr_c, r2
|
||||||
|
@ -28,7 +28,7 @@ InterruptHandlerSimple:
|
||||||
.IReturn:
|
.IReturn:
|
||||||
pop {lr, r4-r11}
|
pop {lr, r4-r11}
|
||||||
|
|
||||||
@ change back to interuupt mode
|
@ change back to interrupt mode
|
||||||
mrs r2, cpsr
|
mrs r2, cpsr
|
||||||
bic r2, r2, #0xD
|
bic r2, r2, #0xD
|
||||||
orr r2, r2, #0x92
|
orr r2, r2, #0x92
|
||||||
|
|
Loading…
Reference in a new issue