Anonymous user
Protected Mode: Difference between revisions
no edit summary
[unchecked revision] | [unchecked revision] |
m (Some more explanation and cleanup.) |
No edit summary |
||
Line 7:
Whether the CPU is in [[Real Mode]] or in Protected Mode is defined by the lowest bit of the CR0 or MSW register.
This example loads a descriptor table into the processor's GDTR register, and then sets the lowest bit of CR0:
<source lang="asm">
cli ; disable interrupts
|