Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. ; set PE bit
  2. mov eax, cr0
  3. or eax, 1
  4. mov cr0, eax
  5. ; far jump (cs = selector of code segment)
  6. jmp cs:@pm
  7. @pm:
  8. ; Now we are in protected mode.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement