3
votes

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'
1

1 Answers

8
votes

The instruction is called EOR not XOR as one would expect. No idea why.