21.01.2014 Views

Lab 3 - IDA

Lab 3 - IDA

Lab 3 - IDA

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Lab</strong> 3: Part B<br />

• Every time you do a function call<br />

a stack frame is pushed on the<br />

stack.<br />

– Done by the caller.<br />

• The very first function of a<br />

program is never really called.<br />

• Arguments to the program are put<br />

on the stack by the system (your<br />

code).<br />

– First the data,<br />

– Then the first stack frame<br />

21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!