【发布时间】:2014-10-30 14:17:10
【问题描述】:
我有这个代码:
loop2
move.b (a4)+,d3 * moving the morse code array input to d3
muls #5,d3
add.b $d3(a6),d3 * moving the character in morse code array to d4
move.b d3,d4
cmp.b #dot,d4
在这里,我正在访问一个从a4 开始的数组。我正在获取数组的一个元素并将其乘以 5 以移动到我拥有所需元素的内存位置。
a6表示包含某个字符的数组的起点。
声明$d3(a6),d3 wokrs 但代码出错
我知道代码 d3(a6),d3 应该是正确的,但它显示了一个错误。我该怎么做?
【问题讨论】: