From mboxrd@z Thu Jan 1 00:00:00 1970 From: cowan@mercury.ccil.org (John Cowan) Date: Fri, 11 Dec 2015 20:50:04 -0500 Subject: [TUHS] why is sum reporting different checksum's between v6 and v7 In-Reply-To: <20151212012257.3740418C0AA@mercury.lcs.mit.edu> References: <20151212012257.3740418C0AA@mercury.lcs.mit.edu> Message-ID: <20151212015004.GA15143@mercury.ccil.org> Noel Chiappa scripsit: > I have this bit set that in C, 'char' is defined to be signed, If you mean in PDP-11 C, you're right, char is signed precisely because MOVB sign extends. In C in general, char's signedness is undefined. Similarly the signedness of a bitfield is undefined, which means that the portable range of a 1-bit field is just 0, though there is another value that might be +1 or -1. -- John Cowan http://www.ccil.org/~cowan cowan at ccil.org Eric Raymond is the Margaret Mead of the Open Source movement. --Bruce Perens, a long time ago