summaryrefslogtreecommitdiff
path: root/01/in01
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2021-09-01 14:58:37 -0400
committerpommicket <pommicket@gmail.com>2021-09-01 14:58:37 -0400
commitbd739d7205b51381dd17a3fc7fedcc4b40a598c3 (patch)
tree53e146c302f3472782e0341e2379d2eac3ac3411 /01/in01
parent6efb86d66d27710255907e2c5f0ad8da1f57da08 (diff)
finished 01, now just need to write readme
Diffstat (limited to '01/in01')
-rw-r--r--01/in0113
1 files changed, 11 insertions, 2 deletions
diff --git a/01/in01 b/01/in01
index 864ef9f..c433873 100644
--- a/01/in01
+++ b/01/in01
@@ -1,6 +1,15 @@
||
-;im;2a;00;00;00;00;00;00;00
+;im;01;00;00;00;00;00;00;00 file descriptor for stdout
;JA
-;im;3c;00;00;00;00;00;00;00
+;im;bc;00;40;00;00;00;00;00 address of string "Hello, world!\n"
+;IA
+;im;0e;00;00;00;00;00;00;00 number of bytes to output
+;DA
+;im;01;00;00;00;00;00;00;00 syscall #1 (write)
;sy
+;zA
+;DA exit code 0
+;im;3c;00;00;00;00;00;00;00 syscall #60 (exit)
+;sy
+;'H;'e;'l;'l;'o;',;' ;'w;'o;'r;'l;'d;'!;\n the string we're printing
;