Re:AT&T Syntax versus Intel Syntax
by monocasa on Sunday November 13, 2022 @03:17PM
(#33586892)
Without any other context, you generally assume that the target is an accumulator.
So "add 4 coins to that bucket", generally means at the end of that operation the bucket contains at least four coins plus any coins that were already in the bucket.
Re:AT&T Syntax versus Intel Syntax
by bialpio on Sunday November 13, 2022 @05:26PM
(#33588039)
Huh, I think my brain is not wired to think about `x` as a storage, it is closer to "add 3 to x for x = 2", which then gets reduced to "add 3 to 2" and then the destination is missing...
So "add 4 coins to that bucket", generally means at the end of that operation the bucket contains at least four coins plus any coins that were already in the bucket.