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

Improve choice of default stack addresses #5

Open
yhql opened this issue Oct 16, 2019 · 2 comments
Open

Improve choice of default stack addresses #5

yhql opened this issue Oct 16, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@yhql
Copy link
Contributor

yhql commented Oct 16, 2019

Current hardcoded values can lead to mapping problems, and changing it manually in a script is abit cumbersome.

Should implement:

  • Automatic picking of an address in RAM when defined, that is not in an already-defined section
  • provide an api to easily set stack address and size
@yhql yhql added the enhancement New feature or request label Oct 16, 2019
@protopyte
Copy link

I recently did:

  emu["sp"] = 0x20002000
  emu.map_space(emu["sp"]-4096, emu["sp"])

which I wouldn't qualify as "cumbersome".

@ddddavidee
Copy link

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

No branches or pull requests

3 participants