If you want to do division of one number by another. You might want to consider the use of a binary shift operator. Each shift of a binary number either multiplies or divides the number by two (depending on shift direction).
However, are you sure you are not making your CRC algorithm more complicated than neccessary? it could introduce more errors than the CRC will detect!
One method may be to sum 16bit values together and throw away the carry bit. I sure others could come up with more simple techniques.
If you want to do division of one number by another. You might want to consider the use of a binary shift operator. Each shift of a binary number either multiplies or divides the number by two (depending on shift direction).
However, are you sure you are not making your CRC algorithm more complicated than neccessary? it could introduce more errors than the CRC will detect!
One method may be to sum 16bit values together and throw away the carry bit. I sure others could come up with more simple techniques.