13.07.2015 Views

Volume 3: General-Purpose and System Instructions - Stanford ...

Volume 3: General-Purpose and System Instructions - Stanford ...

Volume 3: General-Purpose and System Instructions - Stanford ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

AMD64 Technology 24594 Rev. 3.10 February 2005CLTSClear Task-Switched Flag in CR0Clears the task-switched (TS) flag in the CR0 register to 0. The processor sets the TSflag on each task switch. The CLTS instruction is intended to facilitate thesynchronization of FPU context saves during multitasking operations.This instruction can only be used if the current privilege level is 0.See “<strong>System</strong>-Control Registers” in <strong>Volume</strong> 2 for more information on FPUsynchronization <strong>and</strong> the TS flag.Mnemonic Opcode DescriptionCLTS 0F 06 Clear the task-switched (TS) flag in CR0 to 0.Related <strong>Instructions</strong>LMSW, MOV (CRn)rFLAGS AffectedNoneExceptionsException<strong>General</strong> protection,#GPRealVirtual8086 Protected Cause of ExceptionX X CPL was not 0.302 CLTS

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!