summaryrefslogtreecommitdiffstats
path: root/lab1ucode.py
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2022-01-28 09:15:09 +0100
committerGustav Sörnäs <gustav@sornas.net>2022-01-28 09:15:09 +0100
commitf3eae905ca1e378948ee228e93f3c697cb879605 (patch)
tree680cd65a84002d48b6b52170253eca1b6520f406 /lab1ucode.py
parent0b133eee599bf4e28baca3d8c5e9f8379937ade1 (diff)
downloadtsea83-f3eae905ca1e378948ee228e93f3c697cb879605.tar.gz
bge
Diffstat (limited to 'lab1ucode.py')
-rw-r--r--lab1ucode.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lab1ucode.py b/lab1ucode.py
index 19d59c2..af410c9 100644
--- a/lab1ucode.py
+++ b/lab1ucode.py
@@ -120,6 +120,8 @@ def compile(lines):
seq = "1000"
elif cond == "n=1":
seq = "1001"
+ elif cond == "o=1":
+ seq = "1011"
else:
assert False
myadr = f"<{to}>"