我正在学习汇编语言 (m68000)。
我不明白以下语法
move.l p, -(A3)
这和下面有什么区别?
move.l p, (A3)
最佳答案
它们是地址寄存器间接寻址模式的不同版本,但是,第一个具有预减量。
This addressing mode specifies the operand in memory, the address of which is specified by one of the address registers. Before the operand is used, the value in the address register is decremented according to the size of the operand.
因此,示例中的不同之处在于,存储在 A3
寄存器中的地址将在 之前递减
被复制到其中。4
(操作数的大小,长字) >p
关于汇编语言 move.l p, -(A3),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15801424/