【发布时间】:2015-10-25 18:52:33
【问题描述】:
我有一个简单的程序,我试图了解如何比较两个地址寄存器,并在 A1 小于或等于 A2 时进行分支
这样:
ORG $8000
START: ; first instruction of program
CMP A2,A1
BLE LOOP ;if A1 is less then or equal to A2, BRANCH
LOOP:
* Put variables and constants here
END START ; last line of source
这是正确的做法吗?如果我改用宏CMPAhere 会怎样,会有所不同吗?
【问题讨论】:
标签: assembly branch memory-address motorola 68000