linux-origin
[Top] [All Lists]

Re: broken compiler?

To: Kanoj Sarcar <kanoj@xxxxxxxxxxxxxxxxxxx>
Subject: Re: broken compiler?
From: Ulf Carlsson <ulfc@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 28 Mar 2000 14:53:38 -0800 (PST)
Cc: linux-origin@xxxxxxxxxxx
In-reply-to: <200003282236.OAA58828@google.engr.sgi.com>
Sender: owner-linux-origin@xxxxxxxxxxx
> Seems like for the mips64 port, though we have big endian format within
> a word, when we do double word operations, the lower addressed word
> holds the contents of the most significant word ... ie, the significance
> is swapped. 
> 
> Is this architecture defined, or is there a register that needs to be
> programmed somewhere?

Read ``Data Formats and Addressing'' in Chapter 1 of the MIPS R4000
Microprocessor User's Manual for example.  Big endian should be big end first,
thus the higher byte has the lower address.

Ulf


<Prev in Thread] Current Thread [Next in Thread>