MIPS Code Modification
$10-30 USD
K zaplacení v momentě doručení
complete q1,q2,q3
q1.
--------------x-----------------
-x-----------xxx----------------
-xx----------x--x---------------
x--x---------x---x--------------
x---x--------x---x--------------
x----x-------x----xxxxxx--------
x-----x------x----------xx------
x------xx---x--xx--------xxxxxxx
-----x---xx--xxxx------------xx
-x---x---xx----xx---------xxxxx-
--x--x--x---x-----x---xxxx-x----
---x-x-x--------------xxxx-x----
xxx--xx---------xxxx------x-----
x---x--x---------xx----x--x-----
-x---x-x-----------------x------
--x--x-x----------------xx------
---x-xx-------------------xx----
----xx-----------------xx---x---
----x-----------------x--x---x--
---x-----------------x----xxxx--
--x-------------------x---------
--x--------------------x--------
--x-----xxxxxxxx-------x--------
---x--xx--------xx----x---------
---x--x-----------x----xx-------
--xxxx-------------xxxxxxxx-----
Modify test.s to eliminate the “j merge” instruction in the printbit procedure. In
other words, revise the procedure to use only one branch instruction.
To receive credit for this checkpoint, you need to show both your code revision and successful
output.
q2. Revise the bitcount procedure in test.s to eliminate
the beq instruction. More specifically, you can only use the one bne instruction and the one
jal instruction; no other branch or jump instructions are allowed.
Add a syscall to print_int to display temporary register $t2 before you print
the newline and return.
q3. Currently, test.s displays each 32-bit word of the given data on a line by itself, i.e., one
word per line. Extend the bitcount procedure in test.s
to display n words per line, where n is specified
as the third argument to bitcount in register $a2.
Test the code by setting $a2 to 1. Then test the code using the [login to view URL] file with $a2
set to 2. What does the output look like?
Identifikační číslo projektu: #17929209
O projektu
9 Freelnceři na tento projekt zveřejňují nabídky v průměru $45
Hello! Please check my profile and reviews to know a bit about me and my work. It would be great if I could help you out
hi i'm software developer with experience in assembly language programming. i can do this project. ping if interested
I have experience in MIPS assembler , i had programmed PIC32 Micro controllers and PLP programming Tool and QtSpim simulator note : i already finished this code If you want contact me
hello i read instruction that is given in this project please provide more detail for the project i have done number of project i will provide 5 star rating work thanks less