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

A 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-addresssing 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?

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

Show answer & explanation

Correct answer: C. 1, 4, 8, 19

Explanation

512K words needs 19 address bits; 256 registers need 8 bits; two addressing modes need 1 bit; the opcode gets the rest: 32 − 19 − 8 − 1 = 4.

More Computer System Architecture questions