aboutsummaryrefslogtreecommitdiff
path: root/src/exceptions/undefined.S
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-16 22:28:33 -0700
committerChristian Cunningham <cc@localhost>2022-03-16 22:28:33 -0700
commita9f63b8cdb930d079cc69d492fe44dc8224c1e03 (patch)
treec97c9f84f5caa2b0cc77850c21f33b9f5cefaecb /src/exceptions/undefined.S
parenta3732c11ad3bcd2c01a36d0a82a6f310fe8557af (diff)
More comments
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,