MIPS Code Modification

Ukončen Zveřejněno před 5 lety K zaplacení v momentě doručení
Ukončen 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?

Shromažďování Programování v C C++ programování x86/x64 Assembler

Identifikační číslo projektu: #17929209

O projektu

9 nabídek Projekt na dálku Aktivní před 5 lety

9 Freelnceři na tento projekt zveřejňují nabídky v průměru $45

raulbehl

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

$35 USD za 1 den
(70 Recenzí)
5.7
usmanshery

hi i'm software developer with experience in assembly language programming. i can do this project. ping if interested

$60 USD za 3 dní
(83 Recenzí)
5.5
loi09dt1

Your proposal is your chance to make a good first impression with the employer! Make it count! Your proposal is your chance to make a good first impression with the employer! Make it count! Your proposal is your Další

$50 USD za 1 den
(27 Recenzí)
4.9
ganapathi92

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

$25 USD za 1 den
(10 Recenzí)
3.5
mukesh30march

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

$88 USD za 1 den
(7 Recenzí)
2.9
mkduga

I have plenty of experience with projects like this in MIPS assembly and I can easily help you finish this. Question: Is the graphic you have in the question supposed to print out? Please let me know if you ahve Další

$60 USD za 1 den
(1 recenze)
2.2
azfartariq

I have read the questions, they are quite easy. I hope, I will do it in less than a day.

$20 USD za 1 den
(0 Recenzí)
0.0