| USE_4_BYTE_FLINE_JUMPS

Previous | Advanced Options of TIGCC | Next

Normal F-Line jumps take 6 bytes, but if they are not pc-relative but relative to the beginning of the program, they can fit into 4 bytes. To activate 4-byte F-Line jumps, put

    #define USE_4_BYTE_FLINE_JUMPS

at the beginning of the program. However, only the internal F-Line emulator supports such jumps, so you need to define `USE_INTERNAL_FLINE_EMULATOR` as well, to make the program install its own handler for Line 1111 jumps.
Note: Since 4-byte F-Line jumps use codes that are otherwise used for ROM calls, this might break applications that are called from the program, if any. However, this is very unlikely, as the two ROM calls used are not defined yet.
This feature uses the linker-specific symbol __ld_use_4byte_fline_jumps.

See also: USE_FLINE_JUMPS, USE_FLINE_ROM_CALLS