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