QP U18ec511 Eee Set2
QP U18ec511 Eee Set2
2. a. Draw the timing of STA 2020H in 8085 microprocessor [6] [U] CO1
b. With the addition operation on two bytes 2FH and 1FH, check the [6] [Ap] CO1
status of all flags of 8085 microprocessor
(OR)
c. Describe the function of ALE and status signals of 8085 [6] [U] CO1
microprocessor in detail
d. For the instruction MVI B,12H;, interpret the operation of fetching, [6] [Ap] CO1
decoding and execution in 8085 microprocessor with timing diagram
3. a. Identify and correct the instructions of the following assembly [6] [Ap] CO2
language program to arrange the numbers in the ascending order
using 8085
ORG 2000H
LXI H,4200H
MOV C,M
DCR C
L1:MOV D,C
LXI H,4201H
L2:MOV A,M
CMP M
JNC SKIP
MOV B,M
MOV M,A
DCX H
MOV M,B
INX H
SKIP: DCR D
JNZ L2
DCR C
JNZ L1
HLT
b. Construct time delay using a register pair and a loop with in a loop [6] [Ap] CO2
technique
(OR)
c. In the following, identify the suitable instruction for direct addressing [6] [Ap] CO2
mode and explain with example
a) LXI H,3000H
b) LDA 5050H
c) RLC
d. Identify the errors in the following assembly code to transfer the data [6] [Ap] CO2
from register to output port
ORG 2000H
MVI B,3701H
MOV A,B
IN PORT1
HLT
4. a. List the minimum number of segments that are necessary to provide [6] [An] CO3
segmentation concept. Explain why segmentation is useful in real time
applications?
b. Evaluate the number of clock cycles required for memory read [6] [E] CO3
operation in minimum mode of 8086 with neat sketch
(OR)
c. The register contents of 8086 is given below: [6] [An] CO3
CS=4000H,DS=B000H,SS=C000H,ES=7000H,SI=2000H,DI=3000H,BP=
1000H,SP=0002H,AX=0000H,BX=5200H,CX=8000X,DX=2800H then
calculate the effective address of the following instructions
(a) MOV AL,[BP+BX]
(b) SUB BL,[DI]
(c) MOV AX,08[SI]
d. Evaluate the number of clock cycles required for I/O read operation in [6] [E] CO3
minimum mode of 8086 with neat sketch