100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

Registers in MIPS Review Exam Study Question Fully Solved.

Rating
-
Sold
-
Pages
2
Grade
A+
Uploaded on
22-08-2024
Written in
2024/2025

register number $0 - correct answer $zero, permanently zero register number $1 - correct answer $at, assembler temporary registers number $2, $3 - correct answer $v0, $v1, value return by subroutine register number $4-$7 - correct answer $a0 - $a3, arguments to a subroutine register number $8-$15 - correct answer $t0-$t7, temporary registers register numbers $16 - $23 - correct answer $s0 - $s7, saved registers register numbers $24, $25 - correct answer $t8, $t9, temporary registers register number $28 - correct answer $gp, global pointer register number $29 - correct answer $sp, stack pointer register number $31 - correct answer $ra, Return address calling conventions $a0-$a3 - correct answer four argument registers in which to pass parameters calling conventions $v0-$v1 - correct answer two value registers in which to return values calling conventions $ra - correct answer one return address register to return to the point of origin

Show more Read less
Institution
MIPS
Course
MIPS

Content preview

Registers in MIPS
register number $0 - correct answer $zero, permanently zero



register number $1 - correct answer $at, assembler temporary



registers number $2, $3 - correct answer $v0, $v1, value return by subroutine



register number $4-$7 - correct answer $a0 - $a3, arguments to a subroutine



register number $8-$15 - correct answer $t0-$t7, temporary registers



register numbers $16 - $23 - correct answer $s0 - $s7, saved registers



register numbers $24, $25 - correct answer $t8, $t9, temporary registers



register number $28 - correct answer $gp, global pointer



register number $29 - correct answer $sp, stack pointer



register number $31 - correct answer $ra, Return address



calling conventions $a0-$a3 - correct answer four argument registers in which
to pass parameters



calling conventions $v0-$v1 - correct answer two value registers in which to
return values

Written for

Institution
MIPS
Course
MIPS

Document information

Uploaded on
August 22, 2024
Number of pages
2
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
RealGrades Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
172
Member since
2 year
Number of followers
52
Documents
11829
Last sold
2 weeks ago

4.0

26 reviews

5
12
4
5
3
7
2
1
1
1

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions