Built-in Assembler Jump Optimization


 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     Short jump
               NOT within -127 to 128 bytes Near jump
   Conditional Within -128 to 127 bytes     Short jump
   Jumps       NOT within -127 to 128 bytes Short inverse jump

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.

| G+
Код для вставки: :: :: :: ::
Поделиться: // //