Microprocessor and Interfacing (3160712) MCQs

MCQs of Assembly Language Programming Basics

Showing 1 to 10 out of 19 Questions
1.

Calculate the byte size, Machine Cycle and T-states respectively for instruction MOV B,M.

(a)

1B,1,7T

(b)

1B,2,7T

(c)

1B,2,10T

(d)

2B,3,10T

Answer:

Option (b)

2.

Calculate the byte size, Machine Cycle and T-states respectively for instruction MVI M, 57H.

(a)

2B,3,10T

(b)

2B,2,7T

(c)

2B,2,10T

(d)

2B,3,7T

Answer:

Option (a)

3.

Calculate the byte size, Machine Cycle and T-states respectively for instruction LHLD 2040H.

(a)

3B,5,13T

(b)

2B,3,10T

(c)

3B,5,16T

(d)

3B,3,10T

Answer:

Option (c)

4.

Calculate the byte size, Machine Cycle and T-states respectively for instruction STAX B.

(a)

2B,3,10T

(b)

2B,3,12T

(c)

1B,3,10T

(d)

1B,2,7T

Answer:

Option (d)

5.

Calculate the byte size, Machine Cycle and T-states respectively for instruction SPHL.

(a)

1B,1,6T

(b)

1B,1,4T

(c)

2B,1,4T

(d)

1B,2,6T

Answer:

Option (a)

6.

Calculate the byte size, Machine Cycle and T-states respectively for instruction PUSH B.

(a)

1B,3,13T

(b)

1B,3,12T

(c)

1B,4,12T

(d)

1B,4,13T

Answer:

Option (b)

7.

Calculate the byte size, Machine Cycle and T-states respectively for instruction DAD H.

(a)
2B,2,7T
(b)

1B,2,10T

(c)

1B,3,7T

(d)

1B,3,10T

Answer:

Option (d)

8.

Calculate the byte size, Machine Cycle and T-states respectively for instruction CALL 2034H.

(a)

3B,5,18T

(b)

3B,5,16T

(c)

3B,6,18T

(d)

3B,5,16T

Answer:

Option (a)

9.

Which data transfer instruction is used for indirect addressing?

(a)

PUSH

(b)

POP

(c)

STAX

(d)

LHLD

Answer:

Option (c)

10.

Which control instruction is used to set the interrupt mask?

(a)

SIM

(b)

RIM

(c)

EI

(d)

DI

Answer:

Option (a)

Showing 1 to 10 out of 19 Questions