SLAU131V October 2004 – February 2020
infile.out
--image
--memwidth 16
ROMS
{
EPROM1: org = 0x4000, len = 0x2000, romwidth = 8
files = { rom4000.b0, rom4000.b1}
EPROM2: org = 0x6000, len = 0x2000, romwidth = 8,
fill = 0xFF00,
files = { rom6000.b0, rom6000.b1}
}
The map file (specified with the --map option) is advantageous when you use the ROMS directive with multiple ranges. The map file shows each range, its parameters, names of associated output files, and a list of contents (section names and fill values) broken down by address. Example 2 is a segment of the map file resulting from the example in Example 1.