Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q ( 4 ) A given processor has 3 2 registers, uses 1 6 - bit immediate numbers and has 1 4 2 instructions in

Q(4) A given processor has 32 registers, uses 16-bit immediate numbers 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, and the remaining 25% have one immediate input and 1 output register. a) 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. b) How much less memory does the program take up if variable-length instruction set encoding is used as opposed to fixed-length encoding?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Oracle Solaris 11 System Administration

Authors: Bill Calkins

1st Edition

0133007170, 9780133007176

More Books

Students also viewed these Databases questions

Question

Timeline for implementation report

Answered: 1 week ago