CMP

r8, r8/m8

x86_64 X86_LEGACY BINARY source: asmjit

X86_CMP_X86_LEGACY_ONEBYTE_3A_238408

Encoding

encoding_kindX86_LEGACY
opcode_bytes3A
opcode_mapONEBYTE
mandatory_prefix-
has_modrmTrue
raw_encoding[RM] 3A /r

Operands (2)

# Role Kind Class / Reg Width Access Visibility Encoded in
0 REG0 REG GR8 b RW EXPLICIT MODRM_REG
1 OP1 REG R EXPLICIT

Flag effects (6)

CF = WRITE PF = WRITE AF = WRITE ZF = WRITE SF = WRITE OF = WRITE

Micro-ops sequence (0)

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