Professional Documents
Culture Documents
Homework 10
Homework 10
Instruction
ldaa $4B03
staa $4400
ldaa $5000
Chip
3
2
n/a
E1
1
1
1
E2
0
0
1
WE
0
1
0
RE
1
0
1
R/W
1
0
1
Motes 2
Problem 2: 12kB memory system
x3 4kB chips 2n = 4096 n = 12 12 address bits (A11 - A0)
12kB / 4kB = 3 chips 2x4 decoder 2 chip select bits (A13, A12)
Remaining 2 bits for chip decoder enables E1 and ~E2 (A15, A14)
A15, A14, A13, A12, A11, A10, A9, A8, A7, A6, A5, A4, A3, A2, A1, A0
Chip
n/a
1
2
3
Instruction
ldaa $A001
staa $BF00
Chip
2
3
E1
1
1
E2
0
0
WE
0
1
RE
1
0
R/W
1
0