LGS

REG0=GPRv_R():w MEM0:r:p2 REG1=XED_REG_GS:w:SUPP

x86_64 X86_LEGACY SEGOP I386 source: xed

XED_LGS_X86_LEGACY_0F_B5_470848

Encoding

encoding_kindX86_LEGACY
opcode_bytesB5
opcode_map0F
mandatory_prefix-
has_modrmTrue
attributesNOTSX
cpl3
raw_encoding0x0F 0xB5 MOD[mm] MOD!=3 REG[rrr] RM[nnn] MODRM()

Operands (3)

# Role Kind Class / Reg Width Access Visibility Encoded in
0 REG0 REG w W EXPLICIT MODRM_REG
1 MEM0 MEM R EXPLICIT MODRM_RM
2 REG1 REG (=GS) w W SUPPRESSED MODRM_REG

Micro-ops sequence (0)

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