A Program’s View of Memory
What is Memory? a bunch of bits
Looks like a large linear array
Find things by indexing into array
Most computers support byte (8-bit) addressing
- Each byte has a unique address (location).
- Byte of data at address 0x100 and 0x101
- Word of data at address 0x100 and 0x104
32-bit v.s. 64-bit addresses
- we will assume 32-bit for rest of course, unless otherwise stated