2021-06-06 08:18:15 +00:00
|
|
|
;Prints a newline
|
|
|
|
|
2021-06-06 16:56:54 +00:00
|
|
|
printnl:
|
2021-06-06 08:18:15 +00:00
|
|
|
|
|
|
|
;Store the initial registers in the stack
|
2021-06-10 15:16:14 +00:00
|
|
|
push si
|
2021-06-06 08:18:15 +00:00
|
|
|
|
|
|
|
;Print the newline
|
2021-06-06 16:56:54 +00:00
|
|
|
mov si, .nl
|
2021-06-06 08:18:15 +00:00
|
|
|
call printstr
|
|
|
|
|
|
|
|
;Load the initial registers from the stack
|
2021-06-10 15:16:14 +00:00
|
|
|
pop si
|
2021-06-06 08:18:15 +00:00
|
|
|
|
|
|
|
ret
|
|
|
|
|
2021-06-10 15:16:14 +00:00
|
|
|
.nl db 0xd, 0xa, 0x0
|