public void updateViewRegisters() {
		if(memory[XREG_ADDRESS] != xReg.get(xReg.size() - 1))
			xReg.add(memory[XREG_ADDRESS]);

		if(memory[YREG_ADDRESS] != yReg.get(yReg.size() - 1))
			yReg.add(memory[YREG_ADDRESS]);

		if(memory[ACCUMULATOR_ADDRESS]!= acc.get(acc.size() - 1)) 
			acc.add(memory[ACCUMULATOR_ADDRESS]);

	}