Article View: comp.std.c
Article #745Re: sizeof in 36-bits machines
From: Wm E Davidsen Jr
Date: Fri, 13 Oct 1989 20:47
Date: Fri, 13 Oct 1989 20:47
16 lines
1316 bytes
1316 bytes
In article <272@ssp1.idca.tds.philips.nl>, dolf@idca.tds.PHILIPS.nl (Dolf Grunbauer) writes: | Assuming a 36-bit integer (e.g. DEC-10 :-) and 8-bit bytes, what should | `sizeof(int)' return: 4, 4.5 or 5 ? The answer is that you have made contradictory assumptions. The size of a byte on a 36 bit machine is 9 bits (at least on the Honeywell is was). There ARE machines on which the size of a word in bits is not a multiple of the hardware addressable byte, but all of the 36 bit machines I've used did 9 bit bytes. There may well be exceptions. -- bill davidsen (davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen) "The world is filled with fools. They blindly follow their so-called 'reason' in the face of the church and common sense. Any fool can see that the world is flat!" - anon
Technical Details
Message-ID:
<1078@crdos1.crd.ge.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!rpi!crdgw1!crdos1!davidsenReferences:
<272@ssp1.idca.tds.philips.nl>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!rpi!crdgw1!crdos1!davidsen From: davidsen@crdos1.crd.ge.COM (Wm E Davidsen Jr) Newsgroups: comp.std.c Subject: Re: sizeof in 36-bits machines Summary: Assuming a contradiction Message-ID: <1078@crdos1.crd.ge.COM> Date: 13 Oct 89 20:47:13 GMT References: <272@ssp1.idca.tds.philips.nl> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Organization: GE Corp R&D Center Lines: 16