it is an implementation to factorial and palindrome check using mips instructions