6. Translation FormatsUniSite-xpi User Manual 6-23MOS Technology Format, Code 81The data in each record are sandwiched between a 7-character prefix anda 4-character suffix. The number of data bytes in each record must beindicated by the byte count in the prefix. The input file can be dividedinto records of various lengths.Figure 6-9 shows a series of valid data records. Each data record beginswith a semicolon. The programmer will ignore all characters receivedprior to the first semicolon. All other characters in a valid record must bevalid hexadecimal digits (0-9 and A-F). A 2-digit byte count follows thestart character. The byte count, expressed in hexadecimal digits, mustequal the number of data bytes in the record. The byte count is greaterthan zero in the data records, and equals zero (00) in the end-of-filerecord. The next 4 digits make up the address of the first data byte in therecord. Data bytes follow, each represented by 2 hexadecimal digits. Theend-of-file record consists of the semicolon start character, followed by a00 byte count, the record count, and a checksum.The checksum, which follows each data record, is a 2-byte binarysummation of the preceding bytes in the record (including the addressand byte count), in hexadecimal notation.Figure 6-9An Example of MOS Technology Format;100000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1000;100010FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1010;100020FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1020;100030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1030;100040FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1040;0000050005Sumcheck of record includingdata, address and byte countData RecordsEnd-of-File RecordRecord Count SumcheckStart CharacterByte CountAddress FieldLEGENDNonprinting Carriage Return, line feed,and nulls determined by null count 0081-2