CS 350 INTRODUCTION TO MIPS ASSEMBLY LANGUAGE
Types of MIPS | Memory Instructions | Arithmetic Instructions | Branch/Jump Instructions
Three types of MIPS Instructions
1) Memory-reference instructions (used in I type datapath)
Include instructions such as:
lw (load word)
sw (store word)
2) Arithmetic-logical instructions (used in R type datapath)
add (for addition)
sub (for subtraction)
3) Branch and Jump instructions (used in J type datapath)
bne (branch not equal)
beq (branch equal)
j (jump)
Types of MIPS | Memory Instructions | Arithmetic Instructions | Branch/Jump Instructions