Elad
Elad

Reputation: 479

Assembly 8086 - xor operations

I just wonder what is the meaning of this code:

XOR EAX,EBX 
XOR EBX,EAX
XOR EAX,EBX

Upvotes: 2

Views: 4624

Answers (1)

That's xor swapping.

Doing it on registers does not suffer the usual ugly failure case.

Upvotes: 13

Related Questions