teq

Test Equivalence (A32)

TEQ<c> <Rn>, <Operand2>

Bitwise Exclusive OR and update flags (discard result).

Details

The Test Equivalence instruction bitwise Exclusive OR and update flags (discard result).

Pseudocode Operation

// Flags ← Operand2 XOR SRC2 (result discarded)

Example

TEQ r1, r2

Encoding

Binary Layout
cond
00
1
1001
1
Rn
0000
imm12
 
Format Data Proc
Opcode 0x03300000
Extension A32 (Base)

Operands

  • Rn
    First source / base general-purpose register
  • Operand2
    Flexible second operand (register or shifted register)