Updated Assembler-mips code for upstreaming.