diff options
Diffstat (limited to 'anc')
| -rw-r--r-- | anc/null/0123.asm | 8 | ||||
| -rw-r--r-- | anc/v1/55a.asm | 82 |
2 files changed, 90 insertions, 0 deletions
diff --git a/anc/null/0123.asm b/anc/null/0123.asm new file mode 100644 index 0000000..7ade591 --- /dev/null +++ b/anc/null/0123.asm @@ -0,0 +1,8 @@ +; file : anc/null/0123.asm +; project : Salis-VM +; author : Paul Oliver <contact@pauloliver.dev> + +null 0 +null 1 +null 2 +null 3 diff --git a/anc/v1/55a.asm b/anc/v1/55a.asm new file mode 100644 index 0000000..bd70cdb --- /dev/null +++ b/anc/v1/55a.asm @@ -0,0 +1,82 @@ +; file : anc/v1/55a.asm +; project : Salis-VM +; author : Paul Oliver <contact@pauloliver.dev> +; +; Based on the original 55a ancestor organism from Salis-V1. +; This organism first measures itself by means of key/lock instructions. +; Then it replicates continuously in both directions. + +; index +; [section] begin gene +; [section] measure gene +; [section] allocation gene +; [section] copy gene +; [section] split gene +; [section] end gene + +; [section] begin gene +loka + +; [section] measure gene +adrb +keya +adrf +keya +nop1 +incn +nop1 +subn +nop1 +nop1 + +; [section] allocation gene +lokb +notn +nop3 +rpsh +nop1 +rpsh +nop3 +ifnz +nop3 +jmpf +keyc +malb +nop1 +nop2 +jmpf +keyd +lokc +malf +nop1 +nop2 + +; [section] copy gene +lokd +rloa +nop0 +nop3 +rwrt +nop2 +nop3 +incn +incn +nop2 +decn +nop1 +ifnz +nop1 +jmpb +keyd + +; [section] split gene +bspl +rpop +nop3 +rpop +nop1 +jmpb +keyb + +; [section] end gene +loka |
