x64 Assembly and C++ Tutorial 28: Stack Frames

In this tutorial we’ll look at the callee side of calling a procedure. This involves creating a stack frame with RBP. We’ll also look at using local variables. Keep in mind that this is just the C calling convention and when you’re not interacting with C functions, there’s no reason to use this if it doesn’t suit you. At 23:37 I made a fairly detrimental mistake, the line should be MOV RBP, RSP, not the other way round...
Back to Top