You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's because all gpr8, imm have immediate value marked as unsigned. I mentioned that problem in #192. Some months ago we agreed to change several instruction definitions like this one (where signedness doesn't really exist) to "signed by default". This change will improve consistency with other definitions and automatically fix such encoding problems. I've started this effort but never finished it. It's a tedious process and it can be automated only partially. I still intend to fix it one day. For now your workaround is the intended way of handling this.
mappzor
added a commit
to mappzor/zydis
that referenced
this issue
May 4, 2022
Should assemble, but fails. It works if
req.operands[1].imm.u = 0xFF;
instead.The text was updated successfully, but these errors were encountered: