Loading...

Loading, please wait...

Back to Topics

Digital Electronics
Computer Organisation

Practice questions from Computer Organisation.

1
Total
0
Attempted
0%
0
Correct
0%
0
Incorrect
0%
Q#1 Computer Organisation GATE EC 2024 (Set 1) NAT +1 mark -0 marks

A machine has a 32-bit architecture with 1-word long instructions. It has 24 registers and supports an instruction set of size 40. Each instruction has five distinct fields, namely opcode, two source register identifiers, one destination register identifier, and an immediate value. Assuming that the immediate operand is an unsigned integer, its maximum value is______.

Explanation:

Given 32-bit architecture {1 word long instructions}

1 word =32-bits

Number of registers = 2, bits required  

Number instructions = 40

 Opcode bits would be          

 

n = 6-bits

Each register field requires 5-bits.

Instruction format would be

 Immediate value bits = 32 – (6 + 5 + 5 + 5)

= 32 – 21

= 11-bits  

The range of unsigned values

 

 Maximum unsigned integer = 2047