Why does Visual Studio use xchg ax,ax
On x86 the NOP instruction is XCHG AX, AX The 2 mnemonic instructions assemble to the same binary op-code. (Actually, I suppose an assembler could use any xchg of a register with itself, but AX or EAX is what’s typically used for the nop as far as I know). xchg ax, ax has the properties … Read more