User`s manual
DU - Dump S-Records
3-49
3
DU - Dump S-Records
Command Input
DU [PORT] RANGE [TEXT] [ADDR] [OFFSET] [;B|H|W]
Description
The DU command outputs data from memory in the form of
Motorola S-records to a port you specified. If port is not specified,
the S-records are sent to the host port, and the missing port number
must be delimited by two commas.
A size option is allowed only if a COUNT was entered as part of the
RANGE, and defines the units of the COUNT. The default data type
is byte.
The optional TEXT argument is for text that will be incorporated
into the header (S0) record of the block of records that will be
dumped.
The optional ADDR argument is to allow you to enter an entry
address for code contained in the block of records. This address is
incorporated into the address field of the block termination record.
If no entry address is entered, then the address field of the
termination record will consist of zeros. The termination record will
be an S7, S8, or S9 record, depending on the address entered.
Appendix C has additional information on S-records.
You may also specify an optional offset in the OFFSET argument.
The offset value is added to the addresses of the memory locations
being dumped, to come up with the address which is written to the
address field of the S-records. This allows you to create an S-record
file which will load back into memory at a different location than
the location from which it was dumped. The default offset is zero.
Note If an offset is to be specified but no entry address is to
be specified, then two commas (indicating a missing
field) must precede the offset to keep it from being
interpreted as an entry address.