Handled invalid operations when program counter runs out of bounds