记住当程序进行函数调用(特别是针对递归函数)时,它必须在堆栈上存储返回地址和本地变量。
Remember that when a program makes a function call (especially for recursive ones), it has to store its return address and local variables on the stack.
所以该指令会将链接寄存器(存有返回地址)存储到调用函数堆栈框架的恰当位置。
So this instruction stores the link register (which holds the return address) into the proper location in the calling function's stack frame.
计算机引用这一点作为返回地址,会在堆栈框架中跟踪它。
The computer refers to this point as the return address and keeps track of it in the stack frame.
应用推荐