Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void foo()
- {
- RSP -= 64; // allocate stack frame of size 64
- foo_frame_t* frame = RSP;
- ...
- frame->local_var_x = 1; // store to a local var
- ...
- RSP += 64; // deallocate stack frame
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement