EttinOS/SOURCE/PRINTNL.INC

19 lines
200 B
Plaintext

;Prints a newline
printnl:
;Store the initial registers in the stack
pusha
;Print the newline
mov si, .nl
call printstr
;Load the initial registers from the stack
popa
ret
.nl:
db 0xd, 0xa, 0x0