Lines Matching +full:32 +full:- +full:byte
1 /* SPDX-License-Identifier: GPL-2.0+ */
7 /*--------------------------------------------------------------------------
9 * Motorola S-Record Format:
11 * Motorola S-Records are an industry-standard format for
14 * an S4-record containing an address and a symbol.
16 * The extended S-record standard is as follows:
27 * 1 data record with 16-bit address
28 * 2 data record with 24-bit address
29 * 3 data record with 32-bit address
43 * is 4, 6, or 8 characters. Corresponding to a 16-, 24-, or
44 * 32-bit address. The address field for S4 records is
45 * always 32 bits.
50 * one byte in memory.
56 * Is the one's complement of the 8-bit checksum.
75 *--------------------------------------------------------------------------
79 #define SREC_DATA2 1 /* Data Record with 2 byte address */
80 #define SREC_DATA3 2 /* Data Record with 3 byte address */
81 #define SREC_DATA4 3 /* Data Record with 4 byte address */
83 #define SREC_END4 7 /* End Record with 4 byte start address */
84 #define SREC_END3 8 /* End Record with 3 byte start address */
85 #define SREC_END2 9 /* End Record with 2 byte start address */
90 #define SREC_E_BADTYPE -1 /* no valid S-Record */
91 #define SREC_E_NOSREC -2 /* line format differs from s-record */
92 #define SREC_E_BADCHKS -3 /* checksum error in an s-record line */