21,458
社区成员
发帖
与我相关
我的任务
分享
.386
.model flat,stdcall
option casemap:none
;Include定义
include windows.inc
include kernel32.inc
include user32.inc
includelib kernel32.lib
includelib user32.lib
includelib msvcrt.lib
.data?
buf db 50 dup(0)
.data
szMsg db 65,66,67,68,99,97,0
szFormat db "%s%c",0
.code
puts PROTO C :PTR byte
start:
mov ecx,0
Nesx:
push ecx
mov al,byte ptr[szMsg+ecx]
movzx eax,al
push eax
push offset buf
push offset szFormat
push offset buf
call wsprintfA
add esp,10H
pop ecx
inc ecx
cmp ecx,6
jne Nesx
invoke puts,offset buf
invoke ExitProcess,NULL
ret
end start