Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 13 pages
Exam (elaborations)

CSE 230 Modules 6-10 | Questions And Answers | Latest Study Solutions

Document preview thumbnail
Preview 2 out of 13 pages

CSE 230 Modules 6-10 | Questions And Answers | Latest Study Solutions

Content preview

CSE 230 Modules 6-10 | Questions And Answers |
Latest Study Solutions
The purpose of the SW instruction is to:

(6.1) ANS copy data from a register to main memory



The MIPS architecture uses a general-purpose register file and each entry stores how many bits?(6.1) ANS
32


The MIPS architecture uses main memory that is accessed using how many address bits?

(6.1) ANS 32



Which of the following instructions can be used to copy data from a register to another register?
- sw $t0
- add $t0, $t1, $zero

- lw $t0, 4($s1)
- sll $s0, $t1, 4

(6.1) ANS add $t0, $t1, $zero



The MIPS architecture uses a general-purpose register file with how many entries?

(6.1) ANS 32



In the field below, enter the integer value of the $v0 register after executing the following instruction, given the
register values
$fp = 88, $at = 93 :


xor $v0, $fp, $at

(6.2) ANS 5



In the field below, enter the integer value of the $v0 register after executing the following instruction, given the
register values
$s4 = 42, $t5 = 98 :

, nor $v0, $s4, $t5

(6.2) ANS -107



In the field below, enter the integer value of the $v0 register after executing the following instruction, given the
register values
$t2 = 30 :


addi $v0, $t2, 14648

(6.2) ANS 14678



In the field below, enter the integer value of the $v0 register after executing the following instruction, given the
register values
$zero = 0, $t7 = 109 :


sll $v0, $t7, 9

(6.2) ANS 55808



In the field below, enter the integer value of the $v0 register after executing the following instruction, given the
register values
$zero = 0 :


andi $v0, $zero, 5428

(6.2) ANS 0



Select the correct MIPS assembly implementation of the following C code decision (given i,j,k stored in $s0,
$s1 and $s2 respectively:


if (i != j)

k = i + j;
j=j-i

Document information

Uploaded on
May 2, 2025
Number of pages
13
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$14.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.
Nipsey
4.1
(377)
Sold
2117
Followers
1529
Items
15181
Last sold
3 days 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