From 80536053b6140f3fdbcfd94c60a0fb444fac678a Mon Sep 17 00:00:00 2001 From: Benedict Date: Tue, 1 May 2018 16:32:08 +0200 Subject: test programm: display result at 7 hex display --- test_prog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test_prog.py') 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] -- cgit v1.2.3-70-g09d2