added control comments

This commit is contained in:
yhp19 2020-12-02 15:43:30 +08:00
parent 27cccc28b8
commit 63b017d552

View file

@ -46,18 +46,31 @@ Memtoreg:
/* /*
Aluop: Aluop:
0: r-type instructions 0: r-type instructions
1: <0 1: <0
-BLTZAL BLTZ
2: >=0 2: >=0
-BGEZAL BGEZ
3: =0 3: =0
-BEQ
4: =/=0 4: =/=0
-BNE
5: <=0 5: <=0
-BLEZ
6: >0 6: >0
-BGTZ
7: add 7: add
-ADDIU
-all load and store instructions
8: slt (signed) 8: slt (signed)
-STLI
9: slt (unsigned) 9: slt (unsigned)
-STLIU
10: and 10: and
-ANDI
11: or 11: or
-ORI
12: xor 12: xor
-XORI
*/ */
//Commented signals represents dont care(x) //Commented signals represents dont care(x)