Posted: Thu Feb 01, 2018 4:47 am Post subject: EBP View erratic?
see: [imgur_com/a/sJtlV]
This only happens when selecting EBP view; ESP view is just fine. And: it happens at this particular location; debugging in other locations show correct view as well!
- game: AC I ~ same effect in both dx9 & dx10
- CE v6.7
ps: the '+' character not showing happens all the time; just a cosmetic bug.
-EDIT-
@ParkourPenguin: the author of the book 'The Art of Assembly Language' emphasizes on numerous occassions NOT to use both stack pointers (I suppose this is "introduced" here by the compiler, rather then 'your average programmer').
Thx for the info: did not know that; and definitely not for the faint-hearted .
Case closed.
Last edited by paul44 on Thu Feb 01, 2018 11:59 am; edited 2 times in total
It's only by convention EBP is used as the stack frame pointer. Software is free to use it for other purposes if the subroutine doesn't need to set up a stack frame.
If you try to treat EBP as a stack frame pointer when it's not, you'll get undefined behaviour like this. _________________
I don't know where I'm going, but I'll figure it out when I get there.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum