mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 08:41:34 +11:00
Fix warning in assembly
This commit is contained in:
parent
c3bfe83f6b
commit
94f66f74b1
|
@ -26,10 +26,10 @@ InterruptHandler:
|
|||
|
||||
@ call the rust interrupt handler with r0 set to the triggered interrupts
|
||||
ldr r1, =__RUST_INTERRUPT_HANDLER
|
||||
push {lr, r2}
|
||||
push {r2, lr}
|
||||
mov lr, pc
|
||||
bx r1
|
||||
pop {lr, r2}
|
||||
pop {r2, lr}
|
||||
|
||||
@ change back to interrupt mode
|
||||
mrs r1, cpsr
|
||||
|
|
Loading…
Reference in a new issue