Built-in Assembler Jump Optimization
The built-in assembler optimizes jump instructions by automatically selecting the most efficient form of a jump instruction.
When the target is a label (not a procedure or function), this automatic jump sizing applies to JMP and to all conditional jump instructions.
Opcode Distance to Target Label Built-in Assembler Generates
JMP Within -128 to 127 bytes
NOT within -127 to 128 bytes
Conditional Within -128 to 127 bytes Short jump
Jumps NOT within -127 to 128 bytes
Jumps to the entry points of procedures and functions are always either near or far, but never short.
Conditional jumps to procedures and functions are not allowed.