Documente Academic
Documente Profesional
Documente Cultură
College of Engineering
Examination 1
Student ID
Question 1 10
Question 2 15
Question 3 20
Total 45
Question 1. (10 points)
Answer True or False for each of the following statements (1 point each)
5. A 128 K Byte memory chip has 17 address lines and 8 data lines T F
10. ALL Arithmetic and Logic operations in the 8085 use the
accumulator. T F
A12 A14
A MSB E1 E2 E3
15
O4
A13
A11
74138
A10
CE
2K Bytes
A0
2.1 Determine the starting and ending addresses of the above setup (4 Points)
ADDRESS
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
in Hex.
Starting
Ending
2.2 How would you change the connections above so that the address range becomes
E000 E7FF (4 Points)
- Draw a new picture of the decoder only.
- You may NOT use any other gates.
- You may change the decoder output that the memory chip is connected to.
Z S CY
MVI A FEH
ADI 01H
MOV B A
INR B
ANI 55H
MVI C 80H
ORA C
JM NEG
LDAX D
RAR
NEG HLT
3.2 The following program has some errors. Find them. (5 Points)
3.3 Given the following program, fill in the memory table with the results (5 Points)