debugger: Use opcode order for arithmetic register display

This commit is contained in:
Nero 2019-06-24 16:49:36 +00:00
parent 78d5b6aa28
commit 4b35c68345

View File

@ -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