Created
April 12, 2015 17:58
-
-
Save tomstuart/fb81c71a3c472c62d03c to your computer and use it in GitHub Desktop.
Revisions
-
tomstuart created this gist
Apr 12, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,53 @@ before function call: at start of function call: ARG: args for caller args for caller saved state for caller saved state for caller LCL: locals for caller locals for caller stack for caller stack for caller args for callee --> ARG: args for callee SP: saved state for callee LCL: locals for callee SP: | V after function call: at finish of function call: ARG: args for caller args for caller saved state for caller saved state for caller LCL: locals for caller locals for caller stack for caller stack for caller return value for callee <-- ARG: args for callee SP: saved state for callee LCL: locals for callee stack for callee return value for callee SP: before function call: | at start of function call: | at finish of function call: | after function call: | | | ARG: args for caller | args for caller | args for caller | ARG: args for caller saved state for caller | saved state for caller | saved state for caller | saved state for caller LCL: locals for caller | locals for caller | locals for caller | LCL: locals for caller stack for caller | stack for caller | stack for caller | stack for caller args for callee | ARG: args for callee | ARG: args for callee | return value for callee SP: | saved state for callee | saved state for callee | SP: | LCL: locals for callee | LCL: locals for callee | | SP: | stack for callee | | | return value for callee | | | SP: |