Description

This instruction performs a compare between register Rd and a constant. The register is not changed. All conditional branches can be used after this instruction.

Operation:

(i)

Rd - K

Syntax:

Operands:

Program Counter:

(i)

CPI Rd,K

16 ≤ d ≤ 31, 0 ≤ K ≤ 255

PC ← PC + 1

16-bit Opcode:

0011 KKKK dddd KKKK