阅读:1558回复:5
请问pci中little endian是什么意思?
比如说int变量a=ox12345678,如果按照little endian模式.
在内存中存放的地址由低到高的顺序存发12,34,56,78. 我的理解是对的吗? |
|
|
沙发#
发布于:2002-11-18 15:54
no! The little end, or lower end, is stored first. The same is true for a four-byte value; for example, 0x12345678 would be stored as (0x78 0x56 0x34 0x12). 别忘给分!! |
|
|
板凳#
发布于:2002-11-18 15:58
0x12345678 would be stored as (0x78 0x56 0x34 0x12).
和我说的\"地址由低到高的顺序存发12,34,56,78\"难道不是一个意思吗? 我觉得是一个意思.所以应该是yes,而不是no. 如果你同意就在回复一次. |
|
|
地板#
发布于:2002-11-18 16:04
0x12345678 would be stored as (0x78 0x56 0x34 0x12). 我给糊涂了。0x78 is stored first,它是放在高地址还是低地址? |
|
|
地下室#
发布于:2002-11-18 16:13
0x78 is first stored at lower address.
yes or no? my answer is yes, and yours? |
|
|
5楼#
发布于:2002-11-18 16:43
yes
|
|
|