diff --git a/adder.tm b/adder.tm index 67b3b46..8e72dc4 100644 --- a/adder.tm +++ b/adder.tm @@ -49,7 +49,7 @@ # This is a decrementer for registry -1 through -8 # decrement: if 1 write 0: end # if 0 write 1 move to next -30:1,1,31,0,0,40 +30:1,1,31,0,0,300 31:1,1,32,0,0,301 32:1,1,33,0,0,302 33:1,1,34,0,0,303 @@ -72,11 +72,24 @@ # Here we need to increment the positive registry # increment: if 0 write 1: end # if 1 write 0 move to next -41:1,0,0,0,0,42 -42:1,0,0,0,0,43 -43:1,0,0,0,0,44 -44:1,0,0,0,0,45 -45:1,0,0,0,0,46 -46:1,0,0,0,0,47 -47:1,1,0,0,0,48 -48:1,1,0,0,0,0 +41:1,1,400,0,0,42 +42:1,1,401,0,0,43 +43:1,1,402,0,0,44 +44:1,1,403,0,0,45 +45:1,1,404,0,0,46 +46:1,1,405,0,0,47 +47:1,1,406,0,0,48 +48:1,1,407,0,0,407 + +# Here we need to go back to pos 0 after the incrementer is done +400:0,0,0,0,0,0 +401:0,1,400,1,1,400 +402:0,1,401,1,1,401 +403:0,1,402,1,1,402 +404:0,1,403,1,1,403 +405:0,1,404,1,1,404 +406:0,1,405,1,1,405 +407:0,1,406,1,1,406 +408:0,1,407,1,1,407 + + diff --git a/cards/30 b/cards/30 index c25c014..ffe343a 100644 --- a/cards/30 +++ b/cards/30 @@ -3,4 +3,4 @@ 31 0 0 -40 +300 diff --git a/cards/400 b/cards/400 new file mode 100644 index 0000000..f7eb44d --- /dev/null +++ b/cards/400 @@ -0,0 +1,6 @@ +0 +0 +0 +0 +0 +0 diff --git a/cards/401 b/cards/401 new file mode 100644 index 0000000..0a7201e --- /dev/null +++ b/cards/401 @@ -0,0 +1,6 @@ +0 +1 +400 +1 +1 +400 diff --git a/cards/402 b/cards/402 new file mode 100644 index 0000000..cb69e14 --- /dev/null +++ b/cards/402 @@ -0,0 +1,6 @@ +0 +1 +401 +1 +1 +401 diff --git a/cards/403 b/cards/403 new file mode 100644 index 0000000..5a618f9 --- /dev/null +++ b/cards/403 @@ -0,0 +1,6 @@ +0 +1 +402 +1 +1 +402 diff --git a/cards/404 b/cards/404 new file mode 100644 index 0000000..afb5bd2 --- /dev/null +++ b/cards/404 @@ -0,0 +1,6 @@ +0 +1 +403 +1 +1 +403 diff --git a/cards/405 b/cards/405 new file mode 100644 index 0000000..ad11fce --- /dev/null +++ b/cards/405 @@ -0,0 +1,6 @@ +0 +1 +404 +1 +1 +404 diff --git a/cards/406 b/cards/406 new file mode 100644 index 0000000..debb381 --- /dev/null +++ b/cards/406 @@ -0,0 +1,6 @@ +0 +1 +405 +1 +1 +405 diff --git a/cards/407 b/cards/407 new file mode 100644 index 0000000..c82908a --- /dev/null +++ b/cards/407 @@ -0,0 +1,6 @@ +0 +1 +406 +1 +1 +406 diff --git a/cards/408 b/cards/408 new file mode 100644 index 0000000..a4125fa --- /dev/null +++ b/cards/408 @@ -0,0 +1,6 @@ +0 +1 +407 +1 +1 +407 diff --git a/cards/41 b/cards/41 index b5b9992..b0d9306 100644 --- a/cards/41 +++ b/cards/41 @@ -1,6 +1,6 @@ 1 -0 -0 +1 +400 0 0 42 diff --git a/cards/42 b/cards/42 index 88b4cdb..0827e3a 100644 --- a/cards/42 +++ b/cards/42 @@ -1,6 +1,6 @@ 1 -0 -0 +1 +401 0 0 43 diff --git a/cards/43 b/cards/43 index 852d342..712c033 100644 --- a/cards/43 +++ b/cards/43 @@ -1,6 +1,6 @@ 1 -0 -0 +1 +402 0 0 44 diff --git a/cards/44 b/cards/44 index c4fa58f..617fa10 100644 --- a/cards/44 +++ b/cards/44 @@ -1,6 +1,6 @@ 1 -0 -0 +1 +403 0 0 45 diff --git a/cards/45 b/cards/45 index 4f33afb..48136ee 100644 --- a/cards/45 +++ b/cards/45 @@ -1,6 +1,6 @@ 1 -0 -0 +1 +404 0 0 46 diff --git a/cards/46 b/cards/46 index 2a539e8..5e28119 100644 --- a/cards/46 +++ b/cards/46 @@ -1,6 +1,6 @@ 1 -0 -0 +1 +405 0 0 47 diff --git a/cards/47 b/cards/47 index 17503fc..8febd7d 100644 --- a/cards/47 +++ b/cards/47 @@ -1,6 +1,6 @@ 1 1 -0 +406 0 0 48 diff --git a/cards/48 b/cards/48 index cfc348a..c967913 100644 --- a/cards/48 +++ b/cards/48 @@ -1,6 +1,6 @@ 1 1 +407 0 0 -0 -0 +407