19 lines
200 B
Text
19 lines
200 B
Text
;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
|