[elektro] 8bit->32bit

Info info at kiralyelektronika.hu
Tue May 7 23:13:44 CEST 2013


> Elso korben a bitmező union stb hogyan is alakul? Ha jol remlik ez
> pl "cikis" kategoria...

Big-endian: dword 0x4A3B2C1D
 = 0: 0x4A
   1: 0x3B
   2: 0x2C
   3: 0x1D

Little-endian: dword 0x4A3B2C1D
 = 0: 0x1D
   1: 0x2C
   2: 0x3B
   3: 0x4A

Procifüggő.
Amikor megmondod a fordítónak a proc típusát, ez rögzítődik.



More information about the Elektro mailing list