User manual

Translation Formats
ProMaster 2500 User Manual D-7
Texas Instruments SDSMAC Format (320), Code 04
Data files in the SDSMAC (320) format consist of a start-of-file record,
data records, and an end-of-file record. See Figure D-2. The format is
used for Texas Instruments’ 320 line of processors. It is very similar to
format 90; the only difference is that the address fields represent 16-bit
data words rather than bytes
Each record is composed of a series of small fields, each initiated by a tag
character. the programmer recognizes and acknowledges the following
tag characters:
0 or Kfollowed by a file header.
7followed by a checksum which the programmer acknowledges.
8followed by a checksum which the programmer ignores.
9followed by a load address which represents a word location.
Bfollowed by 4 data characters (16-bit word).
Fdenotes the end of a data record.
*followed by 2 data characters.
The start-of-file record begins with a tag character and a 12-character file
header. The first four characters are the word count of the 16-bit data
words; the remaining file header characters are the name of the file and
may be any ASCII characters (in hex notation). Next come interspersed
address fields and data fields (each with tag characters). The address
fields represent 16-bit words. If any data fields appear before the first
address field in the file, the first of those data fields is assigned to address
0000. Address fields may be expressed for any data word, but none are
required.
Figure D-2
An Example of TI SDSMAC Format
00028 7FDCFF
90000BFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFF7F400F
90008BFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFF7F3F8F
90010BFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFF7F3FFF
90018BFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFF7F3F7F
90020BFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFF7F3FEF
:
Tag Character
Word Count
Tag Character
Checksum
Tag Character
Filename
End-of-File Record
Load Address
Tag Characters
Data
Records
Checksum
0429-2
LEGEND
Nonprinting Carriage Return, with optional line feed and nulls
determined by null count.