Hey I am trying to create a assembly program to do CRC. So it accepts user input, runs it threw CRC and give it back. Can anyone give me any hints on how to do this in ASM

Recommended Answers

All 3 Replies

Exactly how you described it.

The algorithm remains the same as if you were implementing it in say C. The only difference is that it takes many more keystrokes to do because the program will be longer to develop and test.

First question is to ask yourself, what exactly does a CRC do. Although wikipedia is not exactly the safest source of information it is usually for the msot part reliable with topics like this.
http://en.wikipedia.org/wiki/Cyclic_redundancy_check
That said figuring out how the CRC makes its number is the hard part, then implenting it in code!

I wish I could help you more but I dont know much about CRC, nor am I an expert in assembly.

ok thank you, yea i was having trouble trying to figure out the number

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.