kgdc
kgdc

Reputation: 125

how to write XOR in assembly(ARM)

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

Answers (1)

a3f
a3f

Reputation: 8657

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

Upvotes: 13

Related Questions