• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 4 pages
Exam (elaborations)

Cda 3100 Module 2

Document preview thumbnail
Preview 1 out of 4 pages

The MIPS language supports 23 specific opcodes. - Answer- false it is 50 specific opcodes but 23 general opcodes Comments in MIPS are exactly like C comments. - Answer- naur Which character(s) indicate(s) the beginning of a comment in MIPS? - Answer- # its a # What character indicates a register in MIPS? - Answer- $ How many registers does MIPS support? - Answer- 32 How many argument registers are available in MIPS? - Answer- 4 How many saved registers are available in MIPS? - Answer- 8 How many temporary registers are available in MIPS? - Answer- 10 What is the purpose of register $29? - Answer- points to top of stack Is MIPS stores data in memory using the Little Endian format? - Answer- no big endian How many bytes comprise a word in MIPS? - Answer- 4 Which instruction format represents the majority of MIPS instructions? - Answer- R-TYPE How many registers are required for a typical R-type instruction? - Answer- 3 destination and 2 source registers What does the first register in an R-type instruction indicate? - Answer- Which register to store the result What are the contents of registers $t0, $t1, and $t2 after the command add $t0, $t1, $t2 is executed? Note: The original C statement was int c = a + b; // a = 4, b = 2 - Answer- $t0 = 6, $t1 = 4, $t2 = 2 How many MIPS statements are required to implement the following C statement? int a = (b - c) + (d + e) - Answer- 3 Using the information below, what value is stored in register $t0 after executing the MIPS


Document information

Uploaded on
June 23, 2023
Number of pages
4
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
GEEKA
3.8
(379)
Sold
2234
Followers
1451
Items
63233
Last sold
6 hours ago



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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.