Page 1 of 1

crc32 ?????

Posted: Sat Apr 01, 2023 6:01 pm
by KevinDA
Good evening, I don't understand well how the crc32 function works.
My RAX has a value of 00000000FFFFFF at the beginning.
On the next line it will look for the value of at address D0B1FF4D which is 0000803F0000000. After the execution my RAX has a value of 0000000096442BF2. I don't understand how it gets this value?

Image

Re: crc32 ?????

Posted: Sat Apr 01, 2023 7:12 pm
by Messy6666
the crc32 instruction is just doing a hardware version of the Cyclic Redundancy Check algorithm.
* only supported by some of the newer Intel processors.
** and not all polynomials are supported by those hardware.

lots of info about the crc32 logarithmic can be found by just a simple search on The Internet.