From d4f5c7093a8b15f0af6e5bdaad1c6674d0fe9634 Mon Sep 17 00:00:00 2001 From: Ry Date: Sat, 21 May 2022 16:27:29 -0700 Subject: [PATCH] fox32rom: Fix panic message output --- panic.asm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/panic.asm b/panic.asm index 83a5405..6b4452a 100644 --- a/panic.asm +++ b/panic.asm @@ -6,10 +6,9 @@ ; outputs: ; none, does not return panic: - icl brk cmp r0, 0 - ifnz mov r0, panic_string + ifz mov r0, panic_string call debug_print panic_loop: jmp panic_loop