Local Code Labels
Syntax: [instruction] @F
.
.
.
@@: [statement]
.
.
.
[instruction] @B
Description:
The @@: label defines a local code label, which is in effect until
the next instance of @@:. The @F and @B operands can be used in
conditional and unconditional jump statements to jump to the next
and previous @@: label respectively.
The @@: label is useful for defining a nearby jump point where a
full label is not appropriate.
Example:
cmp ax, 18h
jg @F
- ;Less than or equal
-
-
@@: ;Greater than
mov cx, 640 ;Set count
@@:
- ;Loop statements
-
-
loop @B ;Loop back
masm开发中@@.@F,@B
最新推荐文章于 2019-11-01 12:56:00 发布