文件名称:7-3
介绍说明--下载内容均来自于网络,请自行研究使用
data
array sdword 2 dup(?)
str1 byte "Please input one 32-bit sign number :",0dh,0ah,0
str2 byte "The result is : ",0
align 4
jia1gao sdword 0
jia1 sdword 0
.code
main proc
call clrscr
mov esi,offset array
mov ecx,lengthof array
mov edx,offset str1
push esi
putin:
call writestring-data array sdword 2 dup (?) str1 byte Please input one 32-bit sign number: , 0dh, 0ah, 0 str2 byte The result is: , 0 align 4 jia1gao sdword 0 jia1 sdword 0.codemain proc call clrscr mov esi, offset array mov ecx, lengthof array mov edx, offset str1 push esiputin: call writestring
array sdword 2 dup(?)
str1 byte "Please input one 32-bit sign number :",0dh,0ah,0
str2 byte "The result is : ",0
align 4
jia1gao sdword 0
jia1 sdword 0
.code
main proc
call clrscr
mov esi,offset array
mov ecx,lengthof array
mov edx,offset str1
push esi
putin:
call writestring-data array sdword 2 dup (?) str1 byte Please input one 32-bit sign number: , 0dh, 0ah, 0 str2 byte The result is: , 0 align 4 jia1gao sdword 0 jia1 sdword 0.codemain proc call clrscr mov esi, offset array mov ecx, lengthof array mov edx, offset str1 push esiputin: call writestring
(系统自动生成,下载前可以参看下载内容)
下载文件列表
7-3.asm