Keil Logo

Code Banking

When your application has exhausted the standard 64K code space of the 8051, code banking (or bank switching) can support applications up to 2 MBytes in size (4 MBytes for the LX51 Linker). When you use code banking, your program is divided into multiple banks of code. Each code bank incorporates a common area and the bank area.

The Common Area is always available. It must include the reset vector, the interrupt vectors, the interrupt routines, and C run-time library routines. The common area may include frequently called functions as well.

The Bank Area contains your program's functions.

Refer to the following knowledgebase articles for technical details about code banking.

  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.