Permalink
Browse files

Updated the way to add new commands

  • Loading branch information...
Aryan Mann
Aryan Mann committed Nov 23, 2018
1 parent dd4c2a4 commit 6d0fa762ddce0731e31bc4c48ee6c2a816ab6fdf
@@ -19,3 +19,70 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/modules.xml
# .idea/*.iml
# .idea/modules

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
@@ -1,10 +1,70 @@
# MIPS Simulator
![MIPS Simulator for loop](https://i.imgur.com/hfKrIrr.gif)
A MIPS emulator/simulator made with React!

An online MIPS simulator made with React + Redux!

## Function Completion
The following functions are supported: `add addi bne j nop`.

| Name | Mnemonic | Usable |
| ---- | :------: | :---------: |
| Load Byte | LB | X |
| Load Halfword | LH | X |
| Load Word Left | LWL | X |
| Load Word | LW | X |
| Load Byte Unsigned | LBU | X |
| Load Halfword Unsigned | LHU | X |
| Load Word Right | LWR | X |
| Store Byte | SB | X |
| Store Halfword | SH | X |
| Store Word Left | SWL | X |
| Store Word | SW | X |
| Store Word Right | SWR | X |
| Add | ADD | ✔ |
| Add Unsigned | ADDU | X |
| Subtract | SUB | ✔ |
| Subtract Unsigned | SUBU | X |
| And | AND | X |
| Or | OR | X |
| Exclusive Or | XOR | X |
| Nor | NOR | X |
| Set on Less Than | SLT | X |
| Set on Less Than Unsigned | SLTU | X |
| Add Immediate | ADDI | ✔ |
| Add Immediate Unsigned | ADDIU | X |
| Set on Less Than Immediate | SLTI | X |
| Set on Less Than Immediate Unsigned | SLTIU | X |
| And Immediate | ANDI | X |
| Or Immediate | ORI | X |
| Exclusive Or Immediate | XORI | X |
| Load Upper Immediate | LUI | X |
| Shift Left Logical | SLL | X |
| Shift Right Logical | SRL | X |
| Shift Right Arithmetic | SRA | X |
| Shift Left Logical Variable | SLLV | X |
| Shift Right Logical Variable | SRLV | X |
| Shift Right Arithmetic Variable | SRAV | X |
| Move from HI | MFHI | X |
| Move to HI | MTHI | X |
| Move from LO | MFLO | X |
| Move to LO | MTLO | X |
| Multiply | MULT | X |
| Multiply Unsigned | MULTU | X |
| Divide | DIV | X |
| Divide Unsigned | DIVU | X |
| Jump Register | JR | X |
| Jump and Link Register | JALR | X |
| Branch on Less Than Zero | BLTZ | X |
| Branch on Greater Than or Equal to Zero | BGEZ | X |
| Branch on Less Than Zero and Link | BLTZAL | X |
| Branch on Greater Than or Equal to Zero and Link | BGEZAL | X |
| Jump | J | ✔ |
| Jump and Link | JAL | ✔ |
| Branch on Equal | BEQ | ✔ |
| Branch on Not Equal | BNE | ✔ |
| Branch on Less Than or Equal to Zero | BLEZ | X |
| Branch on Greater Than Zero | BGTZ | X |

The following features are supported: -
1. Stepwise assembly
2. Syntax highlighting
Oops, something went wrong.

0 comments on commit 6d0fa76

Please sign in to comment.