Question: MIPS Programming 1 In this project, you are going to write a MIPS program to read an integer number and convert it to 8- bit
MIPS Programming 1 In this project, you are going to write a MIPS program to read an integer number and convert it to 8- bit signed binary in a string. Your program should do the followings: Part II (50%, due date: March 1) for negative number . Write a non-leaf function to convert a negative integer number to 2's complement in string . Two parameters: integer number, string array or pointer -Get absolute value of the negative number o Call a function that you implement from part I .Flip each binary bit of the string (do 1's complement): "o' 1 .Add 1 to LSB Repeat adding a carry to higher bit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
