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

Accommodate for word size differences between different architectures. #236

Merged
merged 2 commits into from
Feb 8, 2023

Conversation

Fothsid
Copy link
Contributor

@Fothsid Fothsid commented Feb 7, 2023

SuperH architecture uses 16-bit words, unlike ARM and MIPS. This PR changes the behavior of .dh, .dw, .dd and the like to match the current architecture's word size.
Directives .d8, .d16, .d32 and .d64 have also been added so that the user would be able to write 8/16/32/64 values without having to think about the architecture word size.
SuperH tests have also been edited to accommodate for these changes.

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.

2 participants