[Avida-SVN] r1676 - development/tests/resources_9r/config

blwalker at myxo.css.msu.edu blwalker at myxo.css.msu.edu
Wed Jun 13 13:42:17 PDT 2007


Author: blwalker
Date: 2007-06-13 16:42:16 -0400 (Wed, 13 Jun 2007)
New Revision: 1676

Added:
   development/tests/resources_9r/config/instset-classic.cfg
Log:

Adding missing instset-classic.cfg to resources_9r test.  I am a moron.


Added: development/tests/resources_9r/config/instset-classic.cfg
===================================================================
--- development/tests/resources_9r/config/instset-classic.cfg	                        (rev 0)
+++ development/tests/resources_9r/config/instset-classic.cfg	2007-06-13 20:42:16 UTC (rev 1676)
@@ -0,0 +1,52 @@
+nop-A      1   # a
+nop-B      1   # b
+nop-C      1   # c
+if-n-equ   1   # d
+if-less    1   # e
+pop        1   # f
+push       1   # g
+swap-stk   1   # h
+swap       1   # i 
+shift-r    1   # j
+shift-l    1   # k
+inc        1   # l
+dec        1   # m
+add        1   # n
+sub        1   # o
+nand       1   # p
+IO         1   # q   Puts current contents of register and gets new.
+h-alloc    1   # r   Allocate as much memory as organism can use.
+h-divide   1   # s   Cuts off everything between the read and write heads
+h-copy     1   # t   Combine h-read and h-write
+h-search   1   # u   Search for matching template, set flow head & return info
+               #   #   if no template, move flow-head here, set size&offset=0.
+mov-head   1   # v   Move ?IP? head to flow control.
+jmp-head   1   # w   Move ?IP? head by fixed amount in CX.  Set old pos in CX.
+get-head   1   # x   Get position of specified head in CX.
+if-label   1   # y
+set-flow   1   # z   Move flow-head to address in ?CX? 
+
+#adv-head   1
+#jump-f     1
+#jump-b     1
+#call       1
+#return     1
+#if-bit-1   1
+#get        1
+#put        1
+#h-read     1
+#h-write    1
+#set-head   1
+#search-f   1
+#search-b   1
+
+
+# Works on multiple nops:  pop  push  inc  dec  IO  adv-head 
+
+# What if we add a new head.  Search will return the location of something,
+# and put the new head there.  Then set-head will move another head to that
+# point.  In the case of the copy loop, it only needs to be set once and
+# this will speed up the code quite a bit!
+
+# Search with no template returns current position (abs line number) in
+# genome.
\ No newline at end of file




More information about the Avida-cvs mailing list