Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fact:
- addi $sp, $sp, –8 # adjust stack for 2 items
- sw $ra, 4($sp) # save the return address
- sw $a0, 0($sp) # save the argument n
- /*
- What confused me is that why the last line did not need to shift 4 bytes? I mean that sw $a0, 4($sp)
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement