Keil Logo

NOJMPTAB Linker Directive

Abbreviation

NOJT

Arguments

None.

Default

The linker automatically generates an inter-bank jump table for code banking programs.

µVision

Options — LX51 Misc — Misc Controls.

Description

The NOJMPTAB directive prevents the linker from creating the inter-bank call table. When this directive is used, the linker does not insert the call table nor does it modify any call instructions to functions in other code banks.

This directive is required when you wish to implement a user-defined bank-switching mechanism. It modifies the behavior of the linker as follows:

  • The bank-switching configuration file, L51_BANK.OBJ, is not required in the linkage.
  • The inter-bank call table is not generated.
  • Addresses of CALL instructions is not modified for banked functions.

When the NOJMPTAB directive is used, the linker generates no warnings if a jump or call is made to another bank. You must ensure that the proper bank is prior to invoking a function in that bank (since the linker no longer automatically selects the bank).

See Also

BANKAREA, IBANKING, NOAJMP, NOINDIRECTCALL

Example
LX51 MYPROG.OBJ NOJMPTAB
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.