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
I looked. Use 00 instead of 0 and it'll work fine.
This is a little quirk of the parser for numbers that begin with 0's. For numbers that begin with zero's it assumes hex and it assumes someone was trying to specify some explicit hex value with a specific width. So it sees 0, one nibble, so 4 bits. And then the encoder says there is no such cmpps with a 4b immediate, which is technically true. Possibly I should change this. I'll think about it.
For values that do not begin with 0, it just gives 1/2/4/8 bytes (mutiplied by 8 for bits) depending on the actual numerical value.
@markcharney, I think I found an issue where
xed-asmparse-main
fails to encode the instruction when the immediate is 0:I wouldn't expect that first one to fail, but maybe I'm doing something wrong?
The text was updated successfully, but these errors were encountered: