x86 Assembly Language Reference Manual

Store Machine Status Word (smsw)

smsw    	r/m16


MSW -> r/m16


The machine status word is stored by smsw in the two-byte register of memory location pointed to by the effective address operand.

80386 machines should use MOV ..., CR0.


Store the machine status word in the effective address (addressed by the EBX register plus an offset of 5):

smsw 5(%ebx)