Integer and long
Even in x86-64, double words are still considered as default word size. x86 and and x86-64 C-Compiler use double words as signed and unsigned integers, Java integers as well. Microsoft 64 bit compiler long is a 32-bit Double word as well, while with 64-bit GCC uses 64-bit Quad Words as longs.
typedef unsigned int DWORD;
|C, C++||unsigned int||0||4,294,967,295|
| C, C++,
Double Words stored in memory should be stored at byte addresses divisible by four. Otherwise at runtime it will cause a miss-alignment exception on some processors, or a huge penalty on others.
Main article: Endianness.
- Dword, Qword, and Oword from Wikipedia
- Byte from Wikipedia
- Endianness from Wikipedia
- Understanding Big and Little Endian Byte Order
- DAV's Endian FAQ - ON HOLY WARS AND A PLEA FOR PEACE by Danny Cohen