AND

REG0=GPR8_R():rw REG1=GPR8_B():r REG0=GPR8_R():rw MEM0:r:b

x86_64 X86_LEGACY LOGICAL I86 source: xed

XED_AND_GPR8_GPR8_22

Encoding

encoding_kindX86_LEGACY
opcode_bytes22 22
opcode_mapONEBYTE
mandatory_prefix-
has_modrmTrue
attributesBYTEOP
cpl3
raw_encoding0x22 MOD[0b11] MOD=3 REG[rrr] RM[nnn] 0x22 MOD[mm] MOD!=3 REG[rrr] RM[nnn] MODRM()

Operands (4)

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

Flag effects (6)

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

Micro-ops sequence (0)

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