This type of question often appears in the software designer examination (for example, the software designer examination question in the second half of 2013)
The address number ranges from H to bffffh, and the size of the address is () kb. If the memory chip of 16 K * 4 bit is used to form the memory, a () disk is required.
First of all, we should be very familiar with this. Generally, numbers ending with H usually refer to hexadecimal numbers. in hexadecimal notation, a 10 B 11 and so on .....
We can calculate the memory capacity in this way.
= Bffff-80000 + 1
= C00000-80000
= (C-8) * 16 ^ 4
= 4*16 ^ 4 = 4*2 ^ 16
Because 1kb = 2 ^ 10bit
So = 4*2 ^ 6 = 256kb
You can also calculate = 40000 (hexadecimal) = 4*16 ^ 4 (decimal) in hexadecimal notation)
Therefore, the memory capacity is (256) kb.
Because the memory is encoded by byte, 256/8 = 32, so 32 pieces are required.
Memory Address Calculation in Computer