Keil™, An ARM® Company

Technical Support

BL51: LOCATING FUNCTIONS IN CODE BANKING PROGRAMS


Information in this article applies to:

  • C51 All Versions

QUESTION

How do I locate functions in a code banking program at different addresses in a code bank?

ANSWER

The BANKx directive locates associated program modules or segments in the specified bank x.

  • BANKx {xxx.obj} includes all of xxx.obj in bank X. Note that this form uses the curly braces.
  • BANKX(symbol_name(yyyyH)) locates a symbolic name (usually these begin with ?PR?) at a specific address in bank X. Note that this form of BANKx uses the parentheses.

MORE INFORMATION

  • Refer to Command Prompt in the BL51 User's Guide.
  • Refer to BANKx in the BL51 User's Guide.
  • Refer to the BANK_EX1 code banking example in the \KEIL\C51\BANK_EX1\ folder.

Last Reviewed: Tuesday, March 27, 2007


Did this article provide the answer you needed?
 
Yes
No
Not Sure