BL51: DISABLING AUTOMATIC BANK SWITCHING
Information in this article applies to:
I wish to implement my own bank switching mechanism. How can I disable the automatic bank switching generated by the linker for inter-bank function calls?
Use the NOJMPTAB (abbreviation: NOJT) directive. The linker will no longer modify function calls to jump to the bank switching code.
Using this directive has the following effects on the linker:
You must ensure that the correct bank is selected before making any inter-bank calls or jumps.
You may specify the directive in one of the boxes under the Additional tab in the BL51 Code Banking Linker Options in µVision.
Last Reviewed: Friday, July 15, 2005
of your data.