diff options
Diffstat (limited to 'lab1ucode.py')
| -rw-r--r-- | lab1ucode.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lab1ucode.py b/lab1ucode.py index 5c4e0b8..814ff4a 100644 --- a/lab1ucode.py +++ b/lab1ucode.py @@ -116,6 +116,10 @@ def compile(lines): cond, to = inst.split("? ") if cond == "l=1": seq = "1100" + elif cond == "z=1": + seq = "1000" + elif cond == "n=1": + seq = "1001" else: assert False myadr = f"<{to}>" |
