Does my AMD-based machine use little endian or big endian?

Posted by Frank on Stack Overflow See other posts from Stack Overflow or by Frank
Published on 2009-06-21T23:00:12Z Indexed on 2010/03/12 23:27 UTC
Read the original article Hit count: 426

Filed under:
|
|
|
|

I'm going though a computers system course and I'm trying to establish, for sure, if my AMD based computer is a little endian machine? I believe it is because it would be Intel-compatible.

Specifically, my processor is an AMD 64 Athlon x2.

I understand that this can matter in C programming. I'm writing C programs and a method I'm using would be affected by this. I'm trying to figure out if I'd get the same results if I ran the program on an Intel based machine (assuming that is little endian machine).

Finally, let me ask this: Would any and all machines capable of running Windows (XP, Vista, 2000, Server 2003, etc) and, say, Ubuntu Linux desktop be little endian?

Thank You,
Frank

© Stack Overflow or respective owner

Related posts about little-endian

Related posts about big-endian