aboutsummaryrefslogtreecommitdiff
path: root/test_prog.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_prog.py')
-rw-r--r--test_prog.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test_prog.py b/test_prog.py
index e6fdd11..a227920 100644
--- a/test_prog.py
+++ b/test_prog.py
@@ -5,4 +5,5 @@ import inst
## output it on the 7seg display
## 0x1 and 0x2 are the values loaded into the registers
-prog = [inst.INST_LDA | 0x1, inst.INST_LDB | 0x2, inst.INST_ADD, inst.INST_HLT]
+prog = [inst.INST_LDA | 0x1, inst.INST_LDB | 0x2, inst.INST_ADD_A,
+ inst.INST_REG_A_OUT, inst.INST_HLT]