lmsw

Load Machine Status Word

LMSW r/m16

Loads Machine Status Word (Legacy CR0 modification).

Details

The Load Machine Status Word instruction loads Machine Status Word (Legacy CR0 modification).

Pseudocode Operation

// Loads Machine Status Word (Legacy CR0 modification)

Example

LMSW bx

Encoding

Binary Layout
0F
+0
01
+1
ModRM
+2
 
Format System
Opcode 0F 01 /6
Extension System

Operands

  • dest
    16-bit register or memory