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.S10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/exceptions/undefined.S b/src/exceptions/undefined.S
index 2d4b90a..856e30f 100644
--- a/src/exceptions/undefined.S
+++ b/src/exceptions/undefined.S
@@ -6,24 +6,16 @@ undefined:
ldr r4, [lr, #-4]
mov r0, #62
mov r1, #0
- ldr r2, =undefined_msg
- bl draw_string
- mov r0, #62
- mov r1, #1
mov r2, r4
bl draw_hex32
// Output lr
ldr r0, [sp, #0x34]
sub r2, r0, #4
mov r0, #62
- mov r1, #2
+ mov r1, #1
bl draw_hex32
// Skip instruction for now
// In future,
// ldmfd sp!, {r0-r12,lr} // Note the lack of ^ since subs will handle it
// subs pc, lr, #4
ldmfd sp!, {r0-r12,pc}^
-
-.section .data
-undefined_msg: .asciz "Undefined Handler"
-undefined_at: .asciz "@ 0x"