Skip to content

Add offset_ prefix to the names in the Ou enum #34

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dougallj
Copy link
Owner

@dougallj dougallj commented Mar 9, 2023

Just saying unsigned or signed is ambiguous, so this attempts to clarify that it refers to whether the offset is signed or unsigned extended from 32-bit to 64-bit before adding it to the address.

Just saying `unsigned` or `signed` is ambiguous, so this attempts to
clarify that it refers to whether the offset is signed or unsigned
extended from 32-bit to 64-bit before adding it to the address.
@alyssarosenzweig
Copy link
Contributor

it might be more consistent with ALU to put a .sx source modifier on the offset when signed-extended (and nothing for not)? I really need to RiIR the disassembler ngl

@dougallj
Copy link
Owner Author

Ah, good point, yeah, I don't know why I didn't think of that.

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