avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [PATCH] Optimise 1-wire 8-bit CRC calculation


From: Krzysztof Kościuszkiewicz
Subject: [avr-libc-dev] [PATCH] Optimise 1-wire 8-bit CRC calculation
Date: Mon, 17 Nov 2008 22:53:24 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

Hello,

Please consider the following patch. I believe that saving bit 0 of
the __crc register into T is unnecessary, as the LSR instruction will
automatically save the same bit into C.

Regards,
-- 
Krzysztof Kościuszkiewicz
Skype: dr.vee,  Gadu: 111851,  Jabber: address@hidden
"Simplicity is the ultimate sophistication" -- Leonardo da Vinci

Attachment: avr-libc-1wire-crc8.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]