Skip to content

mclrc/mips-assembler

Repository files navigation

MIPS Assembler

Netlify Status Vitest ESLint

This MIPS assembler enables you to assemble and inspect a subset of MIPS assembly directly in your browser.

It's not feature complete, but should include everything you're likely to encounter in a basic school or university course. It is also written to be easily extensible, with tests to ensure you can't accidentally break anything, so don't hesitate to open a PR!

Missing but easy to implement:

  • Support for comments
  • Displaying labels in the final table
  • Adding more R/I instructions
  • More comprehensive testing/test coverage
  • Better error handling & feedback
  • ASCII immediates
  • Syntax highlighting (probably using react-codemirror)

Slightly tougher to implemenent:

  • Float instructions & format (for add.s, sub.d, etc.)
  • Disassembler
  • Info layers for individual instructions
  • Data section

Difficult to implement:

  • Basic MIPS emulator/VM

About

Explore basic MIPS assembly in the browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published