## import the instruction definitions import inst ## little test programm, which loads two values from memory, adds them and ## 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_A, inst.INST_REG_A_OUT, inst.INST_HLT]