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
Instruction xadd occasionally confuses source and destination operand, by writing to the wrong one. The sum of the operands should be written to the destination operand, i.e. the first one, but instead writes to source operand.
Description
Instruction
xadd
occasionally confuses source and destination operand, by writing to the wrong one. The sum of the operands should be written to the destination operand, i.e. the first one, but instead writes to source operand.Reference:
Ref. Intel 64 and IA-32 Architecture Software Developer's Manual Vol. 2C 5-580
Affected instructions:
NOTE: All combinations of prefixes and operands are omitted.
Reproduction guide
Instruction:
Input:
Observed output:
Expected output:
Instead of writing
v1
toEAX
, it should be written to the memory ofEAX
.System Info
OS:
BAP:
The text was updated successfully, but these errors were encountered: