Can't compile slaspec when constraining a bit field that appears in the display section #8649
brendonky18
started this conversation in
General
Replies: 1 comment
-
|
I can't explain the why, but I do know that you can't simultaneously constrain a variable and use the variable in the operand section. A potential fix would be:
or (possibly preferable) Since imm2 is the constraint and imm is the display, there's no conflict there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Using the sleigh compiler from version 11.3.2, on the following minimal slaspec
I get the following error:
If I change the constructor to be:
then it will build without an issue.
Why am I unable to constrain the value of
imm?Beta Was this translation helpful? Give feedback.
All reactions