Description

Subtracts two registers and places the result in the destination register Rd.

 

Operation:

(i)

Rd ← Rd - Rr

 

Syntax:

Operands:

Program Counter:

(i)

SUB Rd,Rr

0 ≤ d ≤ 31, 0 ≤ r ≤ 31

PC ← PC + 1

16-bit Opcode:

0001 10rd dddd rrrr