Related Questions
- I Want Help With Coding Questions In C++
- Urgent Data Structures Term Paper Help
- Understanding The Basics Of Computer Science Principles Essay Writing Assignment
- Assignment On Principles Of Computer Science
- Which Characteristics Support A Sustainable Mis Infrastructure?
- Project For Ist - Computer Science Assignment Website Design 5 Pages
- Comptia Security+ Exam
- Networking Using Packet Tracer
- I Need Help With A Wireshark Assignment
- Can You Do Both My Comptia A+ For Me
- What Is An Algorithm In Computer Science?
- Can You Log Into My College And Do My Ucertify Labs For Each Week And Take My Final Exam?
- Which One Is True For Sprint Planning? The Work To Be Performed In The Sprint Is Planned
- The Cyberapolis Water Company Has Been Taken Over By The Carbon Spector Terrorist Organization
- Hacking Assignment- Gain Access To Admin Credentials
Popular Services
- Coursework writing help
- Term paper writing help
- Writing Help
- Paper Writing Help
- Research paper help
- Thesis Help
- Dissertation Help
- Case study writing service
- Capstone Project Writing Help
- Lab report Writing
- Take my online class
- Take my online exam
- Do my test for me
- Do my homework for me
- Do my math homework for me
- Online Assignment Help
- Do my assignment for me
- Essay Writing Help
- Write my college essay
- Write my essay for me
Post your project now for free and watch professional homework help answers experts outbid each other in just a few minutes.
Question: Mips Assembly Language
Asked
Modified
Viewed
59
Please be clear and show some work.
This order does not have tags, yet.
More Instructions
CSCI 260
Homework 2 – Assembler
The goal of this homework is to immitate an assembler. Recall that a major step in assemblers is to translate
pseudoinstructions into real instructions. Do this for each of the following instructions, where big refers to
a 32-bit immediate. Make sure to do it as efficiently as possible while following the rules (unlike previous
homeworks, where efficiency was not emphasized).
Pseudoinstruction What it accomplishes
move $sp,$fp sp←fp
addi $s5,$s5,big s5← s5+big
sw $s6,big($gp) like sw but with a 32-bit offset
ble $t2,$t3,L if t2≤t3 goto L
You may use the notation biglo and bighi to refer to the lower and upper 16 bits of big – note that this
can be determined at assembly-time since big is an immediate.
As always, the only branch-related instructions allowed in this course are slt, slti, beq, and bne (and
the various forms of jump).
Submission
Same rules as usual, password-only.
c©This may not be posted or distributed anywhere either in part or whole
Answers
0
No answers posted
Post your Answer - free or at a fee
Ask a question for free and get answers to get Computer Science assignment help with a similar task to this question.