You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
422 B
27 lines
422 B
from hardware.hardware import Hardware
|
|
from execute.controller import Controller
|
|
from execute.debugger import Debugger
|
|
|
|
hw = Hardware()
|
|
ctrl = Controller(hw)
|
|
dbg = Debugger(hw)
|
|
prog = 'program/addiuTest.txt'
|
|
|
|
dbg.loadProgram(prog)
|
|
|
|
print('running...')
|
|
ctrl.run()
|
|
ctrl.run()
|
|
ctrl.run()
|
|
dbg.dumpGenReg()
|
|
|
|
print('running...')
|
|
ctrl.run()
|
|
ctrl.run()
|
|
ctrl.run()
|
|
dbg.dumpGenReg()
|
|
|
|
print('running...')
|
|
ctrl.run()
|
|
dbg.dumpGenReg()
|