MIPS
Simplified MIPS Simulator
↻ Reset
▶ Next
Run to End ▶▶
1. Assembly Code (User Input)
# Sample Program addi $t0, $zero, 5 addi $t1, $zero, 10 add $t2, $t0, $t1 sub $t3, $t1, $t0 and $t4, $t0, $t1 or $t5, $t0, $t1 slt $t6, $t0, $t1 addi $t7, $t2, -3 sw $t7, 0($zero) lw $s0, 0($zero) add $s1, $s0, $t3 # End
▶ Load
Step →
Run All
Reset
2. Machine Code
Addr (Hex)
Machine Code (Binary)
Machine Code (Hex)
Load a program to see machine code
4. Registers (32)
Program Counter (PC)
Current Instruction Address:
0x00000000
3. Current Instruction
Address:
—
Assembly:
—
Machine Code (Binary):
—
Machine Code (Hex):
—
Type:
—
Operation:
—
5. Data Memory (Word Addressable)
Address (Hex)
+0
+1
+2
+3
Control / Status
Status:
Ready
Instructions Executed:
0
Total Instructions:
0