This function, since it calls itself, makes very good use of stack frames. Let's look at how the factorial function would work in assembly language (enter as factorial.s)
这个函数,从它调用自己开始,就很好地使用了堆栈帧。
3
The following illustration shows the stack walk that results when a method in Assembly A4 demands that its callers have permission p.