| |||||
Technical Support Support Resources
Product Information | C51: CALCULATING CODE SPACE FOR BANK SWITCHINGInformation in this article applies to:
QUESTIONHow do I calculate the amount of additional code space if I have a code banking program and I add another code bank? ANSWERIn 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). SEE ALSOLast Reviewed: Friday, August 06, 2004 | ||||
| |||||