Memory Models

Tim_CDC_Roberts at cup.portal.com Tim_CDC_Roberts at cup.portal.com
Wed Aug 16 02:09:56 AEST 1989


I read here not too long ago that several folks had implemented C compilers
for the CDC Cyber series in 170 state, which has 60-bit words with no
byte addressing.  Could someone involved in one of these compilers please
post or e-mail a message describing what kind of "memory model" you used?
For example, did you make char = int = long = 60-bits and waste 54 bits 
for chars, or did you make char = (6 bits) and sizeof(int) = 10, and do
some horrendous shift-and-masking to perform conversions?

Inquiring minds want to know.

Tim_CDC_Roberts at cup.portal.com                | Control Data...
...!sun!portal!cup.portal.com!tim_cdc_roberts |   ...or it will control you.



More information about the Comp.lang.c mailing list