Skip to content

Instantly share code, notes, and snippets.

@hadisfr
Created July 22, 2019 14:25
Show Gist options
  • Save hadisfr/2574bca92b2e15be87de9f9d1bf36408 to your computer and use it in GitHub Desktop.
Save hadisfr/2574bca92b2e15be87de9f9d1bf36408 to your computer and use it in GitHub Desktop.
mips simulator short cheatshit

SPIM

mips simulator

  • non-interactive:
    spim -f <file>
  • interactive
    load "<file>"
    print_sym (only sees .globl labels)
    breakpoint <addr/label>
    delete <addr/label>
    run
    continue
    step <n=1>
    print <addr/reg_name>
    print_all
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment