Added stack functionality. Added some more to the program counter emulation.