19 lines
206 B
PHP
19 lines
206 B
PHP
|
;Prints a newline
|
||
|
|
||
|
printcrlf:
|
||
|
|
||
|
;Store the initial registers in the stack
|
||
|
pusha
|
||
|
|
||
|
;Print the newline
|
||
|
mov si, .crlf
|
||
|
call printstr
|
||
|
|
||
|
;Load the initial registers from the stack
|
||
|
popa
|
||
|
|
||
|
ret
|
||
|
|
||
|
.crlf:
|
||
|
db 0xd, 0xa, 0x0
|