Table of Contents        Previous topic       Next topic       

LINKER->Linker Command Line Options->Place Program Code in External RAM (/NOROM)

This option forces the linker to place the program code in external ram.  (The limits specified by the /XRAM option are then used to determine available code and external data memory.)

The program code and external data occupy the same address space with this option.

In order to allow breakpoints to be placed anywhere within the program, the linker ensures that there is at least two bytes of space between the code and data.  A monitor program can then replace a single byte instruction with a three byte CALL without fear of corrupting any program data.