---
# System prepended metadata

title: Untitled

---

R-Type
| Instruction | Opcode | Funct | Rt |
|-----|-----|--------|-------------------
| add         | 000    | 000   | rt |
| addc        | 000    | 001   | rt |
| sub         | 000    | 010   | rt |
| subc        | 000    | 011   | rt |
| shl         | 000    | 100   | rt |
| shlc        | 000    | 101   | rt |
| shr         | 000    | 110   | rt |
| shrc        | 000    | 111   | rt |
| eq          | 001    | 000   | rt |
| ne          | 001    | 001   | rt |
| lt          | 001    | 010   | rt |
| gt          | 001    | 011   | rt |
| le          | 001    | 100   | rt |
| ge          | 001    | 101   | rt | 
| mov         | 010    | 000   | rt |
| br          | 010    | 001   | rt |
| halt        | 010    | 111   | rt |

I-Type
| Instruction | Opcode | Imm. (6-bit) |
|-------------|--------|--------------|
| sw          | 011    | imm          |
| lw          | 100    | imm          |
| movi        | 101    | imm          |
| addi        | 110    | imm          |
| b           | 111    | imm          |