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 ...
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
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
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
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.