紧急求助如何编写5+3在屏幕输出结果8?
紧急求助如何编写5+3在屏幕输出结果8?
2007-09-19 10:50
2007-09-19 11:05
.386
.model flat,stdcall
option casemap:none
include windows.inc
include user32.inc
include kernel32.inc
includelib user32.lib
includelib kernel32.lib
.const
@szText db '5+3的和:%d',0
@szCaption db '结果',0
.data?
@szNum db 30 dup(?)
.code
start:
xor eax,eax
xor edx,edx
mov eax,3h
mov edx,5h
add eax,edx
invoke wsprintf,addr @szNum,addr @szText,eax
invoke MessageBox,NULL,addr @szNum,addr @szCaption,MB_OK
invoke ExitProcess,NULL
end start

2007-09-19 11:32
2007-09-19 11:39
2007-09-19 11:55
2007-09-19 20:00
2007-09-20 08:49

2007-09-21 18:26
2007-09-26 11:07
2007-09-26 16:21