FreezeDriedMangos / CodeSnippetEvolution

Simulation of self-copying programs spreading through a virtual RAM. Uses a purpose-built pseudo assembly language. This project was inspired by SALIS and Tierra.
4 stars 0 forks source link

Make instruction blocks always valid with modulus #2

Closed ghost closed 5 years ago

ghost commented 5 years ago

When decoding an instruction, mod the body by the number of valid instructions. This way, instruction blocks will always be valid.