Instruction+Set+Architecture


 * Instruction Set**

We used the following six instructions:

1) ADDI

opcode(6) rs(5) rt(5) immediate(16) 001000

2) lw

opcode(6) rs(5) rt(5) immediate(16) 100011

3) sw

opcode(6) rs(5) rt(5) immediate(16) 101011

4) slt

opcode(6) rs(5) rt(5) rd(5) sa(5) function(6) 000000 101010

5) beq

opcode(6) rs(5) rt(5) immediate(16) 000100

6) uart

opcode(6) rs(5) 101010