mirror of
https://github.com/Lukas0025/POC1-SIMD-DNA.git
synced 2025-04-05 23:25:27 +01:00
20 lines
399 B
NASM
20 lines
399 B
NASM
#
|
|
# 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 |