Question
Download Solution PDFA computer uses a memory unit of 512 K words of 32 bits each. A binary instruction code is stored in one word of the memory. The instruction has four parts: an addressing mode field to specify one of the two-addressing mode (direct and indirect), an operation code, a register code part to specify one of the 256 registers and an address part. How many bits are there in addressing mode part, opcode part, register code part and the address part?
Answer (Detailed Solution Below)
Detailed Solution
Download Solution PDFData:
Memory unit = 512 K words
1 word = 32 bits = 4 B
Binary instruction code stored in 1 word of memory
Instruction divided as follows,
Addressing mode |
Operation code |
Register code |
Address part |
Calculation:
Addressing mode = 1 bit for direct or indirect
Register code = ln (256) = 8 bits
Since, registers are already addressed, only memory needs to be addressed
Address part = ln (512 K) = 19 bits
Operation mode = 32 – 1 – 8 – 19 = 4 bits
Therefore, bits for addressing mode part, opcode part, register code part and the address part = (1, 4, 8, 19)
Last updated on Jul 7, 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.