title: Is mars MIPS simulator Big or Little Endian
body: <p>I have to determine if the mars simulator is big or little endian as homework, this seems pretty straightforward at first, but I am having some issues.</p>
  
  <p>First I tried storing 4 bytes in memory with .byte 0, 0, 0, 1, in memory this appears as 0x01000000, so, in reverse order, which seems to indicate that the simulator is little endian, however, when I load the 4 bytes as an integer to a register, what appears in the register is 0x01000000 again, as I understand if it was little endian what would be loaded is 0x00000001.</p>
  
  <p>Also, when storing 4 bytes with .word 1, what is stored is 0x00000001, no bytes reversed this time.</p>
  
  <p>I would like to know whether the simulator is big or little endian, and an explanation to this behaviour</p>