summaryrefslogtreecommitdiff
path: root/03/in03
diff options
context:
space:
mode:
Diffstat (limited to '03/in03')
-rw-r--r--03/in036
1 files changed, 2 insertions, 4 deletions
diff --git a/03/in03 b/03/in03
index 3be190d..dcbf395 100644
--- a/03/in03
+++ b/03/in03
@@ -1,10 +1,8 @@
-return
-str Hi
-align
-return
+; 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