Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For this problem, modify the hardware to include the three following instructions in the instruction set. These instructions are a combination of a jump and

For this problem, modify the hardware to include the three following instructions in the instruction set. These instructions are a combination of a jump and addi instruction.
jbdec rd,imm # X[rd] X[rd]-1; PC PC + sext(imm)
jhdec rd,imm # X[rd] X[rd]-2; PC PC + sext(imm)
jwdec rd,imm # X[rd] X[rd]-4; PC PC + sext(imm)
Example: jhdec x10,my_label # jump to my_label; increase x10 by 2
For this problem, fully describe the following:
(a) Required changes to the RISC-V MCU hardware
(b) Required changes the RISC-V assembler
(c) Required changes in RISC-V memory requirements
(d) Describe why these instructions are potentially useful
(e) Could these instructions be used to call subroutines

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

Records And Database Management

Authors: Jeffrey R Stewart Ed D, Judith S Greene, Judith A Hickey

4th Edition

0070614741, 9780070614741

More Books

Students also viewed these Databases questions

Question

socialist egalitarianism which resulted in wage levelling;

Answered: 1 week ago

Question

soyuznye (all-Union, controlling enterprises directly from Moscow);

Answered: 1 week ago