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

Global pointer value #181

Open
miguelbarao opened this issue Jun 9, 2023 · 0 comments
Open

Global pointer value #181

miguelbarao opened this issue Jun 9, 2023 · 0 comments

Comments

@miguelbarao
Copy link

Not sure about this, but shouldn't the global pointer be initialized to 0x10000800 instead of 0x10008000?
The reason is that it would allow access to addresses from 0x10000000 to 0x10000fff using a single load/store instruction with a 12 bit immediate.
The current value used in RARS seems to make more sense for MIPS where the immediate is 16 bits.

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