LMSW

MEM0:r:w REG0=XED_REG_CR0:w:SUPP REG0=GPR16_B():r REG1=XED_REG_CR0:w:SUPP

x86_64 X86_LEGACY SYSTEM I286REAL source: xed

XED_LMSW_X86_LEGACY_0F_01_295729

Encoding

encoding_kindX86_LEGACY
opcode_bytes01 0F 01
opcode_map0F
mandatory_prefix-
has_modrmTrue
modrm.reg = /6/6
attributesRING0 NOTSX
cpl0
raw_encoding0x0F 0x01 MOD[mm] MOD!=3 REG[0b110] RM[nnn] MODRM() 0x0F 0x01 MOD[0b11] MOD=3 REG[0b110] RM[nnn]

Operands (4)

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

Micro-ops sequence (0)

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