CS 233 Study Guide - Midterm Guide: Call Stack, Null Character
Document Summary
Strings that have the null character \0" at the end. Before you allocate the stack frame: allocate the stack frame, save return address, recursive body: Consume return value: deallocate stack frame and return. Suggestions - caller save: steps 1 through 3 are the same as single function, for each function call: (use registers if >1 call) Consume return value: deallocate the stack frame and return. Suggestions - callee save: steps 1 through 3 are same as others, save enough registers to hold your local variables, copy your local variables to registers, for each function call: