Fixed problem with undefined variable
Added MIPS support, because why not