Last updated: January 19th, 2023
Evolve 5.0
VOLVE    5.0

Instruction Modes

Instruction Modes are on/off flags associated with a particular instruction. Here are all the instruction modes in one handy place.

EAT MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 I cannot eat myself

I can eat myself

12 I can eat cells from other strains

I cannot eat cells from other strains

24 I can eat my own strain

I cannot eat my own strain

38 I can be eaten

I cannot be eaten

416 energy eaten is: cell energy + remainder (this bit is respected only if bits 5, 6, 7,8 are off)

energy eaten is: cell energy

532 off

use make-spore energy for maximum energy eaten

664 off

use grow energy for maximum energy eaten

7128 off

use cell energy/2 + remainder

8256 off

use cell energy/3 + remainder

9512 terminate cell eaten

don't terminate cell eaten, unless energy per cell == 0

101024 do not interrupt me, when somebody EATS me

interrupt me and bit 0 of the trap number shall be 1

112048 do not interrupt me, when somebody EATS me

interrupt me and bit 1 of the trap number shall be 1

124096 do not interrupt me, when somebody EATS me

interrupt me and bit 2 of the trap number shall be 1



SEND-ENERGY MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 i can give energy to other strains

i cannot give energy to other strains

12 i can take energy from other strains

i cannot take energy from other strains

24 i can give energy to spores

i cannot give energy to spores

38 i can take energy from spores

i cannot take energy from spores

416 do not interrupt me, when somebody gives energy to me

interrupt me and bit 0 of the trap number shall be 1

532 do not interrupt me, when somebody gives energy to me

interrupt me and bit 1 of the trap number shall be 1

664 do not interrupt me, when somebody gives energy to me

interrupt me and bit 2 of the trap number shall be 1

7128 do not interrupt me, when somebody takes energy from me

interrupt me and bit 0 of the trap number shall be 1

8256 do not interrupt me, when somebody takes energy from me

interrupt me and bit 1 of the trap number shall be 1

9512 do not interrupt me, when somebody take energy from me

interrupt me and bit 2 of the trap number shall be 1

101024 can give energy only to adjacent neighbors

can give energy across distances along normalized vector



LOOK MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 when looking along a line any cells that belong to my organism are ignored

when looking along a line any cells that belong to my organism stop the looking and report nothing

12 NOT USED

NOT USED

24 when reporting a 'what' bit mask, don't include strain bits

when reporting a 'what' bit mask, include strain bits

38 i am not invisible

i am invisible



BROADCAST MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 do not interrupt me, when somebody broadcasts a message to me

interrupt me and bit 0 of the trap number shall be 1

12 do not interrupt me, when somebody broadcasts a message to me

interrupt me and bit 1 of the trap number shall be 1

24 do not interrupt me, when somebody broadcasts a message to me

interrupt me and bit 2 of the trap number shall be 1



SEND MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 do not interrupt me, when somebody sends a message to me

interrupt me and bit 0 of the trap number shall be 1

12 do not interrupt me, when somebody sends a message to me

interrupt me and bit 1 of the trap number shall be 1

24 do not interrupt me, when somebody sends a message to me

interrupt me and bit 2 of the trap number shall be 1



MAKE-ORGANIC MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 NOT USED

NOT USED



MAKE-SPORE MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 NOT USED

NOT USED

12 i can fertilize a spore i created

i cannot fertilize a spore i created

24 i can fertilize a spore created by others

i cannot fertilize a spore created by others

38 i can create a spore

i cannot create a spore

416 i can fertilize a spore

i cannot fertilize a spore

532 no energy is required to fertilize a spore

minimum MAKE-SPORE Energy is required to fertilize a spore



GROW MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 NOT USED

NOT USED



CSHIFT MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 NOT USED

NOT USED



CMOVE MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 NOT USED

NOT USED



OMOVE MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 NOT USED

NOT USED



SPAWN MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 do not inherit cell register values

inherit register values

12 num. protected code blocks follows new strain

num. protected code blocks follows old strain

24 cannot spawn to a different strain

can spawn to a different strain

38 mutate the program using my strain's mutations settings

do not mutate the program

416 do not inherit data stack

inherit N data stack items from top and bit-0 of N is 1

532 do not inherit data stack

inherit N data stack items from top and bit-1 of N is 1

664 do not inherit data stack

inherit N data stack items from top and bit-2 of N is 1



MAKE-BARRIER MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 allowed to create a barrier

not allowed to create a barrier

12 allowed to clear a barrier

not allowed to clear a barrier



SHOUT MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 i can shout thru myself

