| |||||||||||||||||||||||||
Technical Support On-Line Manuals BL51 User's Guide | Using a Target MonitorPrograms you test using MON51 or MON390 may require relocation to a new starting address. Typically, this requires that you:
In many cases, the monitor program resides at the beginning of memory (from 0x0000 to about 0x1000 in code space). Additionally, some XDATA memory is cleverly mapped as CODE memory (creating a pseudo-von Neumann architecture). There are two tasks for linker when linking such programs:
The following table lists the memory map for the target system.
The CODE memory available to the test program is 0x8000-0xFEFF. The XDATA memory available to the test program is 0x0000-0x7FFF. So, the linker command line should appear as:
BL51 MYCODE.OBJ &
RAMSIZE(128) &
CODE(0x8000-0xFEF) &
XDATA(0x0000-0x7FFF)
| ||||||||||||||||||||||||
| |||||||||||||||||||||||||