[COMP1521] 22T3 Lecture 6

MIPS Functions

Notice: Weekly Test from tomorrow.

jal func (with a0,a1…. set) -> func: jr $ra -> main

jal function set $ra to PC+4 and jump to the function

The Stack

last in first out

发表评论