100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CDA3100 Quiz 4, 5, 6, 7 (Mips Assembly) (fsu) Review Exam Questions And Answers. $12.99   Add to cart

Exam (elaborations)

CDA3100 Quiz 4, 5, 6, 7 (Mips Assembly) (fsu) Review Exam Questions And Answers.

 7 views  0 purchase
  • Course
  • MIPS
  • Institution
  • MIPS

What does RISC stand for? - correct answer Reduced Instruction Set Computer Which one of the following is a principle of RISC? - correct answer Load-store instruction sets RISC incorporates several of ...

[Show more]

Preview 2 out of 8  pages

  • August 22, 2024
  • 8
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • MIPS
  • MIPS
avatar-seller
RealGrades
CDA3100 Quiz 4, 5, 6, 7 (Mips Assembly)
(fsu)

What does RISC stand for? - correct answer Reduced Instruction Set Computer



Which one of the following is a principle of RISC? - correct answer Load-store
instruction sets



RISC incorporates several of the principles of the 8 Great Architecture ideas. One of them is that Make
the Common Case __________________. - correct answer Faster



How many general purpose registers are available in MIPS Assembly? - correct answer
32



Each MIPS Assembly line can contain: - correct answer A directive, and
instruction plus a comment



A label in MIPS Assembly must__________________ - correct answer Be the
first thing on a line and end in a semicolon (:).



(It's actually just a colon....)



A MIPS assembly program has two parts. The first part contains the data and is identified by the
____________ directive. - correct answer .data



The ____________ directive tells the MIPS assembly program that starting point of the program. -
correct answer .globl



The _______________ directive allows you to allocate memory 32 bits or 4 bytes at a time. - correct
answer .asciiz

, The _________ directive places a null terminator at the end of a character string. - correct answer
.asciiz



(There are others that work. .byte, .space, .string)



What does the following instruction perform?

li $s1,10 - correct answer Loads the integer value 10 into register $s1



What is the value of Register $s1 after the following set of instructions?

li $s1,10

addiu $s1,$s1,10 - correct answer 20



What is the difference between the ADD and ADDU instruction? - correct answer
The ADDU allows negative numbers but does not check for overflow.



Why is there no Subtract Immediate in MIPS? - correct answer It would be
redundant because you can add negative immediate numbers using the ADDI or ADDIU instruction.



What is the result of the following Code Segment?

.data

MSG1: .asciiz "Hello World"

.text

.globl main

main:

li $v0,4

la $a0,MSG1

syscall

jr $ra - correct answer Prints Hello World

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)

76799 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