i cannot shout thru myself

12 i can shout at cells that belong to my strain

i cannot shout at cells that belong to my strain

24 i can shout at cells that belong to OTHER strains

i cannot shout at cells that belong to OTHER strains

38 other strains can shout at me

other strains cannot shout at me

416 do not interrupt me, when somebody shouts a message to me

interrupt me and bit 0 of the trap number shall be 1

532 do not interrupt me, when somebody shouts a message to me

interrupt me and bit 1 of the trap number shall be 1

664 do not interrupt me, when somebody shouts a message to me

interrupt me and bit 2 of the trap number shall be 1



LISTEN MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 when listening along a line any cells that belong to my organism are ignored

when listening along a line any cells that belong to my organism stop the listing process and report nothing



SAY MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 i can speak thru myself

i cannot speak thru myself

12 i can speak at cell that belong to my organism

i cannot speak at cell that belong to my organism

24 i can speak at cells that belong to my strain

i cannot speak at cells that belong to my strain

38 i can speak at cell that belong to OTHER strains

i cannot speak at cell that belong to OTHER strains

416 other strains can speak at me

other strains cannot speak at me

532 do not interrupt me, when somebody speaks a message to me

interrupt me and bit 0 of the trap number shall be 1

664 do not interrupt me, when somebody speaks a message to me

interrupt me and bit 1 of the trap number shall be 1

7128 do not interrupt me, when somebody speaks a message to me

interrupt me and bit 2 of the trap number shall be 1



WRITE MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 i cannot write to myself

i can write to myself

12 i can write to cells/spores that belong to my strain

i cannot write to cells/spores that belong to my strain

24 i cannot write to cells/spores that belong to OTHER strains

i can write to cells/spores that belong to OTHER strains

38 i can write to spores

i cannot write to spores

416 i cannot write to cells

i can write to cells

532 other strains can write to me

other strains cannot write to at me

664 mutate the code block being written with my strain's mutation settings.

do not mutate the code block being written

7128 do not interrupt me, when somebody writes to me

interrupt me and bit 0 of the trap number shall be 1

8256 do not interrupt me, when somebody writes to me

interrupt me and bit 1 of the trap number shall be 1

9512 do not interrupt me, when somebody writes to me

interrupt me and bit 2 of the trap number shall be 1



READ MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 i cannot read from myself

i can read from myself

12 i can read from cells/spores that belong to my strain

i cannot read from cells/spores that belong to my strain

24 i cannot read from cells/spores that belong to OTHER strains

i can read from cells/spores that belong to OTHER strains

38 i can read from spores

i cannot read from spores

416 i can read from cells

i cannot read from cells

532 other strains can read from me

other strains cannot read from me

664 mutate the code block being read with my strain's mutation settings.

do not mutate the code block being read



EXUDE MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 i can exude on any surrounding square

i cannot exude on any surrounding square, if it's occupied by anything

12 i can exude on any surrounding square

i cannot exude on any surrounding square, if it's occupied by barrier

24 i can exude on any surrounding square, if it's occupied by cells from another organism

i cannot exude on any surrounding square, if it's occupied by cell from another organism

38 i can exude on any surrounding square, if it's occupied by cell from another strain

i cannot exude on any surrounding square, if it's occupied by cell from another strain

416 i can exude on a spore

i cannot exude on a spore

532 i can exude on an organic block

i cannot exude an an organic block



ROTATE MODE

BITMASKMeaning when bit is 0Meaning when bit is 1
01 use my location as the origin of rotation

use the organism center as the origin of rotation

12 rotate in 45 degree units

rotate in 90 degree units



KEY-PRESS MODE

Applies to KEY-PRESS and MOUSE-POS instructions.

BITMASKMeaning when bit is 0Meaning when bit is 1
01 do not interrupt me, when KEY-PRESS changes

interrupt me on KEY-PRESS change, and bit 0 of the trap number shall be 1

12 do not interrupt me, when KEY-PRESS changes

interrupt me on KEY-PRESS change, and bit 1 of the trap number shall be 1

24 do not interrupt me, when KEY-PRESS changes

interrupt me on KEY-PRESS change, and bit 2 of the trap number shall be 1

38 do not interrupt me, when MOUSE-POS changes

interrupt me on MOUSE-POS change, and bit 0 of the trap number shall be 1

416 do not interrupt me, when MOUSE-POS changes

interrupt me on MOUSE-POS change, and bit 1 of the trap number shall be 1

532 do not interrupt me, when MOUSE-POS changes

interrupt me on MOUSE-POS change, and bit 2 of the trap number shall be 1