All mock tests are FREE till 31 December — register to save your progress
Unit 2 · Computer System Architecture Paper 2 CS · December 2018

A computer uses a memory unit with 256K words 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, a register code part to specify one of 64 registers, and an address part. How many bits are there in the operation code, the register code part and the address part?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. 7,6,18

Explanation

256K = 2¹⁸ words, so the address needs 18 bits; 64 registers need 6 bits; the indirect bit takes 1. Opcode = 32 − 1 − 6 − 18 = 7.

More Computer System Architecture questions