.myaimdx
How many times the bot's own DNA writes to .aimdx (the turn-right command): part of the signature used to recognize its own species.
Facts
- Address
- 725
- Name
.myaimdx- Kind
- Sense: the engine writes it for the DNA to read
- Group
- Its own signature (my*)
- Written by
- The engine, when the DNA changes (on load, at birth, through a virus or a mutation), counting the writes to
.aimdx. Not every cycle. - Cleared
- Never. Your DNA can overwrite it, but everyone else still sees the engine's count.
- Range
- 0 to about 16000; in practice, a few dozen.
- Mutations
- picked as a read (
*)
A counter taken from the bot's own DNA: how many times a write to .aimdx appears, that is, the number 5 (the address of .aimdx) immediately followed by a word of the store family, such as store, inc or addstore. 35 .aimdx store and .aimdx inc count; a computed address does not, nor does an .aimdx that does not come right before the write. Since what is looked at is the number, it also counts if you write the address by hand (5 instead of .aimdx).
It does not say whether those writes run: it counts what is written in the genome, whether it runs or not.
Its partner is .refaimdx, which brings the same count but from the DNA of the bot being looked at. Comparing them is one way to recognize members of your own species (see Its own signature (my*)):
' what I see writes to .aimdx a different number of times than I do
cond
*.eye5 0 >
*.refaimdx *.myaimdx !=
start
1 60 store
stopThe engine computes it when the DNA changes (when loading, at birth, through a virus or a mutation; see Its own signature (my*)), not every cycle. If the bot writes to it, its value changes for the bot itself, but the others keep seeing the original count.