Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pg. 101, fg. 4.9.6][Content or Typo] Wrong representation of stack layout #152

Open
leifhelm opened this issue Aug 24, 2020 · 0 comments
Open

Comments

@leifhelm
Copy link

The memory addresses given in the Figure 4.9.6 do not correlate with the label ebp+0xc, ebp+0x8 and ebp+0x4. ebp points to 0x1000f. so ebp+0x4 should be 0x10013 and the other ones would follow afterwards. The label to i should be ebp-0x4 like in the disassembly and the byte order has to be reversed as well. If it should somewhat resemble Intel's memory layout style the whole second row has to be flipped and only the addresses of the first row have to be flipped as well.
And finally the second row should start at 0xfff0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant