Question: A processor from Fasto Technologies ( FT ) has 3 2 registers, uses 1 6 - bit immediates and has 1 4 2 instructions in

A processor from Fasto Technologies (FT) has 32 registers, uses 16-bit immediates and has 142
instructions in its ISA. In a given program,
20% of the instructions take 1 input register and have 1 output register.,
*30% have 2 input registers and 1 output register,
25% have 1 input register, 1 output register and take an immediate input as well,
The remaining 25% have one immediate input and 1 output register.
(1) For each of the 4 types of instructions, how many bits are required? Assume that the ISA
requires that all instructions be a multiple of 8 bits in length.
(2) How much less memory does the program take up if variable-length instruction set encoding is
used as opposed to fixed-length encoding?
 A processor from Fasto Technologies (FT) has 32 registers, uses 16-bit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!