وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

CLTS

CLTS

Usage:  CLTS                                         Modifies flags: None

Clears the Task Switched Flag in the Machine Status Register.  This is a privileged operation and is generally used only by operating system code.

Clear Flags


CLC                           ; F8                   [8086]

CLD                           ; FC                   [8086]

CLI                           ; FA                   [8086]

CLTS                          ; 0F 06                [286,PRIV]


These instructions clear various flags. CLC clears the carry flag; CLD clears the direction flag; CLI clears the interrupt flag (thus disabling interrupts); and CLTS clears the task-switched (TS) flag in CR0.


To set the carry, direction, or interrupt flags, use the STC, STD and STI instructions. To invert the carry flag, use CMC.


Example:

clts