Page 16 - bg2
P. 16
Representasi Desimal: 12345
Biner: 0011 0000 0011 1001
Integer Heksa: 3 0 3 9
int A = 12345; Linux C Alpha C Sun C
int B = -12345; 39 39 00
long int C = 12345; 30 30 00
00 00 30
00 00 39
Linux/Alpha B Sun B Linux/Alpha B Sun B 00
39 00 C7 FF 00
30 00 CF FF 00
00 30 FF CF 00
00 39 FF C7
Representasi two’s complement