beautypg.com

Intel 253666-024US User Manual

Page 653

background image

Vol. 2A 3-607

INSTRUCTION SET REFERENCE, A-M

MOV—Move to/from Control Registers

If an attempt is made to write invalid bit combinations in CR0

(such as setting the PG flag to 1 when the PE flag is set to 0, or
setting the CD flag to 0 when the NW flag is set to 1).

If an attempt is made to write a 1 to any reserved bit in CR4.
If any of the reserved bits are set in the page-directory pointers

table (PDPT) and the loading of a control register causes the
PDPT to be loaded into the processor.

#UD

If the LOCK prefix is used.

Real-Address Mode Exceptions

#GP

If an attempt is made to write a 1 to any reserved bit in CR4.
If an attempt is made to write invalid bit combinations in CR0

(such as setting the PG flag to 1 when the PE flag is set to 0).

#UD

If the LOCK prefix is used.

Virtual-8086 Mode Exceptions

#GP(0)

These instructions cannot be executed in virtual-8086 mode.

Compatibility Mode Exceptions

#GP(0)

If the current privilege level is not 0.
If an attempt is made to write invalid bit combinations in CR0

(such as setting the PG flag to 1 when the PE flag is set to 0, or
setting the CD flag to 0 when the NW flag is set to 1).

If an attempt is made to write a 1 to any reserved bit in CR3.
If an attempt is made to leave IA-32e mode by clearing

CR4.PAE[bit 5].

#UD

If the LOCK prefix is used.

64-Bit Mode Exceptions

#GP(0)

If the current privilege level is not 0.
If an attempt is made to write invalid bit combinations in CR0

(such as setting the PG flag to 1 when the PE flag is set to 0, or
setting the CD flag to 0 when the NW flag is set to 1).

Attempting to clear CR0.PG[bit 32].
If an attempt is made to write a 1 to any reserved bit in CR4.
If an attempt is made to write a 1 to any reserved bit in CR8.
If an attempt is made to write a 1 to any reserved bit in CR3.
If an attempt is made to leave IA-32e mode by clearing

CR4.PAE[bit 5].

#UD

If the LOCK prefix is used.