summaryrefslogtreecommitdiff
path: root/anc
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2026-07-14 17:29:02 +0200
committerPaul Oliver <contact@pauloliver.dev>2026-08-30 16:24:48 +0200
commit1961b4b237083f4cfac9ca6b249c1d6cb665d149 (patch)
treefd9fc8260360e2ac30be9747ca558bcfc824a4c4 /anc
Initial (refactor)HEADmaster
Diffstat (limited to 'anc')
-rw-r--r--anc/null/0123.asm8
-rw-r--r--anc/v1/55a.asm82
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