On x86 if [mem] is not 32-bit aligned, can "lock inc [mem]" still work fine?

Viewed 508

On x86, if mem is 32-bit aligned, the mov operation is guaranteed to be atomic.

if [mem] is not 32-bit aligned, can lock inc [mem] sill work fine?

work fine:provide atomicity and not get partial value.

3 Answers
Related