4. Motorola
4-1 Motorola Exerciser
1 byte data
S TP
L2
L 1 A4 A3 A2 A 1
DO
D1
D2 D3
D4
D5
Dn-1
Dn
Sum2 Sum1
S
(1) (2)
(3)
(4)
(53)
(1) Record mark: ASCII
"S",
HEX
"53"
Indicates
the
start
of
a record.
(2)
Record type: ASCII
"0", "1", "9",
HEX
"30", "31",
"39"
Indicates a record type.
0:
Header record
1:
Data record
9:
End record
(3)
Record digit count: ASCII
Indicates a byte data
count
from
"A4"
(4)
to
"SM1"
(6). Data
is
expressed
in
8 bits, and
is
output
in
two
digits
of
the ASCII code.
(4)
Start address: ASCII
Indicates
the
start address
of
data
to
be
entered. The
address
is
expressed
in
16 bits, and
is
output
in
four
digits
of
the ASCII code. A4 indicates the most signifi-
cant digit.
A4
15 12
11
I
A3
A2
4 3
I
A1
o
(5)
Data: ASCII
Indicates one byte of data
in
two digits of the ASCII
code. The first data indicates the most significant digit.
For
a data
count,
see "record digit
count"
(3).
(6) Check sum: ASCII
This indicates a check sum from
"L2"
(3)
to
"Dn"
(5).
4-2
Motorola Exermax (16 bits)
a)
Header record
Same
as
the exerciser (8 bits).
b)
Data record, 16 bit address range
Same
as
the exerciser.
c)
. End record, 16 bit address range
Same as
the
exerciser.
d)
Data record, 24 bit address range
S 2
LL
AAAAAA DDDDDDDD
u U
L.J
DD
SS
L.J
L-
____
~I
LI
______________
~
1 2 3 4
5
6
(5)
(6) (7)
t
Ignored
(CR, LF, etc)
(1)
Record mark: ASCII
"S"
Indicates
the
start
of
a record.
,
(2)
Record type: ASCII
"2"
Indicates the address range
of
24 bits
of
a data record.
(3) Record digit count: ASCII
Indicates a byte data
count
from the address (4)
to
the
check sum (6).
(4)
Start address: ASCII
Indicates
the
start address
of
data
to
be
entered.
Gives 24 bits
of
address data
in
six digits of the ASCII
code.
(5) Data
Indicates one byte
of
data
in
two digits of the ASCII
code.
(6)
Check sum
Indicates a check sum from the record digit
count
(3)
to
data (5). Data expressed
in
two byte of ASCII code
is
converted
to
one byte
of
the hexadecimal number for
addition. The resulting complement
is
given
in
two digits
ofthe
ASCII code.
e)
Address range
of
24 bits
of
end record
S
8
C7
000000 AAAAAA SS
UUL-JI
II
IL-J
1 7 3 4 8 6
(7) Record mark: ASCII
"7"
Indicates the address range
of
24 bits of
an
end record.
(8) File start address: ASCII
Indicates the start address
of
an
absolute file,
in
six
digits
of
the ASCII code.
53