Hi There

Do someone have a CRC CCITT for use with XModem?
I have a CRC-16 from Dallas and it is very fast,
but has someone converted it to CCITT? Dallas have,
but I don't know how to contact them. The guy that
made this is Jon Buller and the CRC-16 code is

crc16:
      push acc
      xrl a,lo
      mov lo,hi
      mov hi,a
      mov c,p
      jnc crc0
      xrl lo,#01h
crc0:
      rrc a
      jnc crc1
      xrl lo,#40h
crc1:
      mov c,acc.7
      xrl a,hi
      rrc a
      mov hi,a
      jnc crc2
      xrl lo,#80h
crc2:
      pop acc
      ret


This code will calculate x^16+x^15+x^2+1, but I need the code for
calculating x^16+x^12+x^5+1.

I would be glad for any help.

Kind regards

Claus Mortensen
Denmark


