diff --git a/agb/interrupt_simple.s b/agb/interrupt_simple.s index 2c672206..2cb154ba 100644 --- a/agb/interrupt_simple.s +++ b/agb/interrupt_simple.s @@ -23,9 +23,8 @@ InterruptHandlerSimple: @ call the rust interrupt handler with r0 set to the triggered interrupts ldr r1, =__RUST_INTERRUPT_HANDLER push {lr, r4-r11} - adr lr, .IReturn + mov lr, pc bx r1 -.IReturn: pop {lr, r4-r11} @ change back to interrupt mode