Coding the PAUSE instruction

by Richard Russell, November 2009

If you want to use the PAUSE instruction (available on Pentium 4 and later CPUs) one way would be to encode it using DBs:

      db &F3 : db &90

but a more convenient and elegant way is as follows:

      rep nop