CMOS checksum