在Visual Studio中,调试汇编语言代码时是否可以查看数组的内容?我已经知道如何将数组添加num
到“观察”窗口,但我仍在试图弄清楚如何观察数组的内容。可以将sword
数组添加到 Visual Studio 中的“观察”窗口,但是否可以在单步执行程序时查看数组的内容?
.686p
.model flat,stdcall
.stack 2048
.data
num sword 1000,-1000,2000,-2000 ;I want to keep track of each value in this array while debugging.
;Is it possible to display the contents of all indices of num while debugging?
ExitProcess proto, exitcode:dword
.code
start:![Lots of ?'s are showing up here instead of the actual value of the array][1]
mov ax, num;
mov ax, [num+1];
invoke ExitProcess, 0
end start