UGC NET CS 2019Computer System Architecture › Basic Computer Organization and DesignVerified
UGC NET CS 2019 PYQ: A computer uses a memory unit of $512\:K$ words of 32 bits each. A binary instruction code is stored in one…
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-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?
- A$1, 3, 9, 19$
- B$1, 4, 9, 18$
- C$1, 4, 8, 19$Correct answer
- D$1, 3, 8, 20$
Answer
(C) $1, 4, 8, 19$
Approach
Compute the bits of each field from the sizes and subtract from the 32-bit word for the opcode.
Reviewed by UGC IQ Editorial Team.