From: "Allison" <ajp166 at bellatlantic.net>
The C data
types only have minimum sizes. Actual sizes are up to the
implementation.
The resulting C data types for a PDP-8 would be 12-bit char, 24 bit
short and int, 36 bit long. As long as limits.h contains the correct
values and the sizeof() operator correctly returns 1, 2 and 3 for the
What about byte as in 6bits. Thats a valid item for PDP-8 as one
intruction BSW swaps accumulator halfs. Also much of the character
IO was 6bit.
Afraid those would have to be user data types, as the C standards require 8
or more bits for "char".
I think they would be useful (even necessary) additions to a "C-like" system
programming language for the PDP-8, though.
Vince