Definition (register machine)

A register machine is a pair $M = (Q, P)$ where

Instruction

Interpretation

$S_i: (j, +, k)$

Add 1 to the content of register $k$;
then go to state $S_k$.

$S_i: (j, -, k, l)$

If register $j$ is $0$:
 go to state $S_l$;
otherwise:
 subtract 1 from register $j$;
 and go to state $k$.