Keil™, An ARM® Company

LX51 User's Guide

NOAJMP Linker Directive

Abbreviation

NOAJ

Arguments

None.

Default

AJMP or LJMP instructions are used in the inter-bank jump table depending on table size.

µVision

Options — LX51 Misc — Misc Controls.

Description

The NOAJMP directive prevents the use of AJMP instructions in the inter-bank jump table.

By default, the linker generates an inter-bank jump table for code banking programs. The jump table is used for jumps or calls between functions in different code banks. Normally, AJMP or LJMP instructions are used depending on the size of the table.

Note

  • This directive is required for 8051 derivatives that do not support the AJMP instruction.
Example
LX51 MYPROG.OBJ NOAJMP