Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix assumption that
ebx
is caller-saved
"ebx" cannot be used without first pushing its value to the stack and restoring it later, so just push the old value of "dest" to the stack before "lock cmpxchg" and pop it into "eax" before returning.
- Loading branch information