Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

oppose the the MIPS ISA which has 32 registers) write an assembly program using our own instructions from the instruction set.pdf document which fulfills the

image text in transcribed

oppose the the MIPS ISA which has 32 registers) write an assembly program using our own instructions from the instruction set.pdf document which fulfills the following tasks and turn in the assembly code: . Initialize address 0x9 and 0x10 of Data Memory with values 0xFE and 0x11 respectively. . Detect the sign of numbers that you stored in address 0x9 and 0x10 of Data Memory and store a flag indicating their sign in address 0x11 and 0x12 of Data Memory respectively. For negative sign store 0x80 and for positive sign store 0x00 as sign indicator flag. XOR the sign flags together and store the result in address 0x13 of Data Memory. . Take the absolute value of the negative number (0xFE). Store the result in address 0x14 of Data Memory. Please note that the numbers are in two's complement format. Also, since you not have yet created the hardware unit for branching, you are not allowed to use j-type instruction like beq and bne in your code for this prelab

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

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

More Books

Students also viewed these Databases questions