Description

Replaces the contents of register Rd with its two’s complement; the value $80 is left unchanged.

Operation:

(i)

Rd ← $00 - Rd

Syntax:

Operands:

Program Counter:

(i)

NEG Rd

0 ≤ d ≤ 31

PC ← PC + 1

16-bit Opcode:

1001 010d dddd 0001