blob: dcbf395e81ac4a3eda88f8eeb6c204a592dcbdc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
; 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
|