Online MIPS Assembler for (System)Verilog
This is a modified version of the online MIPS assembler found at https://github.com/bilkentCraps/mips. The main differences are as follows:
- This assembler is able to parse hexadecimal and binary numbers
- The
adrfield of J-Type instructions are interpreted as memory addresses instead of line numbers - This assembler supports using the
shamtfield for R-type instructions - If the default instruction definitions are used, the immediate used in the
beqinstruction is interpreted as an offset from the next line (that is,beq $zero, $zero, -1results in an infinite loop)
The left textbox contains the instruction definitions, the middle textbox contains the assembly code, and the right textbox contains the code to paste inside the imem module
You can refer to the README of the original assembler for more info (keep in mind the differences listed above): https://github.com/bilkentCraps/mips/blob/gh-pages/README.md