next up previous
Next: Addressing Modes Up: Description of the Machine Previous: CPU Registers

Byte Order

Processors can number the bytes within a word to make the byte with the lowest numer either the leftmost or rightmost one. The convention used by a machine is its byte order. MIPS processors can operate with either big-endian byte order:

tabular306

or little-endian byte order:

tabular315

SPIM also operates with both byte orders. SPIM's byte order is determined by the byte order of the underlying hardware that is running the simulator. On a DECstation 3100, SPIM is little-endian, while on a HP Bobcat, Sun 4 or PC/RT, SPIM is big-endian.



Mitch Roth
Fri Sep 6 23:25:26 ADT 1996