MIPS Review Flashcards
li instruction
load immediate, loads an immediate value into a register
la instruction
load address, load memory address into a register
sll instruction
shift left logical, multiply by power of 2
opcode
The part of an instruction that specifies the operation. ex: add, j
operand
The value the operation is being performed on
syscall
A system call used to request service from operating system
What is MIPS?
A type of RISC architecture. MIPS instructions are usually 32 bits and have opcode, source registers and a destination register.
register
small high-speed storage location within CPU thats used to quickly retrieve and store data. Faster than RAM
jal
Jump and link
bgtz instruction
Branch if greater than zero, performs a jump to a specific address if the value in the register is greater than zero
beq instruction
Branch if equal, performs a branch if the values in two registers are equal
bgez instruction
Branch if greater than or equal to zero
lw instruction
load word, used to load 32 bit word from memory into register
byte-addressable
A memory system where individual bytes have unique addresses.