Memory Organization
Memory is a linear array of bytes (8-bits)
References can be to individual bytes, words (32), half words (16) or double words (64)
References should be aligned by data type
0:
1:
2:
3:
12:
4:
5:
6:
7:
8:
9:
10:
11:
13:
Alignment
Type Address LSB
byte any
halfword 0
word 00
double word 000
Byte Order
Big-endian: 0 is MSB
0 1 2 3
Little-endian: 0 is LSB
3 2 1 0
Previous slide
Next slide
Back to first slide
View graphic version