我觉得这是一件相对容易的事,但我不知道该怎么做。对于我的任务,你不能使用结构化控制命令(If - Then - Else - Endif; If - Then - Endif)。所以我必须使用分支。下面是我一直在使用来检查字符范围(A0包含我检查字符串结尾的地址,D0是字符串的长度) str_chk MOVE.B -(A0),D1 ; get current character from me
间接寻址的工作,我有这样的代码: 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