What does “rep; nop;” mean in x86 assembly? Is it the same as the “pause” instruction?
What does rep; nop mean? Is it the same as pause instruction? Is it the same as rep nop (without the semi-colon)? What's the difference to the simple nop instruction? Does it behave differently on AMD and Intel processors? (bonus) Where is the official documentation for these instructions? Motivation for this question After some discussion in the comments of another question , I realized that I don't know what rep; nop; means in x86 (or x86-64) assembly. And also I couldn't find a good explanation on the web. I know that rep is a prefix that means "repeat the next instruction cx times" (or at