Hi All, I'm implementing a communications routine between a PC and a 68hc11 via the SCI port. I want to use CRC-16 error checking on the link. The code I have in the 68hc11 is all written in assembler. Does anyone have an example of how to implement this ? I've seen a few examples on the net of how to do it in on a PIC, but not using proper CRC-16. I'd like to use a table based lookup routine, as I would like the quickest routine I can get. Many Thanks Andy |
|
CRC-16 in Assembler ?
Started by ●January 1, 2004
Reply by ●January 1, 20042004-01-01
In a message dated 1/1/04 9:19:51 PM Eastern Standard Time, writes: I'd like to use a table based lookup routine, as I would like the quickest routine I can get. simtel and snippets have the table base crc16 in c |
Reply by ●January 2, 20042004-01-02
Check CRC.MOD found here: http://www.aspisys.com/asm11d84.zip After unzipping with 'create directories' option, it's in SAMPLES\FRAME\OS11 ----- Original Message ----- From: "Andrew Leech" <> To: < > I'm implementing a communications routine between a PC and a 68hc11 > via the SCI port. I want to use CRC-16 error checking on the link. > The code I have in the 68hc11 is all written in assembler. > > Does anyone have an example of how to implement this ? I've seen a > few examples on the net of how to do it in on a PIC, but not using > proper CRC-16. > > I'd like to use a table based lookup routine, as I would like the > quickest routine I can get. > Andy |