<div dir="ltr"><div>Hi,</div><div><br></div><div>I am wondering about what suitable assembler level instruction substations are.</div><div>For example:</div><div>Result = XOR Reg1, Reg1;</div><div><br></div><div></div><div>Result is always zero, with the flags cleared.</div><div>Could I substitute this for:</div><div><div>Result = XOR Constant0, Constant0;</div><div><br></div><div>Thus freeing up Reg1 usage.</div><div>I think this would be a valid substitution, but I wanted to check with the knowledgeable people on this list as to whether I am missing something important.</div><div><br></div><div>Other possible substitutions might be:</div><div><div>Result = XOR Reg2, Reg2;</div></div><div>Because it does not actually matter which reg is used.</div><div><br></div><div></div><div>Kind Regards</div><div><br></div><div>James</div><div><br></div><div><br></div><div><br></div><br></div><div><br></div></div>