Added celluar automaton rule28

This commit is contained in:
Lukáš Plevač 2023-11-22 11:24:49 +01:00
parent d15f943c5f
commit dba8571de6

20
codes/rule28.asm Normal file
View File

@ -0,0 +1,20 @@
#
# RULE 110 cellular automaton implementation in DNA|SIMD
# @autor Lukáš Plevač <xpleva07@vutbr.cz>
# @date 11.21.2023
#
define:
0 [AB][CDE]
1 [ABCD]{E}
data:
1001111010000
instructions:
{E*A*B*F*} # mark 10
{D*E*A*B*C*G*} # mark 11
{DEABCG} # remove mark 11
{A*B*} {C*D*E*} # write 0
{EABF} # remove mark 10
{A*B*C*D*} # write 1