debugger: Use opcode order for arithmetic register display
This commit is contained in:
parent
78d5b6aa28
commit
4b35c68345
@ -2,7 +2,7 @@
|
|||||||
; Two characters per word, 14 words total
|
; Two characters per word, 14 words total
|
||||||
debug_frame_names:
|
debug_frame_names:
|
||||||
; general-purpose registers
|
; general-purpose registers
|
||||||
db "AXBXCXDXSPBPSIDI"
|
db "AXCXDXBXSPBPSIDI"
|
||||||
; extra registers
|
; extra registers
|
||||||
db "DSESSSIPCSFL"
|
db "DSESSSIPCSFL"
|
||||||
|
|
||||||
@ -98,9 +98,9 @@ isr_debug:
|
|||||||
push si
|
push si
|
||||||
push bp
|
push bp
|
||||||
push sp
|
push sp
|
||||||
|
push bx
|
||||||
push dx
|
push dx
|
||||||
push cx
|
push cx
|
||||||
push bx
|
|
||||||
push ax
|
push ax
|
||||||
|
|
||||||
mov bp, sp
|
mov bp, sp
|
||||||
@ -113,9 +113,9 @@ isr_debug:
|
|||||||
call debug_frame_print
|
call debug_frame_print
|
||||||
|
|
||||||
pop ax
|
pop ax
|
||||||
pop bx
|
|
||||||
pop cx
|
pop cx
|
||||||
pop dx
|
pop dx
|
||||||
|
pop bx
|
||||||
pop bp ; sp to be ignored
|
pop bp ; sp to be ignored
|
||||||
pop bp
|
pop bp
|
||||||
pop si
|
pop si
|
||||||
|
Loading…
Reference in New Issue
Block a user