标签: assembly x86-16 emu8086
array db 4, 2, 3 ; declaring an array mov al, array[0] ; moving the first element of the array to the ax register
在 emu8086 中执行此代码后,al的最终值为2
答案 0 :(得分:0)
确保将数组的空间放在此数据部分中。照原样,CPU尝试将array的内容作为代码执行,导致毫无意义的结果。
array