Mpca 2081-Setb Midterm
Mpca 2081-Setb Midterm
Time: 3 hours
Group A
A.7 B.8
C.4 D.5
3. Which one of the following instructions can be used to clear the accumulator?
A. S0 B. READY
5. How many times the loop in the following program will be executed?
LXI B,2050H
DCX B
MOV A,C
ORA B
XRA A
JNZ LOOP
A.80 B.49
C.1 D.0
A. MOV A, B B. IN 40H
C. STA 4000H D. LDAX Rp
A. 32KB B. 64KB
C. 64MB D. 1MB
Group B
Attempt any six answer questions 6X5=30
Qn2. Write an ALP to add two 8-bit numbers whose sum is 16 bits. Also show the result as
well as all the status of flag
Group C
Qn3. Define Timing diagram. Draw the timing diagram of STA 3000H and explain it.