972
edits
[unchecked revision] | [unchecked revision] |
m (Style) |
m (Bot: Replace deprecated source tag with syntaxhighlight) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 13:
This example loads a descriptor table into the processor's GDTR register, and then sets the lowest bit of CR0:
<
cli ; disable interrupts
lgdt [gdtr] ; load GDT register with start address of Global Descriptor Table
Line 26:
PModeMain:
; load DS, ES, FS, GS, SS, ESP
</syntaxhighlight>
==See Also==
Line 34:
===External Links===
*http://www.osdever.net/tutorials/view/the-world-of-protected-mode - very good tutorial on how
*[http://www.nondot.org/sabre/os/articles/ProtectedMode/ OSRC: protected mode]
*http://home.swipnet.se/smaffy/asm/info/embedded_pmode.pdf - pragmatic tutorial on protected mode ([http://web.archive.org/web/20030604185154/http://home.swipnet.se/smaffy/asm/info/embedded_pmode.pdf Cached copy])
*http://www.brokenthorn.com/Resources/OSDev8.html
*[[Wikipedia:Protected_mode|Protected mode Wikipedia page]]
*http://members.tripod.com/protected_mode/alexfru/pmtuts.html - PMode tutorials in C & Asm
[[Category:X86 CPU]]
|