Microprocessor

Test knowledge of microprocessor architecture including instruction sets, addressing modes, registers, flags, arithmetic and logical operations, interrupts, and boolean logic.

25 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which instruction includes opcode and operand in the same byte?

  1. One byte instruction
  2. Two byte instructions
  3. Three byte instructions
  4. All of these
Question 2 Multiple Choice (Single Answer)

Which of the following instructions provides a means of moving a byte between the accumulator and a memory location indirectly, with the RAM address contained in either the BC or DE register pair?

  1. LDA & STA
  2. LHLD & AHLD
  3. LDAX & STAX
  4. XCHG
Question 3 Multiple Choice (Single Answer)

Which instruction will add the specified byte, either in a register or in the address contained by the H & L registers, and the value of the Carry bit into the accumulator?

  1. ADD instruction
  2. ADD with Carry
  3. ADD immediate
  4. LXI instruction
Question 4 Multiple Choice (Single Answer)

Which instruction provides a quick means of subtracting one from the content of a register or a memory location?

  1. Increment instruction
  2. Decrement instruction
  3. Register pair instruction
  4. None of these
Question 5 Multiple Choice (Single Answer)

Which instruction subtracts the specified byte, in a register or in the address contained by the H & L register from the content of the accumulator?

  1. Subtract instruction
  2. Subtract with borrow
  3. Subtract immediate
  4. Increment instructions
Question 6 Multiple Choice (Single Answer)

Which instruction allows direct control of the Carry flag by the programmer?

  1. Rotate through Carrys
  2. Carry instruction
  3. Compare immediate
  4. None of these
Question 7 Multiple Choice (Single Answer)

Which instruction performes a logical AND function between the specified byte, either in a register or in the address contained in the H & L register and the contents of the accumulator?

  1. AND instruction
  2. AND immediate
  3. Compare instruction
  4. OR instruction
Question 8 Multiple Choice (Single Answer)

Which of the following modes results in a single-byte instruction?

  1. Register mode
  2. Register indirect mode
  3. Immediate mode
  4. Direct branch
Question 9 Multiple Choice (Single Answer)

Which instruction provides a means, at the end of a subroutine, of resuming program execution at the instruction following the Call instruction which invoked the subroutine?

  1. CALL instruction
  2. RESTART instruction
  3. RETURN instruction
  4. JUMP instruction
Question 10 Multiple Choice (Single Answer)

______________ effectives the address of the datum in the base register BX or an index register that is specified by the instruction.

  1. Register relative addressing mode
  2. Relative based indexed addressing mode
  3. Based indexed addressing mode
  4. Register indirect addressing mode
Question 11 Multiple Choice (Single Answer)

Which instruction allows the MP to permit or deny interrupts under program control?

  1. I/O instruction
  2. HALT and NOP
  3. Interrupt instruction
  4. None of these
Question 12 Multiple Choice (Single Answer)

________________ replaces the contents of IP with part of the instruction and the segment of CS with another part of the instruction.

  1. Intersegement indirect
  2. Intersegment direct
  3. Intrasegment direct
  4. None of the above
Question 13 Multiple Choice (Single Answer)

___________ is set to 1, if the result is zero and 0 if the result is non-zero.

  1. ZF (Zero Flag)
  2. SF (Sign Flag)
  3. CF (Carry Flag)
  4. TF (Trap Flag)
Question 14 Multiple Choice (Single Answer)

The instruction used to clear interrupt flag in 8086 is__________.

  1. HLT
  2. CLI
  3. SAR
  4. RCL
Question 15 Multiple Choice (Single Answer)

___________ is set, if there is a Carry out of bit 3 during an addition or a borrow by bit 3 during a subtraction.

  1. PF (Parity Flag)
  2. OF (Overflow Flag)
  3. AF (Auxiliary Carry Flag)
  4. IF (Interrupt Enable Flag)
Question 16 Multiple Choice (Single Answer)

_____________ is an operation where the output depends on any one of the two conditions given, then output is true where any of the two inputs or both of them are true.

  1. NOT logic
  2. AND logic
  3. OR logic
  4. NAND logic
Question 17 Multiple Choice (Single Answer)

Which arithmetic instructions may use any of the addressing modes for one of the operands, but, except when the source operand is immediate, one of the two operands must be a register?

  1. Unpacked BCD Arithmetic
  2. Packed BCD Arithmetic
  3. Binary Arithmetic
  4. None of these
Question 18 Multiple Choice (Single Answer)

_________ is the operation where the output is true when any of the two inputs or both of them were true.

  1. AND logic
  2. OR logic
  3. NOT logic
  4. None of these
Question 19 Multiple Choice (Single Answer)

___________, the effective branch having content of register or memory location is accessed by using any of the data related addressing modes expect the immediate mode.

  1. Intrasegment indirect
  2. Intrasegment direct
  3. Intersegment direct
  4. Intersegment indirect
Question 20 Multiple Choice (Single Answer)

In which operation, the output is true only when one of the input was true and output is false if both inputs are at the same logic?

  1. NAND logic
  2. NOR logic
  3. EX-OR logic
  4. EX-NOR logic
Question 21 Multiple Choice (Single Answer)

Which instruction has the 2 byte machine code format where the second byte gives a 8-bit signed displacement relative to the address of the next instruction in sequence?

  1. Conditional Branch Instruction
  2. Unconditional Branch Instruction
  3. Loop Instruction
  4. None of these
Question 22 Multiple Choice (Single Answer)

__________ of addition states that the net result remains same irrespective of grouping variables.

  1. Commutative law
  2. Associative law
  3. Distributive law
  4. None of the above
Question 23 Multiple Choice (Single Answer)

__________ law states that the Oring with one variable of the ANDed function, is similar to the ANDing of ORed result.

  1. Distributive
  2. Associative
  3. Commutative
  4. Demorgan's theorem
Question 24 Multiple Choice (Single Answer)

In which operation, the output is true only when both of the input are true or both the input and output are false, if the inputs are at the different logic?<o:p>

  1. Ex-OR logic
  2. Ex-NOR logic
  3. NAND logic
  4. NOR logic
Question 25 Multiple Choice (Single Answer)

__________________ is a 8-bit register which is a part of ALU. This register is used to store 8-bit data and to perform ALU operations. The result is stored in itself.

  1. Arithmetic & logic Unit
  2. Program counter
  3. Flags
  4. Accumulator