aboutsummaryrefslogtreecommitdiff
path: root/src/exceptions/undefined.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/exceptions/undefined.S')
-rw-r--r--src/exceptions/undefined.S16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/exceptions/undefined.S b/src/exceptions/undefined.S
index ef00735..2d4b90a 100644
--- a/src/exceptions/undefined.S
+++ b/src/exceptions/undefined.S
@@ -4,23 +4,19 @@ undefined:
cpsid aif
stmfd sp!, {r0-r12,lr}
ldr r4, [lr, #-4]
- mov r0, #0
- mov r1, #17
+ mov r0, #62
+ mov r1, #0
ldr r2, =undefined_msg
bl draw_string
- mov r0, #18
- mov r1, #17
+ mov r0, #62
+ mov r1, #1
mov r2, r4
bl draw_hex32
- mov r0, #27
- mov r1, #17
- ldr r2, =undefined_at
- bl draw_string
// Output lr
ldr r0, [sp, #0x34]
sub r2, r0, #4
- mov r0, #31
- mov r1, #17
+ mov r0, #62
+ mov r1, #2
bl draw_hex32
// Skip instruction for now
// In future,