首页 新闻 会员 周边

x86 汇编 066h 什么意思?

0
悬赏园豆:10 [已关闭问题] 关闭于 2008-10-09 14:14

先看一段程序 <摘自 /base/boot/Singldr/singldr0.asm, Singularity RDK>

这段代码主要的作用是从real mode跳转到protect mode:

...

...

OPERAND_SIZE_OVERLOAD MACRO
    uint8   066h
ENDM

...

...

    ; push the 16:32 address onto the stack, then "return" to it.
    push    0
    push    Struct_Microsoft_Singularity_BootInfo._Cpu0._GdtPC - Struct_Microsoft_Singularity_BootInfo._Cpu0._GdtNull
    mov     eax, 07b00h + OFFSET BootPhase3
    push    eax
    OPERAND_SIZE_OVERLOAD  ; 这一句什么意思。。。?
    retf

...

...

问题补充: uint8是这么定义的:uint8 TYPEDEF BYTE 编译器用的 masm
Fisher.W的主页 Fisher.W | 初学一级 | 园豆:0
提问于:2008-10-09 13:26
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册