20 lines
No EOL
289 B
NASM
20 lines
No EOL
289 B
NASM
|
|
|
|
debug_puts:
|
|
.next:
|
|
lodsb ; AL = *SI++
|
|
test al, al
|
|
jz .done
|
|
|
|
mov dx, DEBUG_PORT
|
|
|
|
out dx, al
|
|
jmp .next
|
|
.done:
|
|
ret
|
|
|
|
debug_putc:
|
|
.next:
|
|
mov dx, DEBUG_PORT
|
|
out dx, al
|
|
ret |