Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

uppose we had a CPU design that can only do addq instructions as presented in the lecture, and we want to augment it to also

image text in transcribed

uppose we had a CPU design that can only do addq instructions as presented in the lecture, and we want to augment it to also support a new increment instruction: ncq REGISTER Question 1 (4 points) (see above) Which machine code encoding for this instruction would be possible to implement and require the fewest changes to the logic between the instruction memory and the register file A. 1 byte total; first byte: 0xx (most sig 4 bits), register number (least sig 4 bits); B. 1 byte total; first byte: register number (most significat 4 bits), 0xF (least sig 4 bits) C. 2 bytes total; first byte: 0xE0; second byte: 0xF (most sig 4 bits), register number (least sig 4 bits) D. 2 bytes total; first byte: 060; second byte: 01 (most sig 4 bits), register number (least sig 4 bits) E. none of the above; none of these are possible to implement Comments: Question 2 ( 3 points) (see above) To implement this instruction memory, we would likely add a new MUX to control Select all that apply. A. the address input to the instruction memory (pc in HCLRS) B. the register value input to the register file (reg_inputB or reg_inputM in HCLRS) C. one of the inputs into the ALU

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

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

Students also viewed these Databases questions

Question

What are the factors that influence make or buy decisions ?

Answered: 1 week ago