CompuServe Messages

16-bit CRC

    24-Jan-92 13:56:14
Sb: #19346-16-bit CRC
Fm: Steve Ahlstrom 76703,2006
To: Vic Wagner 76046,3004
In the B+ code I'm using CRCs are calculated with the table — ie … UWORD Upd_CRC(UWORD value) { crc_16 = crc_table[((crc_16 >> 8) ^ (value)) & 0xff] ^ (UWORD)(crc_16 << 8); return(crc_16); } // Upd_CRC -sja