diff options
author | Paul Oliver <contact@pauloliver.dev> | 2024-04-03 03:11:42 +0200 |
---|---|---|
committer | Paul Oliver <contact@pauloliver.dev> | 2024-04-16 22:50:21 +0200 |
commit | 9779eecbee025d757df43b03a0dc27c5148245a5 (patch) | |
tree | 6d0c0712dd3eecdd8327511fb8df224bc26e6a54 /ancs | |
parent | 5daf52d92c472ebf2a675cb2d27ca3e3fbdf0034 (diff) |
Adds salis-v1 VM architecture
Diffstat (limited to 'ancs')
-rw-r--r-- | ancs/salis-v1/1n.asm | 5 | ||||
-rw-r--r-- | ancs/salis-v1/55a.asm | 74 | ||||
-rw-r--r-- | ancs/salis-v1/55b.asm | 74 |
3 files changed, 153 insertions, 0 deletions
diff --git a/ancs/salis-v1/1n.asm b/ancs/salis-v1/1n.asm new file mode 100644 index 0000000..b441922 --- /dev/null +++ b/ancs/salis-v1/1n.asm @@ -0,0 +1,5 @@ +; Project: Salis +; Author: Paul Oliver +; Email: contact@pauloliver.dev + +noop diff --git a/ancs/salis-v1/55a.asm b/ancs/salis-v1/55a.asm new file mode 100644 index 0000000..6e060ba --- /dev/null +++ b/ancs/salis-v1/55a.asm @@ -0,0 +1,74 @@ +; Project: Salis +; Author: Paul Oliver +; Email: contact@pauloliver.dev + +; Based on the original 55.anc ancestor from salis-v1: +; https://git.pauloliver.dev/salis-v1/tree/bin/genomes/55.anc +; This organism replicates bidirectionally. + +; begin template +loka + +; measure gene +adrb +keya +adrf +keya +nop1 +incn +nop1 +subn +nop1 +nop1 + +; alloc gene +lokb +notn +nop3 +pshn +nop1 +pshn +nop3 +ifnz +nop3 +jmpf +keyc +allb +nop1 +nop2 +jmpf +keyd +lokc +allf +nop1 +nop2 + +; copy gene +lokd +load +nop0 +nop3 +wrte +nop2 +nop3 +incn +incn +nop2 +decn +nop1 +ifnz +nop1 +jmpb +keyd + +; split gene +splt +popn +nop3 +popn +nop1 +jmpb +keyb + +; end template +loka diff --git a/ancs/salis-v1/55b.asm b/ancs/salis-v1/55b.asm new file mode 100644 index 0000000..7c830e7 --- /dev/null +++ b/ancs/salis-v1/55b.asm @@ -0,0 +1,74 @@ +; Project: Salis +; Author: Paul Oliver +; Email: contact@pauloliver.dev + +; Based on the original 55.anc ancestor from salis-v1: +; https://git.pauloliver.dev/salis-v1/tree/bin/genomes/55.anc +; This organism replicates bidirectionally. + +; begin template +lokb + +; measure gene +adrb +keyb +adrf +keyb +nop1 +incn +nop1 +subn +nop1 +nop1 + +; alloc gene +lokc +notn +nop3 +pshn +nop1 +pshn +nop3 +ifnz +nop3 +jmpf +keyd +allb +nop1 +nop2 +jmpf +keye +lokd +allf +nop1 +nop2 + +; copy gene +loke +load +nop0 +nop3 +wrte +nop2 +nop3 +incn +incn +nop2 +decn +nop1 +ifnz +nop1 +jmpb +keye + +; split gene +splt +popn +nop3 +popn +nop1 +jmpb +keyc + +; end template +lokb |