x86 CPU:MSVC(2010)
在下面的代码中是什么EXTRN _printf:PROC意思,为什么在“ :”之后我们使用一些“ PROC”指令而不是“ near”或“ far”?
CONST SEGMENT
$SG3830 DB 'hello, world', 0AH, 00H
CONST ENDS
PUBLIC _main
EXTRN _printf:PROC <- what is this funct?!
_TEXT SEGMENT
_main PROC
push ebp
mov ebp, esp
push OFFSET $SG3830
call _printf
add esp, 4
xor eax, eax
pop ebp
ret 0
_main ENDP
_TEXT ENDS