Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A 16-bit Ridiculously Simple Computer (RiSC-16) defined originally at Michigan University has the below ISA description. rA, rB, and rC represent general purpose registers in

A 16-bit Ridiculously Simple Computer (RiSC-16) defined originally at Michigan University has the below ISA description. rA, rB, and rC represent general purpose registers in the given table (A, B, C are unsigned integers encoding register numbers), except r0 is a constant (hardwired) zero register as in MIPS. There are three instruction formats available: Register-Register-Register (RRR), Register-Register-Immediate (RRI), and Register-Immediate (RI). For RRI type, the immediate (immed) operand can have a value from -64 to 63, represented using 2s complement. The immediate (immed) operand can have a value between 0 and 0x3FF (inclusive) for the RI type. The memory is short-word (16 bit) addressable.

image text in transcribed

i) Considering the ISA design principles carefully, sketch a viable instruction format for each of the types RRR, RRI, and RI. Indicate the size of each field in bits, and mark any unused field with a . ii) What is the ISA design compromise made in this machine associated with the number of instructions? Explain. iii) What is the ISA design principle followed in implementing the jalr instruction (which of the available three formats might it use)? Explain.

Assembly-Code Format Meaning add addi regA, regB, immed nandregA, regB, regC lui regA, regB, regC R[regA] Mem RregB immed ] RregA] Mem RregB immed ] RregA]

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_2

Step: 3

blur-text-image_3

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

Databases Illuminated

Authors: Catherine M Ricardo, Susan D Urban

3rd Edition

1284056945, 9781284056945

More Books

Students also viewed these Databases questions