I believe you just treat the final result as a 16 bit integer (word) and add
1 to this result.

Myles.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 02, 2000 3:10 PM
To: Multiple recipients of list delphi
Subject: [DUG]: CRC Checks


Hi all,

Help...

Does anyone know how to create a Table for calculating a 16-Bit CRC using
the
Polynomial:  X^16 + X^15 + X^2 + 1

I have a Table for calculating a 16-*Bit CRC using the Polynomial:  X^16 +
X^15
+ X^2 + X^1

We need to convert the table from using  X^16 + X^15 + X^2 + X^1 to using
X^16
+ X^15 + X^2 + 1 - (Our App talks to a mainframe App which uses this CRC)

TIA

Regards
Paul



---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to