GATE EC 2024 Set 1 — Question 27
Go beyond PYQs with Success TrackerAI-powered personalised practice and doubt support. Unlimited practice on eligible plans; AI usage limits apply.NAT+1 / -0MediumMachine Instructions & AddressingComputer OrganizationDigital Circuits
Digital Circuits → Computer Organization → Machine Instructions & Addressing
Last updated
Question
A machine has a -bit architecture with -word long instructions. It has registers and supports an instruction set of size . 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 ________.
Correct answer
2047 to 2047
Solution
To find the maximum value of the immediate operand, we first need to determine the number of bits allocated to it within the -bit instruction.
1.Instruction Length: In a -bit architecture, a -word long instruction is bits.
2.Opcode Field: The instruction set size is . To uniquely identify different opcodes, we need:
3.Register Identifier Fields: There are registers. To uniquely identify each register, we need:
4.Total Bits for Fixed Fields: The instruction contains one opcode, two source register identifiers, and one destination register identifier.
5.Immediate Value Field: The remaining bits in the -bit instruction are used for the immediate value.
6.Maximum Value: For an -bit unsigned integer, the maximum value is:
Thus, the maximum value of the immediate operand is .Continue learning with Success Tracker
A step still unclear? Work through it with support
Use Success Tracker to ask about the reasoning, then try another GATE EC question to check your understanding.
AI-powered practice· Unlimited practice on eligible plans
- PYQs with solutions
- Attempt available previous-year questions, then compare your reasoning with the worked solution. Coverage varies by stream.
- Practice that adapts
- Choose a topic, work on weaker areas and bookmark questions to revisit. Your attempts feed your progress tracking.
- AI doubt support
- Ask follow-up questions about a step or concept while practising, instead of stopping at the final answer.
Unlimited practice is available on eligible plans. Free practice and AI usage have limits; check the current plan allowances before choosing.
This page stays readable without an account. AI responses can be wrong; check them against the solution and source material.
More questions on Computer Organization
2026 Set 1 Q20In the circuit shown in the Figure, A and B are logic inputs and Y is the logic output. Which of…2026 Set 1 Q27A binary ripple counter is designed to count to . Which of the following…2026 Set 1 Q35The negative edge triggered JK flip-flop in the Figure has J and K inputs tied to Logic High and a…2026 Set 1 Q42The address of the first location of a 256 kilo byte (KB) memory is . Choose the correct…2026 Set 1 Q45What is the complement of ?