2021-06-06 08:18:15 +00:00
|
|
|
;Prints a newline
|
|
|
|
|
2021-06-16 19:00:45 +00:00
|
|
|
newline:
|
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-16 19:00:45 +00:00
|
|
|
mov si, .newline
|
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-16 19:00:45 +00:00
|
|
|
.newline db 0xd, 0xa, 0x0
|