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.
Force Label Type to SHORT
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   SHORT label
 
  See also: JMP, OPTION LJMP
 
  Description:
 
     Forces <label> type to SHORT. Normally, the assembler selects
     short jumps and branches when possible, but SHORT can be used to
     generate an error if a short jump to <label> is not possible. It
     disables any automatic conditional-jump lengthening (OPTION LJMP).
 
     Short labels can be used in JMP instructions when the distance is
     less than 128 bytes from the start of the next instruction. This
     saves a byte of memory and reduces the number of clock cycles used.
                                    -♦-