CMPPS

REG0=XMM_R():rw:ps MEM0:r:ps IMM0:r:b REG0=XMM_R():rw:ps REG1=XMM_B():r:ps IMM0:r:b

x86_64 X86_LEGACY SSE SSE source: xed

XED_CMPPS_X86_LEGACY_0F_C2_218984

Encoding

encoding_kindX86_LEGACY
opcode_bytesC2 0F C2
opcode_map0F
mandatory_prefix-
has_modrmTrue
imm_size_bytes1
attributesREQUIRES_ALIGNMENT MXCSR
exception_classSSE_TYPE_2
cpl3
raw_encoding0x0F 0xC2 no_refining_prefix MOD[mm] MOD!=3 REG[rrr] RM[nnn] MODRM() UIMM8() 0x0F 0xC2 no_refining_prefix MOD[0b11] MOD=3 REG[rrr] RM[nnn] UIMM8()

Operands (6)

# Role Kind Class / Reg Width Access Visibility Encoded in
0 REG0 REG RW EXPLICIT MODRM_REG
1 MEM0 MEM R EXPLICIT MODRM_RM
2 IMM0 IMM b R EXPLICIT IMM
3 REG1 REG RW EXPLICIT MODRM_REG
4 REG2 REG R EXPLICIT MODRM_REG
5 IMM1 IMM b R EXPLICIT IMM

Micro-ops sequence (0)

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