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

Writing to an arbitrary RAM address #81

Closed
morganthomas opened this issue Nov 13, 2023 · 1 comment
Closed

Writing to an arbitrary RAM address #81

morganthomas opened this issue Nov 13, 2023 · 1 comment

Comments

@morganthomas
Copy link
Collaborator

Load32 provides the ability to load from an arbitrary RAM address. Store32 should provide the ability to write to an arbitrary RAM address. As specified and implemented, it does not. Instead of acting as the write-side analogue of Load32, Store32 acts as an analogue of LW; it moves a value from one stack location to another stack location, with the stack locations determined as fixed offsets from fp. What's needed is an instruction to write to a RAM address specified at a location on the stack.

@dlubarov
Copy link
Collaborator

Done in #82 (the change was merged as part of #90)

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

Successfully merging a pull request may close this issue.

2 participants