6. Translation Formats
UniSite-xpi User Manual
6-49
Motorola 32-Bit Format, Code 95
The Motorola 32-bit format closely resembles the Motorola EXORmacs
format, the main difference being the addition of the S3 and S7 start
characters. The S3 character is used to begin a record containing a 4-byte
address. The S7 character is a termination record for a block of S3 records.
The address field for an S7 record may optionally contain the 4-byte
instruction address that identifies where control is to be passed and is
ignored by the programmer. Figure 6-21 shows a sample of the Motorola
32-bit format.
Motorola data files may begin with an optional sign-on record, initiated
by the start characters S0 or S5. Data records start with an 8- or
10-character prefix and end with a 2-character suffix.
Each data record begins with the start characters S1, S2, or S3: S1 if the
following address field has 4 characters, S2 if it has 6 characters, S3 if it
has 8 characters. The third and fourth characters represent the byte count,
which expresses the number of data, address, and checksum bytes in the
record. The address of the first data byte in the record is expressed by the
last 4 characters of the prefix (6 characters for addresses above
hexadecimal FFFF, and 8 characters for addresses above hexadecimal
FFFFFF). Data bytes follow, each represented by 2 hexadecimal
characters. The number of data bytes occurring must be 3, 4, or 5 less than
the byte count. The suffix is a 2-character checksum, the one’s
complement (in binary) of the preceding bytes in the record, including
the byte count, address, and data bytes.
The end-of-file record begins with an S8 or S9 start character. Following
the start characters are the byte count, the address, and a checksum. The
maximum record length is 250 data bytes.
Figure 6-21
An Example of Motorola S3 Format
S00B00004441544120492F4FF3
S31500000000AA55AA55AA55AA55AA55AA55AA55AA55F2
S30D00000010AA55AA55AA55AA55E6
S70500000000FA
Start
Character
Byte Count
Address
Checksum
Optional Sign-On Record
Data
Records
0093-3
Summary of Contents for UniSite-xpi
Page 2: ...981 0014 UniSite Programming System User Manual Also Covering Legacy UniSite Programmers ...
Page 72: ...2 Setup and Installation 2 42 UniSite xpi User Manual ...
Page 134: ...3 Getting Started 3 62 UniSite xpi User Manual ...
Page 238: ...5 Computer Remote Control 5 10 UniSite xpi User Manual ...
Page 296: ...6 Translation Formats 6 58 UniSite xpi User Manual ...
Page 402: ...Keep Current Subscription Service 6 Keep Current ...