MIPS Decompiler
Decompiler for MIPS assembly to C like pseudo-code.
Includes some simple recognition for common idioms and macros.
https://www.doc.ic.ac.uk/lab/secondyear/spim/spim.html
resources etc…
syscalls
macros/pseudo-instructions
compiler idioms
online compilers
https://chortle.ccsu.edu/AssemblyTutorial/Chapter-23/ass23_7.html
http://www.cim.mcgill.ca/~langer/273/12-notes.pdf
https://www.doc.ic.ac.uk/lab/secondyear/spim/node15.html
https://courses.cs.washington.edu/courses/cse378/02au/Lectures/07controlI.pdf
http://cs.brown.edu/courses/csci0310/content/lectures/L16.pdf
http://www.divms.uiowa.edu/~ghosh/1-28-10.pdf
never forget multiples of 4 are probably ints while chars are 1 byte long…
http://www.dsi.unive.it/~gasparetto/materials/MIPS_Instruction_Set.pdf
almost all of the mini java programs don’t have any commas between operands
manually corrected programs:
BinaryTree.asm
Factorial.asm