Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/20/04 06:01
Read: times


 
#68863 - RE: Implementing CRC 16 in C
Responding to: ???'s previous message
Russell Bull said:
There are two main methods for CRC generation/checking: table driven or looped. Table driven is faster but chews up memory due to the table whereas looped is smaller but executes slower.

Additionally, if the CRC is of the X16 + X12 + X5 + 1 variety, there is a straightforward bytewise direct calculation means (8 bits a time like the table implementation) that compiles down to around 30 instructions, which interestingly, is less than an assembly language version of the same published by Keil on their website.



List of 5 messages in thread
TopicAuthorDate
Implementing CRC 16 in C            01/01/70 00:00      
   RE: Implementing CRC 16 in C            01/01/70 00:00      
   RE: Implementing CRC 16 in C            01/01/70 00:00      
      RE: Implementing CRC 16 in C            01/01/70 00:00      
   RE: Implementing CRC 16 in C            01/01/70 00:00      

Back to Subject List