CRC-7 code

Hi,
Could anyone provide me with C or ASM code that calculates CRC-7(The poly is x^7+x^6+x^4+1).

Regards

More questions in this forum