Description

Clears a register. This instruction performs an Exclusive OR between a register and itself. This will clear all bits in the register.

 

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)

0010 01dd dddd dddd