15 lines
159 B
PHP
15 lines
159 B
PHP
|
;Prints a line from si until a null.
|
||
|
println:
|
||
|
|
||
|
;Print a string
|
||
|
call printstr
|
||
|
|
||
|
;Print a newline
|
||
|
mov si, .newline
|
||
|
call printstr
|
||
|
|
||
|
ret
|
||
|
|
||
|
.newline:
|
||
|
db 0xd, 0xa, 0x0
|