| |||||
Technical Support Support Resources
Product Information | BL51: ACCESSING XDATA MEMORY AT NON-STANDARD ADDRESSESQUESTIONI have used a '138 to decode an 8K RAM at address 2000h to 3FFFh. What's the best way to address that memory? Should I use the _at_ keyword in the C compiler or should I use the linker? ANSWERAccessing this memory is best done using the linker. If you link your program with the following command line: BL51 myprog.obj ... XDATA(2000h) the linker will automatically locate your XDATA variables at 0x2000. MORE INFORMATION
Last Reviewed: Monday, October 16, 2006 | ||||
| |||||