aboutsummaryrefslogtreecommitdiff
path: root/instructions.md
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-11-21 13:17:18 +0100
committerKarel Kočí <cynerd@email.cz>2017-11-21 13:17:18 +0100
commit68f2af6801756980ec53347c0acb7fcc292f7939 (patch)
tree0c2172c97031df658261ffb79b48db11ebdd0877 /instructions.md
parentf0ad502e4651243d6a96194b3393bd460c0f7fc9 (diff)
downloadqtmips-68f2af6801756980ec53347c0acb7fcc292f7939.tar.gz
qtmips-68f2af6801756980ec53347c0acb7fcc292f7939.tar.bz2
qtmips-68f2af6801756980ec53347c0acb7fcc292f7939.zip
Add list of all implemented instructions
Diffstat (limited to 'instructions.md')
-rw-r--r--instructions.md141
1 files changed, 141 insertions, 0 deletions
diff --git a/instructions.md b/instructions.md
new file mode 100644
index 0000000..ccc16bc
--- /dev/null
+++ b/instructions.md
@@ -0,0 +1,141 @@
+Instructions
+============
+This is list of all MIPS1 instructions and their implementation status in QtMips.
+
+CPU Arithmetic Instruction
+--------------------------
+* [ ] ADD
+* [ ] ADDI
+* [ ] ADDIU
+* [ ] ADDU
+* [ ] CLO
+* [ ] CLZ
+* [ ] DIV
+* [ ] DIVU
+* [ ] MADD
+* [ ] MADDU
+* [ ] MSUB
+* [ ] MSUBU
+* [ ] MUL
+* [ ] MULT
+* [ ] MULTU
+* [ ] SLT
+* [ ] SLTI
+* [ ] SLTIU
+* [ ] SLTU
+* [ ] SUB
+* [ ] SUBU
+
+CPU Branch and Jump Instructions
+--------------------------------
+* [ ] B
+* [ ] BAL
+* [ ] BEQ
+* [ ] BGEZ
+* [ ] BGEZAL
+* [ ] BGTZ
+* [ ] BLEZ
+* [ ] BLTZ
+* [ ] BLTZAL
+* [ ] BNE
+* [ ] J
+* [ ] JAL
+* [ ] JALR
+* [ ] JR
+
+CPU Instruction Control Instruction
+-----------------------------------
+* [ ] NOP
+* [ ] SSNOP
+
+CPU Load, Store and Memory Control Instructions
+-----------------------------------------------
+* [ ] LB
+* [ ] LBU
+* [ ] LH
+* [ ] LHU
+* [ ] LL
+* [ ] LW
+* [ ] LWL
+* [ ] LWR
+* [ ] PREF
+* [ ] SB
+* [ ] SC
+* [ ] SD
+* [ ] SH
+* [ ] SW
+* [ ] SWL
+* [ ] SWR
+* [ ] SYNC
+
+CPU Logical Instructions
+------------------------
+* [ ] AND
+* [ ] ANDI
+* [ ] LUI
+* [ ] NOR
+* [ ] OR
+* [ ] ORI
+* [ ] XOR
+* [ ] XORI
+
+CPU Move Instruction
+--------------------
+* [ ] MFHI
+* [ ] MFLO
+* [ ] MTHI
+* [ ] MTHO
+* [ ] MOVN
+* [ ] MOVZ
+* MOVF, MOVT won't be implemented as floating coprocessor won't be implemented
+
+CPU Shift Instructions
+----------------------
+* [ ] SLL
+* [ ] SLLV
+* [ ] SRA
+* [ ] SRAV
+* [ ] SRL
+* [ ] SRLV
+
+CPU Trap Instructions
+---------------------
+Following instruction will be implemented but only as dummy ones as we are not
+implementing privileged instructions. They will all result to exception and core
+execution stop.
+
+* [ ] BREAK
+* [ ] TEQ
+* [ ] TEQI
+* [ ] TGE
+* [ ] TGEI
+* [ ] TGEIU
+* [ ] TGEU
+* [ ] TLT
+* [ ] TLTI
+* [ ] TLTIU
+* [ ] TLTU
+* [ ] TNE
+* [ ] TNEI
+* SYSCALL won't be implemented at all
+
+Obsolete CPU branch instructions
+--------------------------------
+None of these instructions will be implemented as they are marked as obsolete and
+they shouldn't be used by compiler and the same way by programmers.
+
+FPU Instructions
+----------------
+No FPU instruction will be implemented as no FPU is planned to be implemented.
+
+Coprocessor Instructions
+------------------------
+None of these will be implemented as coprocessor 2 won't be implemented.
+
+Privileged instructions
+-----------------------
+None of these will be implemented as privileged state won't be implemented.
+
+EJTAG Instructions
+------------------
+No instruction will be implemented as no ejtag support.