Step
Working Instructions: LI, LW, SW, LA, ADD, SUB, ADDI, MULT, DIV, MOVE, MFHI, MFLO, J, SLT, SLTI, AND, OR, HALT, BEQ, BNE, ANDI, ORI, BGT, BGE, BLT, BLE, SLL, SRL
Note: Branch instructions expect labels rather than addresses. Integer support only. Unlike a real assembler, the program counter addresses for comments and labels.
I developed this simulator in Javascript for students in my CPT301: Computer Organization and Architecture course at The Forbes School of Business and Technology, The University of Arizona Global Campus.