3 ms·
The coolest one liner is xor eax,eax :) 1 cycle for setting register to 0.
by _o_ 8y ago
The coolest one liner is xor eax,eax :) 1 cycle for setting register to 0.
- guitarbill 8y agoTruly beautiful, I was so ecstatic when this clicked with me when I was first learning assembly. So much depth in one "simple" instruction.
- thecompilr 8y agoYeah, but with the side effect of clearing the flag registers. So can't be used between operations that rely on flags. Alternatively it is great to break false flag dependency.