Q1077
If, in a computer, 16 bits are used to specify addresses in a RAM, the number of addresses will be
A.
216
B.
65,536
C.
64K
D.
Any of the above
AnswerE.
None of the above
Answer: Option D
Solution
Answer: Option D
Solution:
A 16-bit integer can store 216 (or 65,536) distinct values. In an unsigned representation, these values are the integers between 0 and 65,535; using two's complement, possible values range from −32,768 to 32,767. Hence, a processor with 16-bit memory addresses can directly access 64 KB of byte-addressable memory.