Updated MIPS code for upstraming.