如何打印数组的所有元素?
INCLUDE Irvine32.inc
.data
list DWORD 10,30,50,70,80,65
listSize = ($ - list) / 4
.code
main PROC
mov eax, 0
mov esi, list
mov ecx, listSize
L1:
mov eax, list[esi * TYPE list]
call WriteInt
call CrlF
inc esi
loop L1
exit
main ENDP
end main
这打印出所有0。我做错了什么,我知道它有些愚蠢但请求帮助。