>>I need to attach checksums to strings outgoing, and check checksums attached >>to strings received. >For Error Detection purposes, I assume. You're concerned about bit errors, >error bursts, etc. (is it a noisey link or a relatively good link?) It's a good link - but I have to conform to a given spec to communicate with a machine. (The format is Sony 9-pin serial format for professional vtr's) >>The checksum being the sum of all the data '1' s in the bytes of the string. >You sure? No - the book says "The checksum is the sum of the data (D0 to D7) contained in each data word from the first to the last data word before Checksum." The checksum is one byte long, so I assumed it would be the sum of all the data 1's - the data is typically 5 or 6 bytes long. Apologies for drifting slightly off topic Jim