Table 3.
Coordination instructions for this study
Instruction | Description |
send-msg | Send a message to a neighbor of the caller. |
retrieve-msg | Load the contents of a received message into the caller’s virtual CPU. |
rotate-left-one | Rotate this organism counterclockwise one step. |
rotate-right-one | Rotate this organism clockwise one step. |
get-role-id | Set register BX to the value of the caller’s role-id register. |
set-role-id | Set the caller’s role-id register to the value in register BX. |
bcast1 | Send a message to all neighboring organisms. |
get-cell-xy | Set register BX and CX to the (x, y) coordinates of the caller. |