i wrote a recursive function to search a tree structure, and i'm having problems with the code. the value of esp is not getting preserved over the recursive calls, but the strange thing is that as far as i can tell, upon every function entrance and corresponding function exit, the value is the same (i.e., i'm popping as much as i'm pushing, etc.).
is there something i'm forgetting about calling or returning from functions? are there any other things having to do with esp that occur when calling/returning from functions besides a push/pop of the caller's ip?
is there something i'm forgetting about calling or returning from functions? are there any other things having to do with esp that occur when calling/returning from functions besides a push/pop of the caller's ip?