S-Record Output Format
MOTOROLA
MC68000 FAMILY PROGRAMMER’S REFERENCE MANUAL
C-3
C.3 S-RECORD CREATION
Dump utilities, debuggers, a VERSAdos resident linkage editor, or cross assemblers and
linkers produce S-record format programs. On VERSAdos systems, the build load module
(MBLM) utility allows an executable load module to be built from S-records. It has a coun-
terpart utility in BUILDS that allows an S-record file to be created from a load module.
Programs are available for downloading or uploading a file in S- record format from a host
system to an 8- or 16-bit microprocessor- based system. A typical S-record-format module
is printed or displayed as follows:
S00600004844521B
S1130000285F245F2212226A000424290008237C2A
S11300100002000800082629001853812341001813
S113002041E900084E42234300182342000824A952
S107003000144ED492
S9030000FC
The module has an S0 record, four S1 records, and an S9 record. The following character
pairs comprise the S-record-format module.
S0 Record:
S0 — S-record type S0, indicating that it is a header record.
06 — Hexadecimal 06 (decimal 6), indicating that six character pairs (or ASCII bytes)
follow.
0000—A 4-character, 2-byte address field; zeros in this example.
48 — ASCII H
44 — ASCII D
52 — ASCII R
1B — The checksum.
First S1 Record:
S1 — S-record type S1, indicating that it is a code/data record to be loaded/verified at
a 2-byte address.
13 — Hexadecimal 13 (decimal 19), indicating that 19 character pairs, representing
19 bytes of binary data, follow.
0000—A 4-character, 2-byte address field (hexadecimal address 0000) indicating
where the data that follows is to be loaded.
Commentaires sur ces manuels