
6个回答
意法半导体(中国)投资有限公司
2023-06-12
展开全部
就是表示本指令的地址。
例如jmp
$
就是代表,不断跳回本指令。也就是一种预设的死循环。
欢迎追问~
例如jmp
$
就是代表,不断跳回本指令。也就是一种预设的死循环。
欢迎追问~

2023-06-12 广告
代表当前的指令所在的地址 举个例子来说,在050H处定义了几个字节数据 050H:01H,02H,03H,04H 那么下一条指令的地址应该为054H,若下一条语句为 COUNT EQU $-050H,则COUNT就等于4(054H-050H...
点击进入详情页
本回答由意法半导体(中国)投资有限公司提供
展开全部
$表示本句汇编程序的起始地址
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。。。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询