VIPPERでもわかるプログラミングver3
■ このスレッドは過去ログ倉庫に格納されています
0581デフォルトの名無しさん
2005/12/12(月) 17:52:54cli
mov eax, cr0
or eax, 0x01
mov cr0, eax
sti
ret
prot2real:
cli
mov eax, cr0
xor eax, 0x01
mov cr0, eax
sti
ret
msg1 db "I shall go to the protect mode.", 0x0A, '$'
msg2 db "I returned from the protect mode.", 0x0A, '$'
■ このスレッドは過去ログ倉庫に格納されています