Skip to content

JungeunK-9999/SimpleMIPS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple MIPS Simulator in JavaScript (Developing)

This is a simple MIPS simulator to help undergradate students in my computer architecture class. The simulator comes from the morriswmz project (https://github.com/morriswmz/SimpleMIPS.js). See the the other readme document in https://github.com/morriswmz/SimpleMIPS.js/readme.md .

I extend it to support more instructions. Still I am supporting more instructions if they are necessary.

The current supported instructions are as follows: (More instructions may be supported)

  • Memory access: lb, lbu, lh, lhu, lui, lw, sb, sh, sw
  • Arithmetic operations: addi, addiu, add, addu, sub, subu, slt, slti, sltu, sltiu, mul, mulu, div, divu
  • Logical operations: and, andi, or, ori, xor, xori, nor, sll, sllv, srl, sra, srlv, srav
  • Jump: j, jr, jal
  • Conditional branch: beq, bne, blez, bgtz, bltz, bgez
  • Misc/Pseudo instructions: nop, break, print prints, printm

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.7%
  • HTML 21.5%
  • CSS 1.8%