Exam 1 Flashcards
(51 cards)
instruction
A single command to a computer
Machine language
binary coding of isntructions
Each ISA…
has a fixed set of instructions that the CPU can read
Assembly Language (asm)
human readable textual representation of machine language
almost one to one
CPU can…
Read a list of instructions
Turing complete (solve any computationally solvable problem)
CPU _____
Ram _______
Does, remembers
Registers
small, fast, temp memory inside CPU
The CPU can only…
operate on data in registers
run programs in memory
MIPS has…
32 registers
Arguments
a registers
inputs to a function
Return Values
v registers
returns from function
used for syscall
Temporaries
t registers
Saved (stack)
s registers
SAFE PLACE
Zero
register that always contains zero
Load
put value into a register
immediate
a constant value written inside the instruction
Load into _____
Store into ______
register, variable
Variables are in …
memory
Load into …
register
Store into …
memory
Every variable
has 2 parts (address and value)
Loads copy data from…
memory into CPU registers
Stores copy data from…
CPU registers into memory
Address of any value
is the address of its 1st byte