Skip to content
Snippets Groups Projects
Unverified Commit 1af7abd6 authored by Silas Davis's avatar Silas Davis
Browse files

Fix issue with SIGNEXTEND and refactor arithmetic

Our SIGNEXTEND was broken on positive numbers because for these numbers
it `Add`ed the sign extension mask rather than `And`ing it.

I took the opportunity to tidy up the arithmetical opcodes and add some
test.

Signed-off-by: default avatarSilas Davis <silas@monax.io>
parent e4bf423e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment