Re: Help: How to determine big/little endian?

Michael Meissner <meissner@cygnus.com>
Fri, 1 Sep 1995 16:26:54 GMT

          From comp.compilers

Related articles
[6 earlier articles]
Re: Help: How to determine big/little endian? paysan@informatik.tu-muenchen.de (1995-08-21)
Re: Help: How to determine big/little endian? tim@franck.Princeton.EDU (1995-08-25)
Re: Help: How to determine big/little endian? meissner@cygnus.com (Michael Meissner) (1995-08-25)
Re: Help: How to determine big/little endian? cwf@research.att.com (Chris Fraser) (1995-08-25)
Re: Help: How to determine big/little endian? nr@cs.purdue.edu (1995-08-25)
Re: Help: How to determine big/little endian? doug@netcom.com (1995-08-26)
Re: Help: How to determine big/little endian? meissner@cygnus.com (Michael Meissner) (1995-09-01)
Re: Help: How to determine big/little endian? mab@wdl.loral.com (1995-09-01)
Re: Help: How to determine big/little endian? erik@kroete2.freinet.de (1995-09-03)
Re: Help: How to determine big/little endian? daniels@cse.ogi.edu (1995-09-13)
Re: Help: How to determine big/little endian? wdavis@dw3f.ess.harris.com (1995-09-26)
| List of all articles for this month |
Newsgroups: comp.compilers
From: Michael Meissner <meissner@cygnus.com>
Keywords: C, architecture
Organization: Compilers Central
References: 95-08-120 95-09-008
Date: Fri, 1 Sep 1995 16:26:54 GMT

| The interface flag little_endian classifies the target, but
| nothing in the interface classifies the host. LCC classifies the
| host automatically during initialization:


...


I'm aware of at least one current machine, where integer and floats
were of different endian orientations. This means that simple tests
in integer mode don't necessarily carry over to floats.


Also note that immediates in the ns32k must be ordered in a big endian
fashion, even though the chip is little endian.


--
Michael Meissner, Cygnus Support (East Coast)
Suite 105, 48 Grove Street, Somerville, MA 02144, USA
meissner@cygnus.com, 617-629-3016 (office), 617-629-3010 (fax)
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.