Machine-translated by Google. Questions are authored in English.
Top

Microprocessors and Microcontrollers Questions and Answers

1.

What is the order decided by a processor or the CPU of a controller to execute an instruction ?

Exam Year(s)

MH SET - 2018, SET Exam - 2018,

Answer: D

The order is fetch, decode, execute.

A processor first fetches the instruction from memory at the address held in the program counter, then decodes it to determine the operation and operands, and only then executes it. The cycle then repeats for the next instruction.

An instruction cannot be decoded before it has been fetched, nor executed before it has been decoded, so every other ordering among the options is impossible.

Please log in or register to report this question.

2.

Match List I with List II and select the correct answer using codes given below the list :

List IList II
(a) S1 = 0, S0 = 0(i) OPCODE FETCH
(b) S1 = 0, S0 = 1(ii) READ
(c) S1 = 1, S0 = 0(iii) HALT
(d) S1 = 1, S0 = 1(iv) WRITE

Exam Year(s)

MH SET - 2018, SET Exam - 2018,

Answer: B

The correct matching is a-iii, b-iv, c-ii, d-i.

The 8085 status signals S1 and S0 identify the type of machine cycle:

  • S1 = 0, S0 = 0: HALT (iii)
  • S1 = 0, S0 = 1: memory or I/O WRITE (iv)
  • S1 = 1, S0 = 0: memory or I/O READ (ii)
  • S1 = 1, S0 = 1: OPCODE FETCH (i)

Opcode fetch has both bits set, which rules out the code pairing it with 00, and the code that pairs 01 with READ swaps the read and write cycles.

Please log in or register to report this question.

Loading…
Tags: Microprocessor Architecture Questions and Answers || Microprocessor Architecture MCQ Questions and Answers || Microprocessor Architecture GK Questions and Answers || Microprocessor Architecture GK MCQ Questions || Microprocessor Architecture Multiple Choice Questions and Answers || Microprocessor Architecture GK || GK on Microprocessor Architecture || Microprocessors and Microcontrollers Questions and Answers || Microprocessors and Microcontrollers MCQ Questions and Answers || Microprocessors and Microcontrollers GK Questions and Answers || GK on Microprocessors and Microcontrollers