Comment Comment by vedantk I think the callee expects the return address in %rbp, and by System V convention will pull certain arguments from above %ebp on the stack.This might not help, but it's an interesting article on stack frames for all interested: http://eli.thegreenplace.net/2011/09/06/stack-frame-layout-o... parent vedantk 14 years ago
This might not help, but it's an interesting article on stack frames for all interested: http://eli.thegreenplace.net/2011/09/06/stack-frame-layout-o...