Page-17

Computer Science

241)The accumulator contains 39H, register C contains 12H, what is the content of accumulator and CY (carry) after executing the following code?
ADD C
DAA
05H, 1 51H, 0
50H, 1 50H,0
Answer :

242)The HL register pair contains 0240H, what is the content of the register pair HL after executing DAD H ?
4084H 0484H
8440H 4480H
Answer :

243)The accumulator contains 85H, register B contains 68H, what is the content of accumulator and CY (carry) after executing the following code?
ADD B
DAA
35H, 1 35H, 0
53H, 0 53H, 1
Answer :

244)The Register pair HL containd 2012H, register B and C contain 14H and 31H respectively, what is the content of H register after executing DAD B ?
34H 43H
44H 40H
Answer :

245)The accumulator contains 54H and register D containd 82H, what is the content of the accumulator and the CY after executing ANA D? (8085 microprocessor)
00H, 1 ooH, 0
82H, 0 54H, 1
Answer :

246)The accumulator contains 54H and register D containd 82H, what is the content of the Z, P flags? (8085 microprocessor)
1, 0 0, 1
1, 1 0, 0
Answer :

247)The accumulator contains 03H and register D containd 81H, what is the content of the accumulator and the CY after executing ORA D? (8085 microprocessor)
83H, 0 83H, 1
38H, 0 38H, 1
Answer :


248)The accumulator contains 03H and register D containd 81H, what is the content of the S, Z flag ORA D? (8085 microprocessor)
1, 0 0, 1
0, 0 1, 1
Answer :

249)The accumulator contains 77H and register D containd 56H, what is the content of the accumulator and the CY after executing XRA D? (8085 microprocessor)
21H, 1 21H, 0
12H, 0 12H, 1
Answer :

250)The Accumulator contains 4AH, what is the content of the accumulator and the CY after executing ADI 59H? (8085 microprocessor)
3AH, 0 3AH, 1
A3H, 0 A3H, 1
Answer :

251)The accumulator contains 26H, previous operation has set the carry bit, what is the content of the accumulator and CY after executing ACI 57H? (8085 microprocessor)
7EH, 0 7EH, 1
E7H, 0 E7H, 1
Answer :

252)The accumulator contains 89A, what is the content of the accumulator after executing CMA
00H 89H
67H 76H
Answer :

253)The accumulator contains A7H and the CY flag is reset, what is the content of the accumulator and CY after executing RAR
35H, 1 35H, 0
53H, 0 53H, 1
Answer :

254)The accumulator contains A7H and the CY flag is reset, what is the content of the accumulator and CY after executing RLC
F4H, 0 4FH, 1
F4H, 1 4FH, 0
Answer :

255)The accumulator contains A7H and the CY flag is reset, what is the content of the accumulator and CY after executing RRC
D3H, 0 D3H, 1
3DH, 0 3DH,1
Answer :

This is page:17