Converting three-operand instructions into two-operand form