Digital Electronics
Computer Organisation
Practice questions from Computer Organisation.
1
Total0
Attempted0
Correct0
IncorrectA 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______.
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








