RoboCom Commands

Instrucution ISet  Description
ADD #a, b  0  Add b to #a.. 
BJUMP a, b  0  Absoulute jump into Bank a instruction b
COMP a, b  0  Compares value a und b.
If a not equal b then the next instruction is executed.
CREATE a, b, c  2  Create a Robot with
a Instruction Set
b Empty Banks
c Mobile
DIE  0  Destroys the Robot
JUMP a  0  Relative jump for a instructions
MOVE  0  Moves the Robot one square
SCAN #a  1  Scans a field, result in #a
#a=0 ...empty. 
#a=1 ...enemy
#a=2 ...friend 
SET #a, b  0  Sets #a to b
SUB #a, b  0  Subtracts b from #a. 
TRANS a, b  1  Copies bank a to bank b in other robot
TURN a  0  Truns the Robot 90° zu drehen (a=0 left)