Hi, Dave Dribin wrote: >Hmm.. I'm all ears. I don't understand that code for the life of me, >so I can't even begin to figure out what's wrong. I'm currently in >the middle of trying to understand and rework Ashley Roll's code: > > http://www.digitalnemesis.com/ash/projects/EmbeddedCRC16/default.htm > >It doesn't use a reflected table, so I'm trying to get it work with a >reflected CRC. :) then you'll like the snippet Scott did (same poly as Ashley's code): http://www.infosite.com/~jkeyzer/piclist/2002/May/0966.html 17 instructions, hard to beat /Tony -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads