[TUHS] why is sum reporting different checksum's between v6 and v7
cowan at mercury.ccil.org
Sat Dec 12 11:50:04 AEST 2015
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
More information about the TUHS