summaryrefslogtreecommitdiff
path: root/03/ex03
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2021-11-13 13:48:27 -0500
committerpommicket <pommicket@gmail.com>2021-11-13 13:48:27 -0500
commit3fe11fa0cb21a5b78b401e86ca9ca382332e8a6f (patch)
treeef906a4089b9fb997c748c0a572199b4e96eb737 /03/ex03
parent383d1fbe2740fd0bfd12521cf54ef680d4af7ba1 (diff)
second pass (+hello world!), call A
Diffstat (limited to '03/ex03')
-rw-r--r--03/ex0339
1 files changed, 39 insertions, 0 deletions
diff --git a/03/ex03 b/03/ex03
new file mode 100644
index 0000000..e78c187
--- /dev/null
+++ b/03/ex03
@@ -0,0 +1,39 @@
+
+D]=d7
+D]=C
+D^=C
+D|=C
+D&=C
+~C
+B|=A
+8D=C
+A=1B
+B>=d33
+call :funciton
+x4b
+!:label
+?J<B:label
+:label
+1B=C
+; :l ba b
+;J=d0
+A=d60
+syscall x3c
+;;;;;;;;;;;;;;;;;;;;;;;align
+:label
+;;;;;;;;;;;;;;;;;;;;;;;reserve d1000
+B+=J
+B<=d9
+B-=J
+?J=B:label
+?A!B:label
+?A>B:label
+A=:label
+x3c
+;;;;;;;;;;;;;;;;;;;;;;;return
+;;;;;;;;;;;;;;;;;;;;;;;*-
+;;;;;;;;;;;;;;;;;;;;;;;/-
+;;;;;;;;;;;;;;;;;;;;;;;*+
+;;;;;;;;;;;;;;;;;;;;;;;/+
+:funciton
+call A