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