diff options
Diffstat (limited to 'code.a')
-rw-r--r-- | code.a | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/code.a b/code.a new file mode 100644 index 0000000..abb6021 --- /dev/null +++ b/code.a @@ -0,0 +1,9 @@ +start: + mov a -1 ; 65535 + str a 16 ; put our number into 16 + #using printer.a + jmr print_num ; print number at 16 (well not print but stringify) + mov a 1 ; write + mov b 1 ; stdout + mov c 32 ; address + sys ; syscall \ No newline at end of file |