EttinOS/src/PRINTNL.INC

18 lines
203 B
Plaintext

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