SUB

REG0=GPRv_N():w:v MEM0:r:v IMM0:r:z

x86_64 X86_LEGACY BINARY APX_F_N3 source: xed

XED_SUB_GPRv_MEMv_IMMz_APX_N3

Encoding

encoding_kindX86_LEGACY
opcode_bytes81
opcode_mapONEBYTE
mandatory_prefix-
has_modrmTrue
modrm.reg = /5/5
vex_l0
requires_modelong
attributesAPX_NDD DISP8_NO_SCALE
exception_classAPX-EVEX-INT
cpl3
raw_encodingEVV 0x81 VNP MAP4 MOD[mm] MOD!=3 REG[0b101] RM[nnn] MODRM() ND=1 NO_SCC_NF0 VL128 mode64 ZEROING=0 EVAPX() SIMMz()

Operands (3)

# Role Kind Class / Reg Width Access Visibility Encoded in
0 REG0 REG w W EXPLICIT MODRM_REG
1 MEM0 MEM v R EXPLICIT MODRM_RM
2 IMM0 IMM z R EXPLICIT IMM

Micro-ops sequence (0)

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