Preserve AX on buffered input
This commit is contained in:
parent
f3a6ae338f
commit
da506d36ac
@ -55,6 +55,7 @@ print_string:
|
|||||||
jne read_buffer.chain
|
jne read_buffer.chain
|
||||||
|
|
||||||
read_buffer:
|
read_buffer:
|
||||||
|
push ax
|
||||||
push dx
|
push dx
|
||||||
push bx
|
push bx
|
||||||
push si
|
push si
|
||||||
@ -78,6 +79,7 @@ read_buffer:
|
|||||||
pop si
|
pop si
|
||||||
pop bx
|
pop bx
|
||||||
pop dx
|
pop dx
|
||||||
|
pop ax
|
||||||
ret
|
ret
|
||||||
.bs:
|
.bs:
|
||||||
test bx, bx
|
test bx, bx
|
||||||
|
Loading…
Reference in New Issue
Block a user