From 4b35c68345e11be8b36a8a49972db839ae76e1c9 Mon Sep 17 00:00:00 2001 From: Nathan Frost <41307858+nero@users.noreply.github.com> Date: Mon, 24 Jun 2019 16:49:36 +0000 Subject: [PATCH] debugger: Use opcode order for arithmetic register display --- kernel/debug.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/debug.asm b/kernel/debug.asm index f5e6620..46cf138 100644 --- a/kernel/debug.asm +++ b/kernel/debug.asm @@ -2,7 +2,7 @@ ; Two characters per word, 14 words total debug_frame_names: ; general-purpose registers - db "AXBXCXDXSPBPSIDI" + db "AXCXDXBXSPBPSIDI" ; extra registers db "DSESSSIPCSFL" @@ -98,9 +98,9 @@ isr_debug: push si push bp push sp + push bx push dx push cx - push bx push ax mov bp, sp @@ -113,9 +113,9 @@ isr_debug: call debug_frame_print pop ax - pop bx pop cx pop dx + pop bx pop bp ; sp to be ignored pop bp pop si