From 93bf62580a68533dc8252b9a2a055c02f34ecb67 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Thu, 24 Mar 2022 09:38:08 -0700 Subject: Modularized --- src/exceptions/undefined.S | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 src/exceptions/undefined.S (limited to 'src/exceptions/undefined.S') diff --git a/src/exceptions/undefined.S b/src/exceptions/undefined.S deleted file mode 100644 index 856e30f..0000000 --- a/src/exceptions/undefined.S +++ /dev/null @@ -1,21 +0,0 @@ -.section ".text.exceptions" -.globl undefined -undefined: - cpsid aif - stmfd sp!, {r0-r12,lr} - ldr r4, [lr, #-4] - mov r0, #62 - mov r1, #0 - mov r2, r4 - bl draw_hex32 - // Output lr - ldr r0, [sp, #0x34] - sub r2, r0, #4 - mov r0, #62 - 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}^ -- cgit v1.2.1