summaryrefslogtreecommitdiff
path: root/03/in03
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2021-11-12 22:00:46 -0500
committerpommicket <pommicket@gmail.com>2021-11-12 22:00:46 -0500
commita9114a5d706563a068cc8c65c3b6e2b1dd997fdb (patch)
treeb32c61cccedeea0797c8119aa30a51e5da273adb /03/in03
parent0937fd530c469af1e64ebbdb801a20086b3c597e (diff)
conditional and unconditional jumps
Diffstat (limited to '03/in03')
-rw-r--r--03/in0312
1 files changed, 8 insertions, 4 deletions
diff --git a/03/in03 b/03/in03
index da66bd4..610444c 100644
--- a/03/in03
+++ b/03/in03
@@ -1,15 +1,19 @@
- :l ba b
+!:label
+?J<B:label
+:label
+e
+; :l ba b
;J=d0
A=d60
-sys x3c
+syscall x3c
align
:label
-res d1000
+reserve d1000
B+=J
B<=d9
B-=J
-?J<B:label
?J=B:label
?A!B:label
?A>B:label
A=:label
+>funciton