• MOTOROLA EXORCISER FORMAT, CODE 82
Motorola data files may begin with a sign-on record, which
is initiated by the code SO. Valid data records start with an
8-character prefix and end with a 2-character suffix. Figure
A-11 demonstrates a series of valid Motorola data records.
Each data record begins with the start characters "S1";
the programmer will ignore all earlier characters. The third
INPUT
DATA RECORD
s
B
c
A
A
A
A
H
H
H
H
LEGEND
so
S1
BC
AAAA
HH
cc
START CHARACTERS
BC= Byte Count. The number of data bytes plus 3 (
1
for
checksum and 2 for address) in hexadecimal notation
AAAA = Address of first data byte in record. AAAA in
hexadecimal notation only
HH =One data byte in hexadecimal notation
CC= Checksum. One's complement of binary summation
of preceding bytes in record (including byte count, address,
and data bytes) in hexadecimal notation
This space can be used for line feed, carriage return or
comments
(Beginning of next record)
= Optional Record Start Characters
= Start Characters
=Byte Count
([Data Bytes/Record)
+
3)
= Address of First Data Byte
=Two Hexadecimal Digits (0-9, A-F)
= Checksum of Record (one byte)
and fourth characters represent the byte count, which
expresses the number of data, address and sum-check
bytes in the record. The address of the first data byte in
the record is expressed by the last 4 characters of the
prefix. Data bytes follow, each represented by 2
hexadecimal characters. The number of data bytes
occurring must be three less than the byte count. The
suffix is a 2-character checksum.
SIGN ON RECORD !OPTIONAL!
S(I)
=
Start characters of sign-on record. Except for start characters.
5(1)
record has same format as data record.
END-OF·FILE RECORD
s
9
B
c
A
A
A
A
c
c
START CHARACTERS
Byte Count. BC= 03 in End-of-File Record
Address
Checksum
OUTPUT
NOTES
1)
Number of bytes per record is variable. See Table 3-1.
2)
Each line ends with nonprinting line feed, carriage return
and nulls.
3) Sign-on record may precede data.
2
Hex characters=
1
byte
Data Records
S1BCAAAAHHHHHHHH~HHHHHHHHHHHHHHHHHHHHCC""1
SlBCAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHCC
)~
SlBCAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHCC
SlBCAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHCC
S9BCAAAACC
Figure A-11. Specifications for Motorola Data Files
A-10
10-990-0013
Need help?
Do you have a question about the 298 and is the answer not in the manual?