An 8-bit microprocessor has 16-bit address bus () where is the LSB. As shown in Figure (a), it has a pre-installed 4 KB ROM whose starting address is 0000 H. The processor needs to be upgraded by adding a 16 KB RAM as shown in Figure (b). The address range for the newly added RAM is
Tap to open full sizeFigure description
Figure (a), labelled 'Pre-installed ROM': a block marked '4 KB ROM' inside a dotted box. Address lines A_0, A_1,, A_11 (vertical dots between A_1 and A_11) go straight into the ROM's address inputs. Lines A_12,, A_15 (vertical dots between) are the inputs of an OR gate. The OR gate output drives the ROM's active-low chip select CS. Figure (b), labelled 'Newly added RAM': a block marked '16 KB RAM' inside a dotted box. Address lines A_0, A_1,, A_13 (vertical dots between A_1 and A_13) go straight into the RAM's address inputs. A_14 passes through a NOT gate (inverter) into one input of a 2-input OR gate; A_15 goes directly into the other input. The OR gate output drives the RAM's active-low chip select CS.
- (A)
1000 H – 4FFF H
- (B)
3000 H – 6FFF H
- (C)
4000 H – 7FFF H
- (D)
8000 H – BFFF H