;AddVariables.asm - 第三章实例
.386
.model flat,stdcall
.stack 4096
ExitProcess PROTO ,dwExitCode:DWORD
.data
firstVal DWORD 20002000h
secondVal DWORD 11111111h
thirdVal DWORD 22222222h
sum DWORD 0
.code
main PROC
mov eax,firstVal
add eax,secondVal
add eax,thirdVal
mov sum,eax
INVOKE ExitProcess,0
main ENDP
END main
004.求解两数之和并保存到第三个寄存器中
最新推荐文章于 2022-05-28 18:19:59 发布