|ARM Technical Support Knowledge Articles|
Applies to: BL51 Code-banking Linker/Locator
Information in this article applies to:
What is the starting address that 8051 linker uses to locate variables in RAM?
If 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.
Article last edited on: 2005-07-15 10:15:54
Did you find this article helpful? Yes No
How can we improve this article?