webMARSMIPS / 0.6.6Português

Open. Run. Understand.

Follow a function into the stack.

See how MIPS programs save values, call functions and return. Combine the introductory stack and recursion examples with step, backstep and the Stack Visualizer.

Free and open source · Local work without an account

01

Watch the stack pointer

Follow changes to $sp and inspect the words stored in memory. Relate each store and load to the corresponding instruction.

02

Trace a call and its return

Watch $ra during a function call. Step through the code that preserves registers and restores the caller's state.

03

Explore recursion

Open the recursive factorial example. In Tools, open Stack Visualizer to inspect the stack while stepping through nested calls.