Mips 多词对象中的大端与小端

Mips 多词对象中的大端与小端,mips,endianness,memory-address,mips32,Mips,Endianness,Memory Address,Mips32,我知道单字(4字节)变量(如Int32)中大端和小端的区别。 我想知道我们是否有多个单词变量或对象(例如,两个单词变量Int64),具有以下数据,格式为Little Endianness: -----------------> Lower Memory Address to Higher Memory Address b0 b1 b2 b3 |b4 b5 b6 b7 (b means byte) word0 |word1 -----------------> 从较低的内存地址到较高的

我知道单字(4字节)变量(如Int32)中大端和小端的区别。 我想知道我们是否有多个单词变量或对象(例如,两个单词变量Int64),具有以下数据,格式为Little Endianness:

-----------------> Lower Memory Address to Higher Memory Address b0 b1 b2 b3 |b4 b5 b6 b7 (b means byte) word0 |word1 -----------------> 从较低的内存地址到较高的内存地址 b0 b1 b2 b3 | b4 b5 b6 b7(b表示字节) 字0 |字1 以下哪种结构是大端性存储在内存中的方式?(我们的内存为32位带宽,字节可寻址,字可访问,体系结构为MIPS) 结构1:

-----------------> Lower Memory Address to Higher Memory Address b3 b2 b1 b0 |b7 b6 b5 b4 word0 |word1 -----------------> 从较低的内存地址到较高的内存地址 b3 b2 b1 b0 | b7 b6 b5 b4 字0 |字1 结构2:

-----------------> Lower Memory Address to Higher Memory Address b7 b6 b5 b4 |b3 b2 b1 b0 word0 |word1 -----------------> 从较低的内存地址到较高的内存地址 b7 b6 b5 b4 | b3 b2 b1 b0 字0 |字1
当我问一位教授时,结构1似乎是正确的答案。

当我问一位教授时,结构1似乎是正确的答案