12 lines
113 B
NASM
12 lines
113 B
NASM
|
getc: xor ax, ax
|
||
|
int 0x16
|
||
|
test al, al
|
||
|
jz getc
|
||
|
ret
|
||
|
|
||
|
putc: mov al, dl
|
||
|
mov ah, 0x0e
|
||
|
xor bx, bx
|
||
|
int 0x10
|
||
|
ret
|