用PIC单片机和Dallas的iButton通讯时,编了段产生和校验CRC的子程序。#include ;------------------------------- cblock 0x20 datBuff:8 ;assign 8 byte data buffer bit_cnt ;bit counting CRC_COUNT ;number of bytes for CRC CRC_RESULT ;CRC resulr crc_temp