The ROMS Directive
10-19
Hex Conversion Utility Description
10.5.2 An Example of the ROMS Directive
The ROMS directive in Example 10–1 shows how 16K words of 16-bit memory
could be partitioned for four 8K
8-bit EPROMs.
Example 10–1. A ROMS Directive Example
infile.out
–image
–memwidth 16
ROMS
{
EPROM1: org = 04000h, len = 02000h, romwidth = 8
files = { rom4000.b0, rom4000.b1 }
EPROM2: org = 06000h, len = 02000h, romwidth = 8,
fill = 0FFh,
files = { rom6000.b0, rom6000.b1 }
}
In this example, EPROM1 defines the address range from 4000h through
5FFFh. The range contains the following sections:
This section
Has this range
.text
4000h through 487Fh
.data
5B80H through 5FFFh
The rest of the range is filled with 0h (the default fill value). The data from this
range is converted into two output files:
-
rom4000.b0 contains bits 0 through 7
-
rom4000.b1 contains bits 8 through 15
EPROM2 defines the address range from 6000h through 7FFFh. The range
contains the following sections:
This section
Has this range
.data
6000h through 633Fh
.table
6700h through 7C7Fh
The rest of the range is filled with 0FFh (from the specified fill value). The data
from this range is converted into two output files:
-
rom6000.b0 contains bits 0 through 7
-
rom6000.b1 contains bits 8 through 15
Содержание TMS320C54x
Страница 38: ......
Страница 39: ......
Страница 40: ......
Страница 41: ......
Страница 42: ......
Страница 43: ......
Страница 44: ......
Страница 45: ......
Страница 46: ......
Страница 47: ......
Страница 48: ......
Страница 49: ......
Страница 50: ......
Страница 51: ......
Страница 52: ......
Страница 53: ......
Страница 54: ......
Страница 55: ......
Страница 56: ......
Страница 57: ......
Страница 58: ......
Страница 59: ......
Страница 60: ......
Страница 61: ......
Страница 62: ......
Страница 276: ......
Страница 277: ......
Страница 278: ......
Страница 279: ......
Страница 280: ......
Страница 281: ......
Страница 282: ......
Страница 283: ......
Страница 284: ......
Страница 285: ......
Страница 286: ......
Страница 287: ......
Страница 288: ......
Страница 289: ......
Страница 290: ......
Страница 291: ......
Страница 292: ......
Страница 293: ......
Страница 294: ......
Страница 295: ......
Страница 296: ......
Страница 297: ......
Страница 298: ......
Страница 299: ......
Страница 300: ......
Страница 301: ......
Страница 302: ......