


























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The document covers topics related to the stack and procedures in computer science, including calling conventions, register saving conventions, and recursion. It also includes examples of data flow and return values. Additionally, the document briefly mentions homework and lab deadlines, a midterm exam, and a review session. The document could be useful as study notes or lecture notes for a computer science course on the stack and procedures, possibly at Carnegie Mellon University or a similar institution. The typology of the document is 'lecture notes'.
Typology: Lecture notes
1 / 34
This page cannot be seen from the preview
Don't miss anything!



























CSE410, Winter 2017
L12: The Stack & Procedures
http://spectrum.ieee.org/automaton/robotics/artificialāintelligence/aiālearnsāfromāmistakesātoādefeatāhumanāpokerāplayers
CSE410, Winter 2017
L12: The Stack & Procedures
ļ¶
ļ¶
ļ¶
CSE410, Winter 2017
L12: The Stack & Procedures
ļ¶
ļ¶
%rdi%rsi%rdx%rcx%r8%r
Arg
- ⢠⢠Arg
Arg
n
- ⢠ā¢
HighAddresses
LowAddresses 0x00ā¦
%rax
CSE410, Winter 2017
L12: The Stack & Procedures
CSE410, Winter 2017
L12: The Stack & Procedures
ļ¶
ļ¶
ļ¶
CSE410, Winter 2017
L12: The Stack & Procedures
-^
-^
ļ¶
ļ¶
CSE410, Winter 2017
L12: The Stack & Procedures
%rbp%rsp
yoo(ā¦){
yoo who amI amI amI
amI
CSE410, Winter 2017
L12: The Stack & Procedures
yoo(ā¦){
who(ā¦){
%rbp%rsp
yoo who amI amI amI
amI
CSE410, Winter 2017
L12: The Stack & Procedures
yoo(ā¦){
who(ā¦){
amI(ā¦){
if(){
amI() }
amI(ā¦){
if(){
amI() }
1
2
%rbp%rsp
yoo who amI amI amI
amI
CSE410, Winter 2017
L12: The Stack & Procedures
yoo(ā¦){
who(ā¦){
amI(ā¦){
if(){
amI() }
amI(ā¦){
if(){
amI() }
(another)
amI(ā¦){
if(){
amI() }
1
2
3
%rbp%rsp
yoo who amI amI amI
amI
CSE410, Winter 2017
L12: The Stack & Procedures
yoo(ā¦){
who(ā¦){
amI(ā¦){
if(){
amI() }
yoo who amI amI amI
amI
1
%rbp%rsp
CSE410, Winter 2017
L12: The Stack & Procedures
yoo(ā¦){
who(ā¦){
yoo who amI amI amI
amI
%rbp%rsp
CSE410, Winter 2017
L12: The Stack & Procedures
yoo(ā¦){
who(ā¦){
yoo who amI amI amI
amI
%rbp%rsp
CSE410, Winter 2017
L12: The Stack & Procedures
yoo(ā¦){
yoo who amI amI amI
amI
%rbp%rsp