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

Missing MVN/NOT instruction #320

Open
giann opened this issue Mar 3, 2023 · 2 comments
Open

Missing MVN/NOT instruction #320

giann opened this issue Mar 3, 2023 · 2 comments

Comments

@giann
Copy link

giann commented Mar 3, 2023

There's not bitwise MIR_NOT instruction

@giann
Copy link
Author

giann commented Mar 3, 2023

Maybe it's intended?
I guess i can do: MIR_XOR value, 0xffff

@Itay2805
Copy link

Itay2805 commented Mar 3, 2023

yeah you can compliment it with a XOR with FFs (I recommend using ~0 to not make mistakes). Even if intended I personally think it would be better to have it for completeness (even if the code gen can handle it)

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

2 participants