我不知道为什么这个程序不能输出
+1 +2 +3 +4
输出是
+4214784 +1967600538 +2130567168 +1638356
我想这是地址,但为什么呢?如何纠正它?
这是我的代码:
include irvine32.inc
.data
matrix dword 1, 2, 3, 4
.code
print proto, m:ptr dword
main proc
invoke print, addr matrix
exit
main endp
print proc, m:ptr dword
mov eax, m[0 * type m]
call writeint
mov eax, m[1 * type m]
call writeint
mov eax, m[2 * type m]
call writeint
mov eax, m[3 * type m]
call writeint
ret
print endp
end main
谢谢你的回答<(__)>