Motorola M68000 User Manual Page 353

  • Download
  • Add to my manuals
  • Print
  • Page
    / 357
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 352
S-Record Output Format
C-2
MC68000 FAMILY PROGRAMMER’S REFERENCE MANUAL
MOTOROLA
When downloading S-records, each must be terminated with a CR. Additionally, an S-record
may have an initial field that fits other data such as line numbers generated by some time-
sharing systems. The record length (byte count) and checksum fields ensure transmission
accuracy.
C.2 S-RECORD TYPES
There are eight types of S-records to accommodate the encoding, transportation, and
decoding functions. The various Motorola record transportation control programs (e.g.
upload, download, etc.), cross assemblers, linkers, and other file creating or debugging pro-
grams, only utilize S-records serving the programOs purpose. For more information on sup-
port of specific S-records, refer to the userOs manual for that program.
An S-record format module may contain S-records of the following types:
S0 The header record for each block of S-records. The code/data field may con-
tain any descriptive information identifying the following block of S-records.
Under VERSAdos, the resident linkerOs IDENT command can be used to des-
ignate module name, version number, revision number, and description infor-
mation that will make up the header record. The address field is normally zeros.
S1 A record containing code/data and the 2-byte address at which the code/data
is to reside.
S2 A record containing code/data and the 3-byte address at which the code/data
is to reside.
S3 A record containing code/data and the 4-byte address at which the code/data
is to reside.
S5 A record containing the number of S1, S2, and S3 records transmitted in a par-
ticular block. This count appears in the address field. There is no code/data
field.
S7 A termination record for a block of S3 records. The address field may optionally
contain the 4-byte address of the instruction to which control is to be passed.
There is no code/data field.
S8 A termination record for a block of S2 records. The address field may optionally
contain the 3-byte address of the instruction to which control is to be passed.
There is no code/data field.
S9 A termination record for a block of S1 records. The address field may optionally
contain the 2-byte address of the instruction to which control is to be passed.
Under VERSAdos, the resident linkerOs ENTRY command can be used to
specify this address. If this address is not specified, the first entry point speci-
fication encountered in the object module input will be used. There is no code/
data field.
Each block of S-records uses only one termination record. S7 and S8 records are only active
when control is to be passed to a 3- or 4- byte address; otherwise, an S9 is used for termi-
nation. Normally, there is only one header record, although it is possible for multiple header
records to occur.
Page view 352
1 2 ... 348 349 350 351 352 353 354 355 356 357

Comments to this Manuals

No comments