6.39.1 Description

Clears a register. This instruction performs an Exclusive OR between a register and itself. This will clear all bits in the register. (Equivalent to instruction EOR Rd,Rd.)

Operation:

(i)

Rd ← Rd ⊕ Rd

Syntax:

Operands:

Program Counter:

(i)

CLR Rd

0 ≤ d ≤ 31

PC ← PC + 1

16-bit Opcode: (see EOR Rd,Rd)

001001dddddddddd