8085 Addressing Modes and Memory Mapping
8085 Addressing Modes and Memory Mapping
ADD E; E+A A
LDAX D; Load accumulator with data whose address is present at D E register pair
= 2^x * y (Size of ROM), where x is the number of address lines and y is the number of data lines
= BA3F – 0FFF
= AA40 H (Answer)
Determine the size of memory whose starting and ending address are 4A00 H and
69FF H respectively.
Solution:
(Thirteen 1s are there. These 1s represent the number of address lines. Data lines are 8)
So, Memory size = 2^x * y (Where, x = Number of address lines and y = Number of data lines)
Problem: An 8-bit microprocessor has 16-bit address bus (A0 – A15) with a 1KB memory chip as shown in the figure. What is the
address range for the chip?
1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 (F000 H)
1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 (F3FF H)
0
A0 – A9
CS
(A13 – A15) Decoder 1K*8
RAM
(A10 – A12) CS 8
7