The BANKAREA directive specifies the starting and ending
address of the code bank area. The addresses specified should reflect
the actual address space where the code bank ROMs are physically
mapped. All segments assigned to code banks are located within this
address range unless they are defined differently using the
SEGMENTS directive.
Note
If you use 64K code banks and you wish the linker to
automatically size the common area, use of the BANKAREA
directive is not required.
Example
LX51 COMMON{C_ROOT.OBJ}, BANK0{C_BANK0.OBJ},
BANK0{C_BANK0.OBJ}, BANK1{C_BANK1.OBJ},
BANK2{C_BANK2.OBJ} TO MYPROG.ABS &
BANKAREA(8000H,0FFFFH)
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.