And for some weird reason, doing that was faster than just doing MOV AX, 0 (which is literally "Move 0 into AX", so "AX = 0" in more familiar syntax).
Edit: Oh man, my fellow HN'ers, as I did, all jumped on the occasion to show off :)
Later Intel actually special cased it in the instruction decoding path for the later CPU's (starting somewhere around the PII/PIII era, but I don't remember the exact timeframe) so that it also does not consume an execution unit and it /effectively/ executes in zero cycles.
On a similar note on many RISC architectures NOP is actually something like ADD r0, r0, r0 and that too is usually special cased in the hazard stall and result forwarding logic (althought usually the special cased part is “ignore hazards that involve r0”)
The important tuning piece for OOO processors is removing dependencies between calculations.
Math operations, on the other hand, are very simple to do because it's baked right into the CPU, only requiring one instruction and a few cycles
https://stackoverflow.com/questions/33666617/what-is-the-bes...
This operation was almost always faster than moving a constant (like 0) into a register, because of all of the overhead of making the constant and reading and writing.