logoalt Hacker News

EvanAndersonyesterday at 11:56 PM1 replyview on HN

I thought I remembered reading somewhere re: the 8086 microcode disassembly that NOP, which is encoded as XCHG AX,AX actually does run the XCHG microcode and uses an internal scratchpad register to do the exchange.


Replies

JoeAltmaieryesterday at 11:57 PM

There were several NOPs - XCHG BX,BX and so on. Those were taken later to be prefixes for new classes of opcodes.

show 1 reply