A digital computer has a memory unit with 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 part, a register file address, and an immediate operand part.Each instruction is stored in one word of memory.
I have the answers but I don't know how to solve
a) How many bits are left for the immediate part of the instruction? (Answer: 18 bits)
b) 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? )Answer : 262,144)
c) What are the largest and smallest algebraic values of signed 2s complement binary numbers that can be accommodated as an immediate operand? ( Answer: +131,071 and –131,072)
Thank you.
I have the answers but I don't know how to solve
a) How many bits are left for the immediate part of the instruction? (Answer: 18 bits)
b) 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? )Answer : 262,144)
c) What are the largest and smallest algebraic values of signed 2s complement binary numbers that can be accommodated as an immediate operand? ( Answer: +131,071 and –131,072)
Thank you.