15.1. Zeroing a Register
The standard idiom to zero a register is XOR with itself:
#eval encode 0 (Instr.BOP OpSize.Op32 BinOp.XOR (DstSrc.RR EAX EAX))
The standard idiom to zero a register is XOR with itself:
#eval encode 0 (Instr.BOP OpSize.Op32 BinOp.XOR (DstSrc.RR EAX EAX))