Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question # 2 addi $t0,$t0,400 21/ This will add 400 toto il A lw $87, O($t0) This will load the value from the as

Question # 2 image text in transcribed
addi $t0,$t0,400 21/ This will add 400 toto il A lw $87, O($t0) " This will load the value from the as addi $87, $87,1 sw $7,($t1) (4 11 This will incrense value by one" subi $t0, $t0, 4 S ul This will store Valve to the other bne $t1 $s0 A all This will substract indes by 0 " This will loop untill tl is 2. You are tasked with designing a CPU with 40-bit wordsize. You are using a RISC instruction set, similar to MIPS, with about 300 instruction codes. You will need at least R-format (3 register and instruction code) and I-format (2 register, a 20 bit data field and instruction code). Draw a diagram of fields in each 40 bit instruction format, label each field with its function and size. How many registers do you have? Are the registers all usable in every instructic position (general purpose, like MIPS), or are some registers special purpose? On a 32-bit MIPS machine, you need to execute the following single-pre loating point arithmetic instructions: 1. 3.5e25 * 3.5e25 / 12.0c20

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

Database Design For Mere Mortals

Authors: Michael J Hernandez

4th Edition

978-0136788041

More Books

Students also viewed these Databases questions