SAR
REG0=GPRv_N():w:v MEM0:r:v IMM0:r:IMPL:b
x86_64 X86_LEGACY SHIFT APX_F_N3 source: xed
XED_SAR_GPRv_MEMv_ONE_APX_N3
Encoding
| encoding_kind | X86_LEGACY |
| opcode_bytes | D1 |
| opcode_map | ONEBYTE |
| mandatory_prefix | - |
| has_modrm | True |
| modrm.reg = /7 | /7 |
| vex_l | 0 |
| requires_mode | long |
| attributes | APX_NDD DISP8_NO_SCALE IMPLICIT_ONE |
| exception_class | APX-EVEX-INT |
| cpl | 3 |
| raw_encoding | EVV 0xD1 VNP MAP4 MOD[mm] MOD!=3 REG[0b111] RM[nnn] MODRM() ND=1 NF=0 VL128 mode64 ZEROING=0 EVAPX() ONE() |
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 | b | R | IMPLICIT | IMM |
Micro-ops sequence (0)
No micro-ops authored for this encoding. Emulator semantics not yet defined — decoder still works.