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
- Consider the following x86 assembly language instructions: MOV AL, 153 NEG AL The contents of the destination register AL (in 8-bit binary)…
- The decimal floating point number -40.1 represented using IEEE-754 32-bit representation and written in hexadecimal form is
- Find the boolean expression for the logic circuit shown below : (1-NAND gate, 2-NOR gate, 3-NOR gate)
- Consider a disk pack with 32 surfaces, 64 tracks and 512 sectors per pack. 256 bytes of data are stored in a bit serial manner in a sector.…
- Consider a system with 2 level cache. Access times of Level 1 cache, Level 2 cache and main 0.5 ns, 5 ns 100 ns memory are and respectively…
- CMOS is a Computer Chip on the motherboard, which is :