aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedict <benedict@0xb8000.de>2018-05-01 16:32:08 +0200
committerBenedict <benedict@0xb8000.de>2018-05-01 16:32:08 +0200
commit80536053b6140f3fdbcfd94c60a0fb444fac678a (patch)
tree42d9a9f50a90b8c9505bf5fd7442e8e78a7b4b51
parent52fe336a804fc0124ca167c2d25b0f148e4c4249 (diff)
test programm: display result at 7 hex displayHEADmaster
-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]