Instruction Cycle MCQ Quiz - Objective Question with Answer for Instruction Cycle - Download Free PDF

Last updated on Jun 26, 2025

Latest Instruction Cycle MCQ Objective Questions

Instruction Cycle Question 1:

What will the following instruction do?
INC EBX

  1. Will report an error as: is missing at the end of the statement
  2. Increment value in variable EBX
  3. Increment value in 8-bit register
  4. Increment value in 32-bit register

Answer (Detailed Solution Below)

Option 4 : Increment value in 32-bit register

Instruction Cycle Question 1 Detailed Solution

The correct answer is Option 4) Increment value in 32-bit register.

Key Points

  • INC is an assembly language instruction that increases the value of a register or memory location by 1.
  • EBX is a 32-bit general-purpose register in the x86 architecture.
  • INC EBX increments the current 32-bit value stored in the EBX register by 1.
  • This is commonly used in loop counters or arithmetic operations within low-level programming.

Additional Information

  • Option 1 – Incorrect: There is no syntax error in INC EBX; it's a valid assembly instruction.
  • Option 2 – Partially Correct: It’s true that it increments the value in EBX, but the option lacks clarity about register size.
  • Option 3 – Incorrect: EBX is a 32-bit register, not an 8-bit one. The 8-bit part would be BL.
  • Related Registers:
    • AX, BX, CX, DX – 16-bit registers
    • AL, BL, CL, DL – 8-bit lower halves
    • EAX, EBX, ECX, EDX – 32-bit registers
    • RAX, RBX, RCX, RDX – 64-bit registers (x86-64 architecture)

Instruction Cycle Question 2:

Consider the following sequence of micro operations :

MBR ← PC

MAR ← X

PC ← Y

MEMORY ← MBR

Which one of the following is possible operation performed by this sequence ?

  1. Instruction Fetch
  2. Operand Fetch 
  3. Conditional Branch 
  4. Initiation of interrupt service

Answer (Detailed Solution Below)

Option 4 : Initiation of interrupt service

Instruction Cycle Question 2 Detailed Solution

Correct Answer: Option 4) Initiation of interrupt service

Key Points

Let's examine the steps one by one:

  1. MBR ← PC:
    • The content of the Program Counter (PC), which holds the address of the next instruction to be executed, is copied to the Memory Buffer Register (MBR).
    • This is typically done to save the return address before jumping to an interrupt service routine (ISR).
  2. MAR ← X:
    • The Memory Address Register (MAR) is loaded with the address X.
    • This is the location where the return address (in MBR) will be stored.
  3. PC ← Y:
    • The Program Counter is updated to Y, which points to the start of the ISR.
    • This redirect of the control flow to a new memory location is characteristic of interrupt handling.
  4. MEMORY ← MBR:
    • The value in the MBR (the original PC value) is stored in memory at the address specified by MAR (which is X).
    • This effectively saves the return address so that the CPU can resume the original program after servicing the interrupt.

Therefore, this sequence of micro-operations matches the typical behavior during the initiation of an interrupt service routine, where:

  • The current execution state (PC) is saved,
  • The PC is redirected to the ISR location.

Final Answer: Option 4) Initiation of interrupt service

Instruction Cycle Question 3:

Correct the order of instruction cycle:

A. Read the effective address

B. Fetch the information

C. Execute the instruction

D. Decode the instruction

Choose the correct answer from the options given below:

  1. A, B, C, D
  2. B, D, A, C
  3. B, A, D, C
  4. A, B, D, C

Answer (Detailed Solution Below)

Option 2 : B, D, A, C

Instruction Cycle Question 3 Detailed Solution

Instruction Cycle Question 4:

A program consists of four major types of instructions. The instructions mix and the CPI for each instruction type are given in the following table. If the clock frequency of the processor is 400 MHz, what is the average CPI of the processor? 

Instruction Type

    CPI    

       Instruction Mix     

Arithmetic and Logic

1

60%

Load/Store with cache

hit

2

18%

Branch

4

12%

Memory reference with

cache miss

8

10%

 

  1. 3·75
  2. 2·24 
  3. 1·87 
  4. 1·54

Answer (Detailed Solution Below)

Option 2 : 2·24 

Instruction Cycle Question 4 Detailed Solution

The correct answer is 2·24 

Explanation:

The formula for finding the total CPI is given below

CPI = ∑ Frequencyi * CPIi

Frequencyi = ICi / Instruction count

