Home
last modified time | relevance | path

Searched refs:chksum (Results 1 – 1 of 1) sorted by relevance

/toolchain/binutils/binutils-2.25/bfd/
Dihex.c285 unsigned int chksum; in ihex_scan() local
330 chksum = len + addr + (addr >> 8) + type; in ihex_scan()
332 chksum += HEX2 (buf + 2 * i); in ihex_scan()
333 if (((- chksum) & 0xff) != (unsigned int) HEX2 (buf + 2 * i)) in ihex_scan()
338 (- chksum) & 0xff, (unsigned int) HEX2 (buf + 2 * i)); in ihex_scan()
723 unsigned int chksum; in ihex_write_record() local
736 chksum = count + addr + (addr >> 8) + type; in ihex_write_record()
741 chksum += *data; in ihex_write_record()
744 TOHEX (p, (- chksum) & 0xff); in ihex_write_record()