100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CSc 256 MIPS Assembly Instructions Certification Exam Example Questions And Answers. $12.99   Add to cart

Exam (elaborations)

CSc 256 MIPS Assembly Instructions Certification Exam Example Questions And Answers.

 8 views  0 purchase
  • Course
  • MIPS
  • Institution
  • MIPS

Instruction Set - correct answer the vocabulary of commands understood by a given architecture. MIPS operands - correct answer 32 registers 2^30 memory words Register #0: $zero used for - correct answ...

[Show more]

Preview 2 out of 8  pages

  • August 22, 2024
  • 8
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • MIPS
  • MIPS
avatar-seller
RealGrades
CSc 256 MIPS Assembly Instructions

Instruction Set - correct answer the vocabulary of commands understood by a
given architecture.



MIPS operands - correct answer 32 registers

2^30 memory words



Register #0: $zero used for - correct answer constant zero



Registers # 2 and 3: $v0 and $v1 used for - correct answer Expression
evaluation and

results of a function



Registers# 4,5,6,7: $a0, $a1, $a2, $a3 used for - correct answer Argument 1

Argument 2

Argument 3

Argument 4



Registers # 8,9,10,11,12,13,14,15: $t0-$t7 used for - correct answer Temporary
(not preserved across call)



Registers # 16,17,18,19, 20, 21,22, 23: $s0-$s7 are used for - correct answer
Saved temporary (preserved across call)



Registers # 24,25: $t8, $t9 used for - correct answer Temporary (not preserved
across call)



Register #28: $gp used for - correct answer Pointer to global area

, Register #29: $sp used for - correct answer Stack pointer



Register#30: $fp (or $s8) used for - correct answer Frame pointer



Register#31: $ra used for - correct answer Return address (used by function
call)



Word - correct answer The natural unit of access in a computer, a group of 32
bits, corresponds to the size of the register in MIPS architecture. Words are multiples of bytes. There are
4 bytes in a word. Each byte is 8 bits.



Data transfer instruction - correct answer a command that moves data
between memory and registers



Address (memory address) - correct answer a value used to delineate the
location of a specific data element within a memory array



Memory - correct answer a large single-dimensional array, with the address
acting as the index to that array, starting at 0.



Load word ( lw ) - correct answer data transfer instruction that copies data
from memory to a register. Format:

name of operation + register to be loaded+ memory address [offset constant and register used to access
memory (base register)].



MIPS addresses for words - correct answer Multiples of 4. To get a proper byte
address, the offset to be added to the base register (register used to form an address) is X times 4. The
addresses (array index) are 0, 4, 8, 12,16 and so on



Store word - correct answer copies data from register to memory

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller RealGrades. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $12.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

78121 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$12.99
  • (0)
  Add to cart