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

negative immediate cause error #1

Open
lirc572 opened this issue Apr 2, 2020 · 0 comments
Open

negative immediate cause error #1

lirc572 opened this issue Apr 2, 2020 · 0 comments

Comments

@lirc572
Copy link
Owner

lirc572 commented Apr 2, 2020

Check for negative immediate, provide options to represent in 2's complement.
Now it is only possible to convert to 2's complement manually before assembling (immed >= 0 ? immed : pow(2, 32) - immed)

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