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

change semantics of Store32: write to address stored at first argument #82

Closed
wants to merge 1 commit into from

Conversation

morganthomas
Copy link
Collaborator

Closes #81

@dlubarov
Copy link
Collaborator

I think this was included in #90. I'm just curious though, why SWs were replaced with ADDIs in some sample code?

@morganthomas
Copy link
Collaborator Author

@dlubarov , ADDI $dst, $src, 0 is semantically equivalent to the previous implementation of SW $dst, $src, which would move from one general-purpose register to another. With the proposed change to the semantics of SW, $dst is a general-purpose register whose contents are interpreted as the address to write the contents of the general-purpose register $src to.

@morganthomas
Copy link
Collaborator Author

Closing this PR because the changes were merged in #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 this pull request may close these issues.

Writing to an arbitrary RAM address
2 participants