Hi all, I'm studying assembly programming and at this moment I have reached the capther that talnks about functions, and so far having learned about functions' prologue and epilogue. When I implemented a function, using both prologue and epilogue, the compiler compiled it, linked it but when it comes to run the binary I have a fail on memory segment.
There it follows the function's prologue and epilogue: function: pushl %ebp movl %esp, %ebp . . movl %ebp, %esp popl %ebp ret When I implement without it the binary runs perfectly. I've already done some researchs about it, but it's too difficult to find specific informations about it for OpenBSd systems, and that's why I'm asking it in the list. Could please anyone help me with this issue? Thanks. -- Joco Salvatti Undergraduating in Computer Science Federal University of Para - UFPA web: http://www.openbsd-pa.org e-mail: [EMAIL PROTECTED]

