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