Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Local Code Labels
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   [instruction] @F
                .
                .
                .
            @@: [statement]
                .
                .
                .
                [instruction] @B
 
  See also: B Radix Override, LABEL, Colon(:)
 
  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
                                    -♦-