lang-bootstrap/03/in03
2021-11-13 14:32:00 -05:00

14 lines
192 B
Text

; write to stdout
J=d1
I=:hello_world
D=:hello_world_end
; calculate length by subtracting end from start
D-=I
syscall d1
J=d42
syscall x3c
:hello_world
str Hello, world!
xa
:hello_world_end