0

Microprocessor and Microcontroller

Description: Microprocessor
Number of Questions: 16
Created by:
Tags: MP MicroProcessor and MicroController
Attempted 0/16 Correct 0 Score 0

Which of the following instructions provides a means of loading any register pair with a two byte value?

  1. XCHG Instruction

  2. LXI Instruction

  3. ADD Instruction

  4. SUBTRACT Instruction

  5. None of these


Correct Option: B
Explanation:

This instruction provides a means of loading any register pair with a two-byte value.

______________ group of instructions provide 8085 with the ability to move data around inside the RAM, between the RAM and the register of the microprocessor and between registers within the microprocessor.

  1. Machine control group

  2. Branch group

  3. Logical group

  4. Data transfer group

  5. Arithmetic group


Correct Option: D
Explanation:

This group provides the 8085 with mathematical ability to manipulate 8-bit data and by judicious use of the condition codes manipulate larger values. Data transfer group of instructions provide 8085 with the ability to move data around inside the RAM, between the RAM and the register of the microprocessor and between registers within the microprocessor.

Which of the following instructions allows program flow to be altered by loading the contents of the two bytes following the instruction to be loaded into the program counter?

  1. Jump

  2. LXI

  3. SUBTRACT

  4. LDA and STA

  5. None of the above


Correct Option: A
Explanation:

This instruction allows program flow to be altered by loading the contents of the two bytes following the instruction to be loaded into the program counter.

Which of the following instructions allows a programmer to accept input data as BCD, process it in the accumulator using essentially hexadecimal arithmetic, and then convert the result back into BCD?

  1. Carry Instruction

  2. Jump Instruction

  3. Exclusive OR Immediate

  4. Decimal Adjust

  5. Increment Instruction


Correct Option: D
Explanation:

This instruction allows the programmer to accept input data as BCD, process it in the accumulator using essentially hexadecimal arithmetic, and then convert the result back into BCD.

Which of the following group of instructions permits a programmer to alter the flow of program execution from a normal straight line?

  1. Branch group

  2. Arithmetic group

  3. Data transfer group

  4. Logical group

  5. Machine control group


Correct Option: A
Explanation:

This group of instructions permits the programmer to alter the flow of program execution from a normal straight line.

Which of the following instructions provides a means of adding a fixed value into the accumulator?

  1. ADD Instruction

  2. ADD Immediate

  3. ADD with Carry

  4. Decrement Instruction

  5. Increment Instruction


Correct Option: B
Explanation:

This instruction provides a means of adding a fixed value into the accumulator.

__________ instruction provides a 1's complement of the 8-bits in the A register.

  1. Carry Instruction

  2. Rotate Instruction

  3. Compare Instruction

  4. Complement Accumulator

  5. Jump


Correct Option: D
Explanation:

This instruction provides a 1's complement of the 8-bits in the A register.

______________ group is a collection of miscellaneous instructions which control bodily functions of the microprocessor or provide utilities.

  1. Logical group

  2. Arithmetic group

  3. Machine control group

  4. Branch group

  5. None of these


Correct Option: C
Explanation:

This group is a collection of miscellaneous instructions which control bodily functions of the microprocessor or provide utilities.

__________ instruction provides a quick means of adding one to the contents of a register or memory location.

  1. AND Instruction

  2. Increment Instruction

  3. OR Instruction

  4. Decrement Instruction

  5. Compare Instruction


Correct Option: B
Explanation:

This instruction provides a quick means of adding one to the contents of a register or memory location.

Which of the following instructions allows a linkage to permit a subroutine to be invoked with the address of the next sequential instruction saved by later reference?

  1. Jump Instruction

  2. Jump Indirect

  3. Restart Instruction

  4. CALL Instruction

  5. Return Instruction


Correct Option: D
Explanation:

This instruction allow linkage to permit a subroutine to be invoked with the address of the next sequential instruction saved by later reference

Which of the the following instructions allows a programmer to manipulate the system stack?

  1. PSW Instruction

  2. Exchange Stack Top

  3. PUSH and POP

  4. I/O Instruction

  5. Interrupt Instruction


Correct Option: C
Explanation:

This instruction allows the programmer to manipulate the system stack.

Which of the following instructions provides a means of subtracting a fixed value into the accumulator?

  1. Compare Immediate

  2. Add Immediate

  3. Subtract Immediate

  4. AND Immediate

  5. OR Immediate


Correct Option: C
Explanation:

This instruction provides a means of subtracting a fixed value into the accumulator.

_______________ instruction allows the microprocessor to communicate with the outside world.

  1. Rotate Instruction

  2. I/O Instruction

  3. Carry Instruction

  4. Jump Instruction

  5. None of these


Correct Option: B
Explanation:

This instruction allows the microprocessor to communicate with the outside world.

 

_____________ group provides the 8085 with mathematical ability to manipulate 8-bit data and by judicious use of the condition codes manipulate larger values.

  1. Machine control group

  2. Branch group

  3. Logical group

  4. Arithmetic group

  5. Data transfer group


Correct Option: D
Explanation:

This group of instructions provide 8085 with the ability to move data around inside the RAM, between the RAM and the register of the microprocessor and between registers within the microprocessor. This group provides the 8085 with mathematical ability to manipulate 8-bit data and by judicious use of the condition codes manipulate larger values.

Which of the following instruction sets in 8085 architecture permits the HL register pair's contents to be exchanged with the DE pair?

  1. MVI group

  2. LXI instruction

  3. XCHG instruction

  4. ADD instruction

  5. ADD immediate


Correct Option: C
Explanation:

This instruction set in 8085 architecture permits the HL register pair's contents to be exchanged with the DE pair.

________________ instructions provide a means of moving a byte between the accumulator and a RAM address.

  1. LDA & STA

  2. LHLD & SHLD

  3. LDAX & STAX

  4. AND Instruction

  5. Compare Immediate


Correct Option: A
Explanation:

The Load Accumulator Direct (LDA) and the Store Accumulator Direct (STA) instructions provide a means of moving a byte between the accumulator and a RAM address.

- Hide questions