Article ID: 114473
Article Last Modified on 2/1/2002
CLTS - Clear Task-Switched Flag LMSW - Load Machine Status
HLT - Halt Processor LTR - Load Task Register
LGDT - Load GDT Register MOV CRn - Move Control Register
LIDT - Load IDT Register MOV DRn - Move Debug Register
LLDT - Load LDT Register MOV TRn - Move Test Register
The sensitive instructions in protected mode include:
IN - Input OUTS - Output String
INS - Input String CLI - Clear Interrupt-Enable Flag (IF)
OUT - Output STI - Set IF
The instruction POPF is both IOPL and CPL sensitive. IOPL will only be
changed by POPF when executed at CPL = 0. The interrupt flag (IF) will
only be changed by POPF if executed with CPL <= IOPL. If POPF does not
change IOPL or the interrupt flag due to lack of privilege, no exception
is generated.
CLI - Clear IF POPF - Pop Flags
STI - Set IF INT n - Software Interrupt
PUSHF - Push Flags IRET - Interrupt Return
The CPL = 3 by definition in V86 mode. If IOPL < 3, attempting to execute
V86 mode sensitive instructions will generate a GP exception. The
Windows VMM will trap the GP exception and emulate the instruction in
the VM in which it was originally executed.
100947 Port Trapping in Windows 3.0/3.1
112298 DOCERR: Port I/O with inp() and outp() Fails on Windows NT
Additional query words: 3.10
Keywords: kb16bitonly KB114473