How many ways to set a register to zero?
There are a lot of possibility how to mov 0 in to ax under IA32… lea eax, [0] mov eax, 0FFFF0000h //All constants form 0..0FFFFh << 16 shr ax, 16 //All constants form 16..31 shl eax, 16 //All constants form 16..31 And perhaps the most strange… 🙂 @movzx: movzx eax, byte ptr[@movzx + 6] //Because … Read more