Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q. 2. A machine supports 16 bit instructions and has 32 general purpose registers. The machine supports the following types of instructions: (3+8+5 +4 20

image text in transcribed
Q. 2. A machine supports 16 bit instructions and has 32 general purpose registers. The machine supports the following types of instructions: (3+8+5 +4 20 points) 0 instructions with two register fields(Type A) 0 instructions with one register field (Type B .3 instructions with a 10 bit immediate field (Type C) (Type D) 26 instructions with no operands (a) Is it possible to design an instruction word format for this machine without expanding opcodes? If so, give a design. Ifnot, give a reason why such a design is not possible. (A design without expanding opcodes is where the entire opcode for all instructions is in a single length- invariant opcode field.) (b) Design an instruction word format for this machine using expanding opcodes. For each of the four types of instructions, draw the 16-bit instruction divide it among its components; label each with name and number of bits; and specify the particular opcode combination numbers for cach. (The choice of combinations to use is yours). (c) How many more instructions with no operands (Type D) could this machine support? Be careful to consider unused combinations in all opcode levels. (d) Suppose you need the machine to support one instruction with three register fields. Since there is not enough room in the instruction word for this new instruction, you must reduce the number o instructions currently supported. Suppose you can only afford to reduce the number of instructions of one particular type. Which type must you choose and what are the new (reduced) number of instructions of that type

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

Concepts Of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

4th Edition

0619064625, 978-0619064624

Students also viewed these Databases questions