From dce2fc82ddb07aa3f2ae9ef65c532d995635e02f Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Thu, 4 Jan 2018 11:40:38 +0100 Subject: [PATCH] Found the error --- adder.tm | 11 ++++++----- cards/14 | 2 +- cards/15 | 2 +- cards/308 | 6 ++++++ cards/34 | 2 +- cards/35 | 2 +- cards/36 | 2 +- cards/37 | 2 +- cards/38 | 2 +- 9 files changed, 19 insertions(+), 12 deletions(-) create mode 100644 cards/308 diff --git a/adder.tm b/adder.tm index f7dd521..e8b224f 100644 --- a/adder.tm +++ b/adder.tm @@ -53,11 +53,11 @@ 31:1,1,32,0,0,301 32:1,1,33,0,0,302 33:1,1,34,0,0,303 -34:1,1,35,0,0,302 -35:1,1,36,0,0,304 -36:1,1,37,0,0,305 -37:1,1,38,0,0,306 -38:1,1,39,0,0,307 +34:1,1,35,0,0,304 +35:1,1,36,0,0,305 +36:1,1,37,0,0,306 +37:1,1,38,0,0,307 +38:1,1,39,0,0,308 # If we get this far we have overflow and should end the program 39:1,0,510,0,0,0 @@ -71,6 +71,7 @@ 305:0,0,304,1,0,304 306:0,0,305,1,0,305 307:0,0,306,1,0,306 +308:0,0,307,1,0,307 # Here we need to increment the positive registry # increment: if 0 write 1: end diff --git a/cards/14 b/cards/14 index 11aadb2..8158c89 100644 --- a/cards/14 +++ b/cards/14 @@ -1,4 +1,4 @@ -0 +1 1 15 0 diff --git a/cards/15 b/cards/15 index 0de75a1..0855141 100644 --- a/cards/15 +++ b/cards/15 @@ -1,4 +1,4 @@ -1 +0 1 16 0 diff --git a/cards/308 b/cards/308 new file mode 100644 index 0000000..3d41be9 --- /dev/null +++ b/cards/308 @@ -0,0 +1,6 @@ +0 +0 +307 +1 +0 +307 diff --git a/cards/34 b/cards/34 index 0807112..b062fb1 100644 --- a/cards/34 +++ b/cards/34 @@ -3,4 +3,4 @@ 35 0 0 -302 +304 diff --git a/cards/35 b/cards/35 index 9f0a566..5cfc555 100644 --- a/cards/35 +++ b/cards/35 @@ -3,4 +3,4 @@ 36 0 0 -304 +305 diff --git a/cards/36 b/cards/36 index d241474..8313acb 100644 --- a/cards/36 +++ b/cards/36 @@ -3,4 +3,4 @@ 37 0 0 -305 +306 diff --git a/cards/37 b/cards/37 index 1fa522c..a7a1152 100644 --- a/cards/37 +++ b/cards/37 @@ -3,4 +3,4 @@ 38 0 0 -306 +307 diff --git a/cards/38 b/cards/38 index bcf4dd1..1b6beb8 100644 --- a/cards/38 +++ b/cards/38 @@ -3,4 +3,4 @@ 39 0 0 -307 +308