[quote]以下是引用appleVinegar在2010-11-4 16:34:12的发言:
.386
.model flat, stdcall
option casemap:none
includelib F:\masm32\lib\msvcrt.lib
printf PROTO C: ptr sbyte,:vararg
.data
szMsg byte "Hello World!", 0ah, 0
.code
start:
invoke printf, offset szMsg
ret
end start
后面有end start啊 !
.386
.model flat, stdcall
option casemap:none
includelib F:\masm32\lib\msvcrt.lib
printf PROTO C: ptr sbyte,:vararg
.data
szMsg byte "Hello World!", 0ah, 0
.code
start:
invoke printf, offset szMsg
ret
end start
后面有end start啊 !