Microprocessor and Interfacing (3160712) MCQs

MCQs of 8085 Assembly Language Programs

Showing 1 to 10 out of 11 Questions
1.

The function of HLT instruction is ________.

(a)

To hold  the program execution

(b)

To end the program

(c)

To set Z flag

(d)

To load Accumulator

Answer:

Option (b)

2.

Which code will be used to transfer content of register E to Memory.

(a)

LXI H 2050

MOV M,E

(b)

MVI H 2050

MOV M,E

(c)

MVI H 2050

MOV A,E

STA 2050

(d)

LDA E

STA 2050

Answer:

Option (a)

3.

Which instruction is used to transfer Accumulator data to memory indirectly?

(a)

STA

(b)

STAX 

(c)

MOV M,A

(d)

LDAX

Answer:

Option (b)

4.

What will be value of Accumulator after execution of following program?

MVI A A4
RLC
RLC
HLT

(a)

52

(b)

49

(c)

92

(d)

29

Answer:

Option (c)

5.

What will be value of Accumulator after execution of following program?

MVI A A6
RRC
RRC
HLT

(a)

9A

(b)

A9

(c)

53

(d)

29

Answer:

Option (b)

6.

MVI A F9
ANI F2
HLT

(a)

F1

(b)

E0

(c)

F9

(d)

00

Answer:

Option (c)

7.

MVI A F9
XRI E2
HLT

 

(a)

1B

(b)

2B

(c)

0B

(d)

E2

Answer:

Option (a)

8.

MVI B F7
ORI 6A
HLT

(a)

7B

(b)

7A

(c)

F7

(d)

6A

Answer:

Option (a)

9.

Determine the correct output.

LXI H 203F
DAD H
HLT

(a)

H=40 L=7E

(b)

H=7E L=40

(c)

H=20 L=3F

(d)

H=00 L=3D

Answer:

Option (a)

10.

Determine the correct output.

MVI A F9
DAA 
HLT

(a)

60

(b)

29

(c)

00

(d)

59

Answer:

Option (d)

Showing 1 to 10 out of 11 Questions