Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>smsw store machine status word (286/386) flags: o d i t s z a p c</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SMSW             Store Machine Status Word (286/386) Flags: O D I T S Z A P C

SMSW destination

           Logic:        destination . Machine Status Word

     SMSW stores the Machine Status Word into a 16-bit destination. In the
     80386, the low 16 bits of the CR0 register are placed in destination.

  --------------------------------------------------------------------------
   Operands                   Clocks   Transfers  Bytes  Example
   SMSW register              2 (286)      2        3    SMSW DX
   SMSW memory                3 (286)      2        5    SMSW MACH_STAT
  --------------------------------------------------------------------------

        Note:          This instruction is only available in privileged
                       mode.

See Also: LMSW

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson