Skip to content

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

Open
dougallj wants to merge 1 commit intomainfrom
offset-prefix
Open

Add offset_ prefix to the names in the Ou enum#34
dougallj wants to merge 1 commit intomainfrom
offset-prefix

Conversation

@dougallj
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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