qcenv.hlp (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.
Warning Message
                                                  Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Warning: A5104
     Jump within short distance
 
     A JMP instruction was used to jump to a short label (128 or fewer
     bytes before the end of the JMP instruction, or 127 or fewer
     bytes beyond the instruction). By default the assembler assumes
     that jumps are near (greater than short, but still in one
     segment). If a short jump is encountered, the assembler uses a
     short form of the JMP instruction (2 bytes) rather than the long
     form (3 bytes). You can make your code slightly more efficient by
     using the SHORT operator to specify that a jump is short rather
     than near. For example, using the SHORT operator in the following
     example saves 1 byte of code:
 
              jmp     SHORT there
              .
              .
     there:   .                   ; Less than 127 bytes
                                    -♦-