A digital computer has a memory unit with a 32-bit instruction and a register file with 64
Question:
A digital computer has a memory unit with a 32-bit instruction and a register file with 64 registers. The instruction set consists of 130 different operations. There is only one type of instruction format, with an opcode part, a register ile address, and an immediate operand part. Each instruction is stored in one word of memory.
(a) How many bits are needed for the opcode part of the instruction?
(b) How many bits are left for the immediate part of the instruction?
(c) If the immediate operand is used as an unsigned address to memory, what is the maximum number of words that can be addressed in memory?
(d) What are the largest and the smallest algebraic values of signed 2s complement binary numbers that can be accommodated as an immediate operand?
Step by Step Answer:
Logic And Computer Design Fundamentals
ISBN: 9780133760637
5th Edition
Authors: M. Morris Mano, Charles Kime, Tom Martin