Re: [DUG] CRC-CC!TT 16

2008-10-30 Thread Rohit Gupta
Eric, I have bunch of CRC routines for various algorithms, converted to Pascal by me years ago. I will see if I can find that one for you. Eric A wrote: I'm looking for code or an understandable algorithm for the CRC-CCITT(16) routine. There's a bunch of code on the net but most don't do it

Re: [DUG] CRC-CC!TT 16

2008-10-30 Thread Rohit Gupta
Eric, found it but not table based. The only one I have that is table based is 32 bit (and that was only because it was too slow otherwise). This should be fast enough at modern speed of cpus. I see that I did this in 1985. Just a word of warning, the other way to do it is to use as

[DUG] CRC-CC!TT 16

2008-10-28 Thread Eric A
I'm looking for code or an understandable algorithm for the CRC-CCITT(16) routine. There's a bunch of code on the net but most don't do it with a table and most of it is in 'C' (not my cup of tea...) I'd prefer a table-based routine if possible for simplicity and speed. Could be either