uncommented more functions in mipsgen