next up previous
Next: Instructions for Interaction with Up: Semantics of Instruction Heads Previous: Semantics of Instruction Heads

Instructions Operating on Internal State Only

Jmpl( $x_1,x_2,y_1,y_2,z_1,z_2$) : If $\cal S$$_x < \cal
S$$_y$ then IP $\leftarrow z- z~mod~BS $.

Jmpeq( $x_1,x_2,y_1,y_2,z_1,z_2$) : If $\cal S$$_x = \cal S$$_y$ then IP $\leftarrow z- z~mod~BS $.

Add( $x_1,x_2,y_1,y_2,z_1,z_2$) : $\cal S$ $_z \leftarrow (\cal S$$_x + \cal S$$_y)~mod~M$

Sub( $x_1,x_2,y_1,y_2,z_1,z_2$) : $\cal S$ $_z \leftarrow (\cal S$$_x - \cal S$$_y)~mod~M$

Mul( $x_1,x_2,y_1,y_2,z_1,z_2$) : $\cal S$ $_z \leftarrow (\cal S$$_x \cal S$$_y)~mod~M$

Div( $x_1,x_2,y_1,y_2,z_1,z_2$) : if $\cal S$$_y \neq 0$  then $\cal S$ $_z \leftarrow (\cal S$ $_x ~div~ \cal
S$$_y)~mod~M$

Mov( $x_1,x_2,y_1,y_2$): $\cal S$ $_y \leftarrow \cal S$$_x $

Init( $x_1,x_2,y_1,y_2$): $\cal S$ $_y \leftarrow x $.



Juergen Schmidhuber 2003-03-10


Back to Active Learning - Exploration - Curiosity page