| ARM Technical Support Knowledge Articles | |
Applies to: C51 C Compiler
Information in this article applies to:
How do I calculate the amount of additional code space if I have a code banking program and I add another code bank?
In most cases, this calculation is simple. It is equal to the size of the bank area. This is usually specified on the linker command line as BANKAREA(0x8000-0xFFFF).
You must also deduct a little space from the common area for inter-bank function calls to routines in the new code bank (typically 8 bytes per function).
Article last edited on: 2004-08-06 11:35:23
Did you find this article helpful? Yes No
How can we improve this article?