SAR
REG0=GPR8_N():w:b:i8 MEM0:r:b:i8 REG1=XED_REG_CL:r:IMPL
x86_64 X86_LEGACY SHIFT APX_F_N3 source: xed
XED_SAR_GPR8i8_MEMi8_CL_APX_N3
Encoding
| encoding_kind | X86_LEGACY |
| opcode_bytes | D2 |
| opcode_map | ONEBYTE |
| mandatory_prefix | - |
| has_modrm | True |
| modrm.reg = /7 | /7 |
| vex_l | 0 |
| requires_mode | long |
| attributes | APX_NDD BYTEOP DISP8_NO_SCALE |
| exception_class | APX-EVEX-INT |
| cpl | 3 |
| raw_encoding | EVV 0xD2 VNP MAP4 MOD[mm] MOD!=3 REG[0b111] RM[nnn] MODRM() ND=1 NF=0 VL128 mode64 ZEROING=0 EVAPX() |
Operands (3)
| # | Role | Kind | Class / Reg | Width | Access | Visibility | Encoded in |
|---|---|---|---|---|---|---|---|
| 0 | REG0 | REG | w | W | EXPLICIT | MODRM_REG | |
| 1 | MEM0 | MEM | b | R | EXPLICIT | MODRM_RM | |
| 2 | REG1 | REG | (=CL) | R | IMPLICIT | MODRM_REG |
Micro-ops sequence (0)
No micro-ops authored for this encoding. Emulator semantics not yet defined — decoder still works.