简体   繁体   中英

Assembly 8086 - xor operations

I just wonder what is the meaning of this code:

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

That's xor swapping .

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM