XCHG
REG0=GPRv_B():rw REG1=GPRv_R():rw
x86_64 X86_LEGACY DATAXFER I86 source: xed
XED_XCHG_X86_LEGACY_ONEBYTE_87_823004
Encoding
| encoding_kind | X86_LEGACY |
| opcode_bytes | 87 |
| opcode_map | ONEBYTE |
| mandatory_prefix | - |
| has_modrm | True |
| cpl | 3 |
| raw_encoding | 0x87 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.