Made it run on a state instead of just a program counter.
Implemented the DCR opcodes.