汇编语言中的@和$是什么意思啊?

2024-10-29 13:34:12
推荐回答(3个)
回答1:

@@是标号,pop ebx这条指令的标号
比如需要跳转到这条指令时,可以用LJMP @@或SJMP @@
@b是指间接地址

回答2:

楼主给出的汇编语言,是80x86系列CPU的32位的汇编语言。
楼上,回答者 yyh001123 解释的汇编:LJMP、SJMP,是单片机8031的汇编语言。
俩人说的不是一档子事。

回答3:

算了,我来回答,本来很简单的问题,搞出这么多的花样。以下是直接从masm 6.1文档摘录出来的:

Use two at signs (@@) followed by a colon (:) as an anonymous label. To jump to the nearest preceding anonymous label, use @B (back) in the jump instruction’s operand field; to jump to the nearest following anonymous label, use @F (forward) in the operand field.

The jump in the following example targets an anonymous label:

jge @F
.
.
.
@@:

The items @B and @F always refer to the nearest occurrences of @@:, so there is never any conflict between different anonymous labels.
---------------------------