Reputation: 125
I want to get xor value of two register.But compile return error how to write XOR in assembly(ARM)
XOR r1,r1,r0;
compiler gives like error,
Error: bad instruction `xor r1,r1,r0'
Upvotes: 9
Views: 21529
Reputation: 8657
The instruction is called EOR not XOR as one would expect. No idea why.
EOR
XOR
Upvotes: 13