Skip navigation

ARM Instruction EOR

Bitwise exclusive-or

EOR

Thumb syntax (narrow, v4T)

EORSRd, RnSee [1]

Thumb syntax (wide, v6T2)

EORRd, Rn, #constSee [2]
EORRd, Rn, Rm, shiftSee [3]
EORSRd, Rn, #constSee [2]
EORSRd, Rn, Rm, shiftSee [3]

Arm syntax (v4T)

EORRd, Rn, #constSee [4]
EORRd, Rn, Rm, shiftSee [5]
EORSRd, Rn, #constSee [4]
EORSRd, Rn, Rm, shiftSee [5]

Notes

  1. Rd, Rn must be R0…R7; ordering Rd, Rn, Rd is also permitted
  2. Rd, RnPC; Rd, RnSP; const is one of $00xx00xx, $xx00xx00, $xxxxxxxx, $xx LSL 024
  3. Rd, Rn, RmPC; Rd, Rn, RmSP; shift is one of LSL #031, LSR #132, ASR #132, RRX
  4. Rd, RnPC; Rd, RnSP; const is $xx ROR 2n
  5. Rd, Rn, RmPC; Rd, Rn, RmSP; shift is one of LSL #031/Rs, LSR #132/Rs, ASR #132/Rs, ROR #131/Rs, RRX