registers and program counter work