diff options
Diffstat (limited to 'src/exceptions')
-rw-r--r-- | src/exceptions/undefined.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/exceptions/undefined.S b/src/exceptions/undefined.S index b8eab29..ef00735 100644 --- a/src/exceptions/undefined.S +++ b/src/exceptions/undefined.S @@ -17,8 +17,7 @@ undefined: ldr r2, =undefined_at bl draw_string // Output lr - mov r1, #0x1000 - ldr r0, [r1, #-4] + ldr r0, [sp, #0x34] sub r2, r0, #4 mov r0, #31 mov r1, #17 |