Line:
Go!
Show/Hide Demos
User Guide
|
Unit Tests
|
Docs
# Not sure what to do now? Enter your mips code here # and hit step (to run one line at a time) or # hit run (to run them all at once) # Keep an eye on the register and stack tracker # to see what changes are being made to them. # If you want to preload the stack or some registers # with data, you can click on them to change edit them. # If you would like more infomation, check out the user # guide linked in the menu. restore below to stackTest in examples ADD $s0, $zero, $t1 ADD $s1, $zero, $t2 ADD $s2, $zero, $t3 ADD $s3, $zero, $t4 ADD $s4, $zero, $t5 ADD $s5, $zero, $t6 ADD $s6, $zero, $t7 SW $s0, -10($sp) SW $s1, -9($sp) LW $s2, -9($sp) BEQ $s1, $s2, exit ADDI $sp, $sp, -1 ADDI $sp, $sp, -2 ADDI $sp, $sp, -3 ADDI $sp, $sp, -5 ADDI $sp, $sp, -9 ADDI $sp, $sp, -14 ADDI $sp, $sp, -23 ADDI $sp, $sp, -37 exit:
Step
Run
Visualize
Enable auto switching
ALL
S
T
A
V
Stack
Machine Code
Log
show relative address
Integer
Ascii
Binary
------------ Frame Pointer ------------
Clear Machine Code
Clear Log