CS 233 Study Guide - Midterm Guide: Call Stack, Null Character

59 views1 pages
4 Apr 2016
Course
Professor

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:

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents