 | A166 User's Guide |  |
|
|
| SHORT Assembler Operator| Arguments |
SHORT label
| | Description | The SHORT operator generates a short distance branch (-128 to +127 words of the current instruction) to a forward referenced label. In pass two, the assembler checks the branch target to make sure it does not exceed the maximum relative distance. The A166 Assembler is a three-pass assembler. Therefore, it is not necessary to use the SHORT operator in forward references. Pass two of the assembler automatically determines distances and uses the shortest form of the branch instruction (JMPR, CALLR). | | Example |
C100 SECTION CODE
P100 PROC NEAR
JMP LAB
JMP SHORT LAB
LAB: MOV R15,R3
P100 ENDP
C100 ENDS
|
|
|