---
# System prepended metadata

title: MIPS Assembly

---

# MIPS Assembly

**sra    op_1, op_2, shift** :
- `op_1` = `op_2 >> shift`

**sll    op_1, op_2, shift** :
- `op_1` = `op_2 << shift`

**sb    op_1, (op_2)** : 
- `*op_2` = `op_1`

**lb    op_1, (op_2)** : 
- `op_1` = `*op_2`

**andi op_1, op_2, op_3** : 
- `op_1` = `op_2 & op_3`

**or op_1, op_2, op_3** : 
- `op_1` = `op_2 | op_3`
