XCHG

REG0=GPR8_B():rw REG1=GPR8_R():rw

x86_64 X86_LEGACY DATAXFER I86 source: xed

XED_XCHG_X86_LEGACY_ONEBYTE_86_431854

Encoding

encoding_kindX86_LEGACY
opcode_bytes86
opcode_mapONEBYTE
mandatory_prefix-
has_modrmTrue
attributesBYTEOP
cpl3
raw_encoding0x86 MOD[0b11] MOD=3 REG[rrr] RM[nnn]

Operands (2)

# Role Kind Class / Reg Width Access Visibility Encoded in
0 REG0 REG RW EXPLICIT MODRM_REG
1 REG1 REG RW EXPLICIT MODRM_REG

Micro-ops sequence (0)

No micro-ops authored for this encoding. Emulator semantics not yet defined — decoder still works.