Question
Download Solution PDFA Computer uses a memory unit with 256K word of 32 bits each. A binary instruction code is stored in one word of memory. The instruction has four parts: an indirect bit, an operation code and a register code part to specify one of 64 registers and an address part. How many bits are there in operation code, the register code part and the address part?
Answer (Detailed Solution Below)
Detailed Solution
Download Solution PDFData:
1 word = 32 bits = 4 bytes
Memory size = 256K word = 218 word
Indirect bits = 1
Number of registers = n = 64
Formula:
Number of bits needed to present a register = ⌈log2 n⌉
Calculation:
Number of bits needed to present a register = ⌈log2 64⌉ = 6
Binary Instruction (32 bit):
Indirect bit (1-bit) |
Operation Code (x-bits) |
Register Code (6-bits) |
Address Part (18-Bits) |
1 + x + 6 + 18 = 32
∴ x = 7
Therefore 7,6 and 18 bits are there in operation code, the register code part and the address part respectively.
Last updated on Jul 6, 2025
-> The UGC NET Answer Key 2025 June was released on the official website ugcnet.nta.ac.in on 06th July 2025.
-> The UGC NET June 2025 exam will be conducted from 25th to 29th June 2025.
-> The UGC-NET exam takes place for 85 subjects, to determine the eligibility for 'Junior Research Fellowship’ and ‘Assistant Professor’ posts, as well as for PhD. admissions.
-> The exam is conducted bi-annually - in June and December cycles.
-> The exam comprises two papers - Paper I and Paper II. Paper I consists of 50 questions and Paper II consists of 100 questions.
-> The candidates who are preparing for the exam can check the UGC NET Previous Year Papers and UGC NET Test Series to boost their preparations.