Searching \ for 'LOOKING FOR CHECKSUM ROUTINE' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/method/errors.htm?key=checksum
Search entire site for: 'LOOKING FOR CHECKSUM ROUTINE'.

Truncated match.
PICList Thread
'LOOKING FOR CHECKSUM ROUTINE'
1996\11\13@065125 by HANS BRANDSMA

flavicon
face
Hello everone,

To let my 16c74 communicate with my "jupiter" gps receiver in binairy
format i need to calculate a checksum. With the following mathematics



               ^16  _ 4
 SUM = MODULA 2     \  Word (i)
                    /
                    - i=1

 if sum = -32768 -> checksum = sum
 else checksum = -sum


Is there someone in who has an routine available for it in C or
assembly ?

Thanks in advance.
--------------------------------------------------------
Professional Audio Center / EELA Audio (email: spam_OUTpacTakeThisOuTspameela.nl)
Parmentierweg 3             Phone: +31 40 251 04 84
5657 EH  Eindhoven          Fax  : +31 40 257 04 82
The Netherlands             homepage : http://www.eela.nl
Hans Brandsma (email: .....hansKILLspamspam@spam@eela.nl)

More... (looser matching)
- Last day of these posts
- In 1996 , 1997 only
- Today
- New search...