CPI = (0.60 * 1) + (0.18 * 2) + (0.12 * 4) + (0.10 * 8)

CPI = 2.24

Instruction Cycle Question 5:

If a processor clock is rated as 1250 million cycles per second, then its clock period is 

  1. 1·9*10^–10 sec 
  2. 1·6*10^–9 sec 
  3. 1·25*10^–10 sec 
  4. 8*10^–10 sec 

Answer (Detailed Solution Below)

Option 4 : 8*10^–10 sec 

Instruction Cycle Question 5 Detailed Solution

The correct answer is 8*10^–10 sec

Explanation:

To determine the clock period of a processor, we use the formula: 

              

Given Data:

  • Clock Speed = 1250 million cycles per second
  • Convert the clock speed to standard units (Hz):

   
                
  

Step-by-Step Calculation:

The clock period (in seconds) is:

               

Substitute the clock speed:

                

Simplify:

                 

Rewriting:

                 

Final Answer: 4) 

Top Instruction Cycle MCQ Objective Questions

In microprocessors, the IC (instruction cycle), FC (fetch cycle) and EC (execution cycle) are related as

  1. IC = FC - EC
  2. IC = FC + EC
  3. IC = FC + 2EC
  4. EC = IC + FC

Answer (Detailed Solution Below)

Option 2 : IC = FC + EC

Instruction Cycle Question 6 Detailed Solution

Download Solution PDF
  • The Steps required by the CPU to fetch and execute an Instruction is called an instruction cycle. It consists of fetch and executes cycle.
  • Instruction cycle (IC) = Fetch cycle (FC) + Execution cycle (EC)
  • The time required by the microprocessor to complete the operation of accessing memory or I/O devices is called a machine cycle.
  • Clock time is a known time state. It is reciprocal of clock frequency.
  • Instruction cycle > Machine cycle > Clock cycle (time state)
  • Steps in the instruction cycle:

    • First of all, the opcode is fetched by the microprocessor from a stored memory location.
    • Then it is decoded by the microprocessor to find out which operation it needs to perform.
    • If an instruction contains data or operand address which is still in the memory, the CPU has to perform read operation to get the desired data.
    • After receiving the data, it performs to execute the operation.

     

    Correct sequence: fetch → decode → read effective address → execute

The first machine cycle of an instruction is always a

  1. Memory reed cycle
  2. Fetch cycle
  3. I/O real cycle
  4. Memory write cycle

Answer (Detailed Solution Below)

Option 2 : Fetch cycle

Instruction Cycle Question 7 Detailed Solution

Download Solution PDF

Machine Cycle: Time taken to execute one OPERATION is known as a machine cycle.  One instruction will contain 1 to 5 machine cycles.

T-State: The portion of a machine cycle executed in one internal clock pulse is known as T-state.

Steps in the instruction cycle:

  • First of all, the opcode is fetched by the microprocessor from a stored memory location.
  • Then it is decoded by the microprocessor to find out which operation it needs to perform.
  • If an instruction contains data or operand address which is still in the memory, the CPU has to perform read operation to get the desired data.
  • After receiving the data, it performs to execute the operation.

 

Correct sequence: fetch → decode → read effective address → execute

The instruction pipeline of a RISC processor has the following stages: Instruction Fetch (IF), Instruction Decode (ID), Operand Fetch (OF), Perform Operation (PO) and Writeback (WB). The IF, ID, OF and WB stages take 1 clock cycle each for every instruction. Consider a sequence of 100 instructions. In the PO stage, 40 instructions take 3 clock cycles each, 35 instructions take 2 clock cycles each, and the remaining 25 instructions take 1 clock cycle each. Assume that there are no data hazards and no control hazards.

The number of clock cycles required for completion of execution of the sequence of instructions is ______.

Answer (Detailed Solution Below) 219

Instruction Cycle Question 8 Detailed Solution

Download Solution PDF

Total Instruction = 100

Instruction Fetch, Instruction Decode, Operand Fetch, and Writeback (WB) performed in 1 cycle.

PO stage:

40 instructions take 3 cycle

35 instructions take 2 cycles

25 instructions take 1 cycle

Average number of cycles  = (40*3+35*2+25*1)/100 = 2.15 cycles.

On an average first instruction completed in 1+1+1+1+2.15 cycles

Remaining 99 instruction will takes 99*2.15 = 212.85 cycle

Total number of cycles is 6.15+212.85 = 219 cycles.

