1
a. There are memory locations, therefore maximum value is , hence bits.
b. There are memory locations,
therefore maximum value is , hence bits.
This was using powers of instead of powers of .
Given memory:
- If it is word-addressable, . The exponent is number of bits, hence bits.
- If it is byte-addressable, . Hence bits.
2
a. There are memory locations, therefore maximum value is , hence bits.
b. There are memory locations, therefore maximum value is , hence bits.
Given memory:
- If it is word-addressable, . Hence, bits.
- If it is nybble-addressable, . Hence, bits.
3
a. Lowest address is , largest address is . b. Lowest address is , largest address is .
4
a. , hence requires bits. b. , words.
5
a. Load 5 is or . b. Add 5 is or . c. Halt is or .
6
7
MARIE can handle 16-bit data, so the AC must be 16-bits wide. MARIE’s memory is limited to 4096 address locations, MAR only needs to be 12 bits wide to hold largest address.