Description

This instruction performs a compare between two registers Rd and Rr. None of the registers are changed. All conditional branches can be used after this instruction.

Operation:

(i)

Rd - Rr

Syntax:

Operands:

Program Counter:

(i)

CP Rd,Rr

0 ≤ d ≤ 31, 0 ≤ r ≤ 31

PC ← PC + 1

16-bit Opcode:

0001 01rd dddd rrrr