diff options
| author | Benedict <benedict@0xb8000.de> | 2018-05-01 16:32:08 +0200 |
|---|---|---|
| committer | Benedict <benedict@0xb8000.de> | 2018-05-01 16:32:08 +0200 |
| commit | 80536053b6140f3fdbcfd94c60a0fb444fac678a (patch) | |
| tree | 42d9a9f50a90b8c9505bf5fd7442e8e78a7b4b51 /test_prog.py | |
| parent | 52fe336a804fc0124ca167c2d25b0f148e4c4249 (diff) | |
Diffstat (limited to 'test_prog.py')
| -rw-r--r-- | test_prog.py | 3 |
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] |
