Keil™, An ARM® Company

LX51 User's Guide

CODE and CONST

The CODE and CONST memory classes are typically stored in ROM that may be either off-chip or on-chip. The CODE memory class is used for the actual program code while the CONST memory class is used for constant variables declared in code space.

Code Memory

In addition, up to 32 code banks may be use for code banking applications. While these are technically located in code space, they are assigned their own address space.