converted statements to the MIPS equivelent