Nearly a MIPS representation
MAIN : addi $4,$0,4 #the argument n = 4
print $8 #no such instruction!
exit #no such instruction - halt altogether
fact: beq $4,$11,RETURN #if n==1 goto RETURN
addi $4,$4,-1 #n becomes n-1
jal fact #recursive call to fact
RETURN: $4 = pop() #no such instruction!
mult $8,$8,$4 #$8 = $8*$4