From bd739d7205b51381dd17a3fc7fedcc4b40a598c3 Mon Sep 17 00:00:00 2001 From: pommicket Date: Wed, 1 Sep 2021 14:58:37 -0400 Subject: finished 01, now just need to write readme --- 01/in01 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to '01/in01') 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 ; -- cgit v1.2.3