adding function parameters to MIPS code generation