A fetch cycle is the

  1. First part of the instruction cycle
  2. Last part of instruction cycle
  3. Intermediate part of the instruction cycle
  4. Auxiliary part of the instruction cycle

Answer (Detailed Solution Below)

Option 1 : First part of the instruction cycle

Instruction Cycle Question 9 Detailed Solution

Download Solution PDF

Steps in the instruction cycle:

  • First of all, the opcode is fetched by the microprocessor from a stored memory location.
  • Then it is decoded by the microprocessor to find out which operation it needs to perform.
  • If an instruction contains data or operand address which is still in the memory, the CPU has to perform read operation to get the desired data.
  • After receiving the data, it performs to execute the operation.

 

Correct sequence: fetch → decode → read effective address → execute

Consider the following sequence of micro-operations.

MBR ← PC

MAR ← X

PC ← Y

Memory ← MBR

Which one of the following is a possible operation performed by this sequence?

  1. Instruction fetch
  2. Operand fetch
  3. Conditional branch
  4. Initiation of interrupt service

Answer (Detailed Solution Below)

Option 4 : Initiation of interrupt service

Instruction Cycle Question 10 Detailed Solution

Download Solution PDF

The correct answer is "option 4".

CONCEPT:

Micro-operations are also known as micro-ops.

They are the atomic or functional operations of a processor.

It is an elementary Central Processing Unit (CPU) operations performed during one clock pulse.

Micro-operations are low-level instructions, used in some designs, to implement complex instructions.

Micro-operations generally perform data stored in one or more registers.

EXPLANATION:

1. Program counter holds the next instruction value to be executed.

Here, MBR means the value of the program counter will get stored in MBR.

2. MAR means some address value X is storing in MAR so to access memory location X.

3. PC means storing new instruction value Y to the program counter to access new instruction.

4. Memory means MBR register will store its value to Memory. This saves the previous value of PC to memory.

This sequence of instructions matches with Interrupt Service Routine (ISR) since the sequence of instructions saved the address of current instructions into memory.

Then started executing new address by loading new instruction value to Program counter.

Hence, the correct answer is “option 4”.

Additional Information

1. Instruction fetch means fetching the instruction.

2. Operand fetch means fetching the operands.

3. Conditional branch means the program will branch to another instruction after satisfying a condition.

The time required for the fetching and execution of one simple machine instruction is

  1. Delay time
  2. CPU cycle
  3. Real time
  4. Seek time

Answer (Detailed Solution Below)

Option 2 : CPU cycle

Instruction Cycle Question 11 Detailed Solution

Download Solution PDF
  • The time required for the fetching and execution of one simple machine instruction is the CPU cycle. It is also known as an instruction cycle. 
  • It is composed of three main stages: the fetch stage, the decode stage, and the execute stage.
  • In simpler CPUs, the instruction cycle is executed sequentially, each instruction being processed before the next one is started.
  • In most modern CPUs, the instruction cycles are instead executed concurrently, and often in parallel, through an instruction pipeline

Consider the following data path diagram.

 

Consider an instruction: R0 ← R1 + R2. The following steps are used to execute it over the given data path. Assume that PC is incremented appropriately. The subscripts r and w indicate read and write operations, respectively.

1. R2r, TEMP1f, ALUadd, TEMP2w

2. R1r, TEMP1w

3. PCr, MARw, MEMr

4. TEMP2r, R0w

5. MDRr, IRw

Which one of the following is the correct order of execution of the above steps?

 

  1. 2, 1, 4, 5, 3
  2. 1, 2, 4, 3, 5
  3. 3, 5, 2, 1, 4
  4. 3, 5, 1, 2, 4

Answer (Detailed Solution Below)

Option 3 : 3, 5, 2, 1, 4

Instruction Cycle Question 12 Detailed Solution

Download Solution PDF

Concept:

While executing a micro-instruction such as R0 ← R1 + R2, the CPU performs various micro-operations. Each of this micro-operation is performed in one time cycle.

Execution:

Step 1:

Fetch the instruction. Initially, the address of the instruction to be executed in Program Counter (PC). It is moved from PC to Memory Address Register (MAR). This is done via micro-operation PCr, MARw, MEMr

Step 2:

Once the instruction has been fetched, in next single time cycle, it is placed into Memory Data Register (MDR) and then to Instruction Register (IR). This is done via micro-operation MDRr, IRw

Step 3:

Operand Fetching and Decoding of contents from Register R1 and place it into temporary register Temp1 via micro- operation R1r, TEMP1w

