Memory contents, locations, and addresses (read text).
Memory stores programs and data on their way to be processed by the CPU. What stored in memory can be categorized as:
- Input data supplied by input devices as keyboards.
- Output data to be sent to output devices as monitors.
- Intermediate data resulted from processing input data.
- Programs.
Memory is partitioned into many memory locations, with each location having a unique address and a location's size is fixed. Suppose n bits are used to form the memory address. Since each bit can be set to 0 or 1, the maximum possible number of memory locations is 2n. If the location size is 1 byte. Then, maximum memory size = 1x 2n byte.