Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hpfcdc!cunniff From: cunniff@hpfcdc.HP.COM (Ross Cunniff) Newsgroups: comp.sys.hp Subject: Re: 835 word sizes and byte ordering. Message-ID: <5570208@hpfcdc.HP.COM> Date: 8 Jun 89 22:01:04 GMT References: Organization: HP Ft. Collins, Co. Lines: 28 > Can someone send me a brief description of the differences > between the word sizes and byte ordering of the 835 versus the > 350 (m68k)? I may have to port CC and cfront 1.2 to the 835 on > short notice and it cares about such things. There is no difference in word sizes and byte ordering between the S300 and the S800. Alignment, however, is another story (at least as far as the C compilers go): S300 S800 char 1 1 short 2 2 long 2 4 float 2 4 double 2 8 struct 2 Max of individual struct elem alignments Of course, if you don't care about using the standard libc routines, you can ignore these alignments and use your own. > Cliff Beshers > Columbia University Computer Science Department > beshers@cs.columbia.edu Ross Cunniff Hewlett-Packard Colorado Language Lab ...{ucbvax,hplabs}!hpfcla!cunniff cunniff%hpfcrt@hplabs.HP.COM