|
| NOJMPTAB Linker Directive| Abbreviation | | NOJT | | Arguments | | None. | | Default | | The linker automatically generates an inter-bank jump table for code banking programs. | | µVision | | Options — BL51 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 | |
BL51 MYPROG.OBJ NOJMPTAB
|
Related Knowledgebase Articles |
|