[prev] 34 [next]

Memory

Properties of physical memory
  • called main memory   (or RAM, or primary storage, ...)
  • indexes are "memory addresses" (a.k.a. pointers)
  • data can be fetched in chunks of 1,2,4,8 bytes
  • cost of fetching any byte is same (ns)
  • can be volatile or non-volatile
When addressing objects in memory ...
  • any byte address can be used to fetch 1-byte object
  • byte address for N-byte object must be divisible by N