6.122.1 Description
Tests if a register is zero or negative. Performs a logical AND between a register and itself. The register will remain unchanged. (Equivalent to instruction AND Rd,Rd.)
Operation: | |||
(i) |
Rd ← Rd ∧ Rd | ||
Syntax: |
Operands: |
Program Counter: | |
(i) |
TST Rd |
0 ≤ d ≤ 31 |
PC ← PC + 1 |
16-bit Opcode: (see AND Rd, Rd)
0010 | 00dd | dddd | dddd |