in reply to hexadecimal division

> LRC computation (Longitudinal CRC computation)

Longitudinal redundancy check and Cyclic redundancy check are similar but not identical.

Please specify which algorithm you are trying to implement, best with a link to some code.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery