我在指向一个地址时遇到了麻烦,并在我的情况下写了一个大小为byte的变量.这给了我错误"错误:无效的有效地址":
mov byte[AX], byte 0x0
经过一些跟踪和错误后,我测试了相同但使用EAX.编译得很好:
mov byte[EAX], byte 0x0
我在这里错过了什么?
x86 assembly nasm addressing-mode x86-16
addressing-mode ×1
assembly ×1
nasm ×1
x86 ×1
x86-16 ×1