| ||||||||
Technical Support Support Resources Product Information | BL51: STARTING ADDRESS FOR VARIABLES IN RAMInformation in this article applies to:
QUESTIONWhat is the starting address that 8051 linker uses to locate variables in RAM? ANSWERIf RAM means internal data space (DATA, IDATA, BIT), the answer is after the register banks that are used and after any bit variables that have been declared. Refer to:
in the BL51 User's Guide for more information concerning these storage options. If RAM means external data space (XDATA), the answer is at address 0x0000. Note that you can tell the linker where DATA and XDATA begin. So, you can tell the linker that XDATA variables start at 0x8000, for example. Refer to XDATA in the BL51 User's Guide for more information. Last Reviewed: Friday, July 15, 2005 | |||||||
| ||||||||