corrected endian for size of word or dword