展开全部
$表示本句汇编程序的起始地址
R2不为0则跳转到这句开头,即继续判断R2,直到R2为0才能继续下面的程序~
R2不为0则跳转到这句开头,即继续判断R2,直到R2为0才能继续下面的程序~
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
希望这次你会选择我:
看下面的语句你就明白了:
D3: DJNZ R7,$
等效
D3: DJNZ R7,D3
http://zhidao.baidu.com/question/143609440.html
看下面的语句你就明白了:
D3: DJNZ R7,$
等效
D3: DJNZ R7,D3
http://zhidao.baidu.com/question/143609440.html
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
$ is the address of the *current* instruction.
The DJNZ and JR instructions take an address as their destination, not an offset. If you need to use an offset, do sums on $. Note that $ is the address of the *current* instruction. The offset needs to be calculated from the address of the *next* instruction, which for these instructions is always $ + 2.
The DJNZ and JR instructions take an address as their destination, not an offset. If you need to use an offset, do sums on $. Note that $ is the address of the *current* instruction. The offset needs to be calculated from the address of the *next* instruction, which for these instructions is always $ + 2.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
$:当前位置计数器,表示当前位置的偏移地址。
e.g. DATA SEGMENT
ST DB 'ABC'
COUNT EQU $
SDATA ENDS
这里应该是COUNT = 0x003,因为A的偏移地址为0,B的偏移地址为1。。。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询