6. Translation Formats6-28 UniSite-xpi User ManualMotorola EXORmacs Format, Code 87Motorola data files may begin with an optional sign-on record, initiatedby the start characters S0. Data records start with an 8- or 10-characterprefix and end with a 2-character suffix. Figure 6-14 shows a series ofMotorola EXORmacs data records.Each data record begins with the start characters S1 or S2: S1 if thefollowing address field has 4 characters, S2 if it has 6 characters. The thirdand fourth characters represent the byte count, which expresses thenumber of data, address, and checksum bytes in the record. The addressof the first data byte in the record is expressed by the last 4 characters ofthe prefix (6 characters for addresses above hexadecimal FFFF). Databytes follow, each represented by 2 hexadecimal characters. The numberof data bytes occurring must be 3 or 4 less than the byte count. The suffixis a 2-character checksum, the one’s complement (in binary) of thepreceding bytes in the record, including the byte count, address, and databytes.The end-of-file record begins with an S9 start character. Following thestart characters are the byte count, the address, and a checksum. Themaximum record length is 250 data bytes.Figure 6-14An Example of Motorola EXORmacs FormatS214FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCS00B00004441544120492F4FF3S1130010FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFECS1130020FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDCS1130030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCCS1130040FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBCS9030000FCStartCharacterByte CountChecksumAddressEnd-of-File RecordOptional Sign-On RecordDataRecordsLEGENDNonprinting Carriage Return, line feed, and nulls determined by null count 0086-3ChecksumChecksum