mirror of
https://github.com/supleed2/ELEC50010-IAC-CW.git
synced 2024-11-10 01:35:49 +00:00
added control comments
This commit is contained in:
parent
27cccc28b8
commit
63b017d552
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue