Question: Q ( 4 ) A given processor has 3 2 registers, uses 1 6 - bit immediate numbers and has 1 4 2 instructions in
Q A given processor has registers, uses bit immediate numbers and has instructions in its ISA. In a given program: of the instructions take input register and have output register, have input registers and output register, have input register, output register and take an immediate input as well, and the remaining have one immediate input and output register. a For each of the types of instructions, how many bits are required? Assume that the ISA requires that all instructions be a multiple of bits in length. b How much less memory does the program take up if variablelength instruction set encoding is used as opposed to fixedlength encoding?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
