32bits word 4bytes
tu sbits
ahexadecimals 1by
000isthelowest address
32registers
Storefromlowtohighaddresses
Mostsignificantfirst
BigEndian
littleEndian Leastsignificantfirst
Topic V02
Hexadecimal Notation and
Storing Data in Memory
1
, Hexadecimal
Value Binary Digit Value Binary Digit
0 0000 O0 8 1000 8
8
1 0001 I1 9 1001 99
2 0010 22 10 1010 Aa
3 0011 33 11 1011 Bb
4 0100 44 12 1100 c
5 0101
If5 13 1101 d
6 0110 6 14 1110 e
7 0111 7 15 1111 f
Example: ECA8 6420
1110 1100 1010 1000 0110 0100 0010 0000
2
, Hexadecimal Example
How do you represent the number +1910 in 32-bits?
19 = 16 + 2 + 1 Repeat subtraction
24 2 20
19 = 0000 0000 0000 0000 0000 0000 0001 0011
013
19 = 0x 00000
for hexadecimal
How do you represent the number +1910 in hexadecimal?
3
tu sbits
ahexadecimals 1by
000isthelowest address
32registers
Storefromlowtohighaddresses
Mostsignificantfirst
BigEndian
littleEndian Leastsignificantfirst
Topic V02
Hexadecimal Notation and
Storing Data in Memory
1
, Hexadecimal
Value Binary Digit Value Binary Digit
0 0000 O0 8 1000 8
8
1 0001 I1 9 1001 99
2 0010 22 10 1010 Aa
3 0011 33 11 1011 Bb
4 0100 44 12 1100 c
5 0101
If5 13 1101 d
6 0110 6 14 1110 e
7 0111 7 15 1111 f
Example: ECA8 6420
1110 1100 1010 1000 0110 0100 0010 0000
2
, Hexadecimal Example
How do you represent the number +1910 in 32-bits?
19 = 16 + 2 + 1 Repeat subtraction
24 2 20
19 = 0000 0000 0000 0000 0000 0000 0001 0011
013
19 = 0x 00000
for hexadecimal
How do you represent the number +1910 in hexadecimal?
3