The addressing mode of the instruction ADD R1,(R2)+
Immediate addressing mode
Absolute addressing mode
Auto increment addressing mode
None of these
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Consider a non-pipelined processor design which has cycle time of 20ns. The maximum speedup pipelined processor can get by pipelining it into 5 stages and each stage takes 4ns is______________?
5
6
10
7
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Which of the following is/are the characteristic/s used in the design of a RISC computer? [MSQ]
Register-to-register arithmetic operations only
Variable length instruction format
Fewer addressing modes
Several clock cycles may be required to execute an instruction
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.00
A pipeline system overlaps all kinds of instructions except branch instructions. Branch instructions introduce 4 stall cycles. If there exist 30% branch instructions, what will be the CPI?
4.1
2.2
5.3
3.4
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
A processor has 150 distinct instructions and 50 general purpose registers. A 32-bit instruction word has an opcode, two register operands and an immediate operand. The number of bits available for the immediate operand field is__________
12
13
14
11
Difficulty Level: 1
Positive Marks: 1.00
Negative Marks: 0.33
Consider a pipelined processor having 5 stages. The stage delays are 1, 1.4, 1.2, 3.2, 2ns and interstage buffer delays are 1ns. The 3rd stage is capable of deciding the branch target address. Processor starts fetching new instruction when the conditional branch outcome is known. 30% of instructions are conditional branches, then calculate the execution time for 1200 instructions?
8064ns
4830ns
7680ns
5820ns
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
A 5-stage pipelined processor has Instruction Fetch (IF), Instruction Decode (ID), Operand Fetch (OF), Perform Operation (PO) and Write Operand (WO) stages. The IF, ID, OF and WO stages take 1 clock cycle each for any instruction. The PO stage takes 1 clock cycle for ADD and SUB instructions, 3 clock cycles for MUL instruction and 6 clock cycles for DIV instruction respectively.

I0: ADD R2, R0,R1 (The operation is R2←R0+R1)

I1: SUB R5, R3,R4 (The operation is R5←R3-R4)

I2: MUL R2, R5,R2 ( The operation is R2←R5*R2)

I3: DIV R5, R2,R6 (The operation is R5←R2/R6 )

What is the number of clock cycles needed to execute the above sequence of instructions?

15
13
17
19
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
A processor has 64 registers and uses 16-bit instruction format. It has two types of instructions: I-type and R-type. Each I-type instruction contains an opcode, a register name, and a 5-bit immediate value. Each R-type instruction contains an opcode and two register names. If there are 8 distinct I-type opcodes, then the maximum number of distinct R-type opcodes is ____
12
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.00
The 5 stages of processor fetch, decode, execute, memory and writeback have the following delays 110, 240, 160, 220 and 320 nanoseconds respectively. Assume that when pipelining, each pipeline stage costs 25ns extra for the registers between pipeline stages. If one of the pipeline stages is split into 2 equal halves to increase the throughput, what is the new throughput (in Million Instructions per second)?
10 MIPS
3.77 MIPS
5.22 MIPS
6.55 MIPS
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Consider a system with cycles per instruction (CPI) is 1.0 when all memory accesses hit in the cache. The only data accesses are loads and stores, and these are 50% of the total instructions. If the miss penalty is 30 clock cycles and the miss rate is 4%, how much faster would the computer be if all instructions were cache hits?
1
2.8
1.6
3.5
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
How many memory accesses are required by the following instructions?

SUB r1, r2, r3

MUL r1, r2, (r3)

DIV r1, r2, @(r4)

Suppose every instruction is one word long, as well as every address.

4
6
9
8
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Consider the following expression and identify minimum number of registers required to implement the following expression

(a+b)+(e-(c+d))*f

6
4
3
2
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66
Consider the program which was made to run on two different machines. The machine-2 takes 20% less overall time compared to machine-1 however the CPI of 2nd machine is 25% more than the CPI of machine 1. If the clock frequency of the machine 1 is 2 MHZ what is the clock frequency of machine 2?
2.5 MHz
3.125 MHz
3.5 MHz
4 MHz
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66

How long will it take to completely process two software instructions in a pipelined processor?

2500 ps
3000 ps
2700 ps
1750 ps
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66

Try to improve performance of the above pipeline, you have decided to break up 2 of the above stages into half. What is the maximum speedup achieved in the new pipeline system to execute two instructions?

2.85
2.56
1.17
1.54
Difficulty Level: 1
Positive Marks: 2.00
Negative Marks: 0.66