fixed bug where alu used first operand twice instead of using second operand for register operations