Its not wrong though

alphacyberranger@lemmy.world to Programmer Humor@programming.dev – 805 points –
131

You are viewing a single comment

xor ax, ax

A fancy way to say do nothing is not the same as translating back and forth. Example: Show me the intermediate translation.

Also we live in a 64bit world now old man

Also that instruction does not do nothing, it resets the CPU register to zero without having to access RAM. Far from a NOP instruction.