Step 4:

Contents of Register R2 is decoded and ALU performs the addition of fetched content of Temp1 and R2 and place it into Temp2 via micro-operation R2r, TEMP1f, ALUadd, TEMP2w

Step 5:

Finally, the content of Temp2 is moved into the target register R0 via micro-operation TEMP2r, R0w

Consider the following instruction sequence where register R1, R2 and R3 are general purpose and MEMORY[X] denotes the content at the memory location X.

Instruction

Semantics

Instruction Size (bytes)

MOV R1, (5000)

R1 ← MEMORY[5000]

4

MOV R2, (R3)

R2 ← MEMORY[R3]

4

ADD R2, R1

R2 ← R1 + R2

2

MOV (R3), R2

MEMORY[R3] ← R2

4

INC R3

R3 ← R3 + 1

2

DEC R1

R1 ← R1 – 1

2

BNZ 1004

Branch if not zero to the given absolute address

2

HALT

Stop

1

 

Assume that the content of the memory location 5000 is 10, and the content of the register R3 is 3000. The content of each of the memory locations from 3000 to 3010 is 50. The instruction sequence starts from the memory location 1000. All the numbers are in decimal format. Assume that the memory is byte addressable.

After the execution of the program, the content of memory location 3010 is ______

Answer (Detailed Solution Below) 50

Instruction Cycle Question 13 Detailed Solution

Download Solution PDF

Answer: 50 to 50 

Explanation

Consider following memory cells

Address

Value

5000

10

3000

50

3001

50

3002

50

3003

50

3004

50

3005

50

3006

50

3007

50

3008

50

3009

50

3010

50

After Executing till 3 instruction we have the following value in Registers

R1

R2

R3

10

50

3000

After 4th instruction, M[R3] ( M[3000]) will be updated as 50 + 10 = 60 

Address

Value

5000

10

3000

60

3001

50

3002

50

3003

50

3004

50

3005

50

3006

50

3007

50

3008

50

3009

50

3010

50

R3 => R3 +1 => 3001

R1 = 9 Hence it is Nonzero; It will Branch to 1004 (which is instruction 2)

- R2 = 50

R2= R1+R2 = 59

M[R3] ( M[3001]) will be updated as 59.

Address

Value

5000

10

3000

60

3001

59

3002

50

3003

50

3004

50

3005

50

3006

50

3007

50

3008

50

3009

50

3010

50

R1  = R1 - 1 => 9-1 =>8 Hence it is Nonzero; It will Branch to 1004 (which is instruction 1)

If you try to observe the Pattern

Here M[3001] is updated as 59

M[3002] will be updated as 58

M[3003] will be updated as 57

M[3004] will be updated as 56

M[3005] will be updated as 55

M[3006] will be updated as 54

M[3007] will be updated as 53

M[3008] will be updated as 52

M[3009] will be updated as 51

R1 = 0

M[3010] will be updated as 50

Consider two processors P1 and P2 executing the same instruction set. Assume that under identical conditions, for the same input, a program running on P2 takes 25% less time but incurs 20% more CPI (clock cycles per instruction) as compared to the program running on P1. If the clock frequency of P1 is 1GHz, then the clock frequency of P2 (in GHz) is _________.

Answer (Detailed Solution Below) 1.6

Instruction Cycle Question 14 Detailed Solution

Download Solution PDF

Concept:

In both the cases number of Instructions will be same

 

 

Calculation:

Total time ratio: P1: P2 = 100: 75 = 4:3

CPI ratio: CPI1: CPI2 = 100: 120 = 5:6

The register which contains the instruction that is to be executed is known as

  1. Index register
  2. instruction register 
  3. Memory address register
  4. Memory data register 

Answer (Detailed Solution Below)

Option 2 : instruction register 

Instruction Cycle Question 15 Detailed Solution

Download Solution PDF

Instruction register:

  • Each instruction to be executed is loaded into the instruction register.
  • It also contains instruction that is currently being executed.


Index register:

  • Index register used to determine the address of an operand.


Memory address register (MAR):

  • Used to handle the address transferred to the memory unit.
  • MAR is a simple microprocessor needs enough bits for the address.
  • MAR holds the memory location of data that needs to be accessed.


Memory data register (MDR):

  • Also known as Memory buffer register.
  • CPU that stores the data being transferred to and from the immediate access storage.


Hence option 2 is the correct option.

Hot Links: teen patti circle teen patti joy teen patti wala game