From cfa6d17771832f5005fb400f6caa489c183d89b1 Mon Sep 17 00:00:00 2001 From: Mikael Nordin Date: Fri, 5 Jan 2018 15:27:17 +0100 Subject: [PATCH] Info about the adder program. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b6535cc..9ac97da 100644 --- a/README.md +++ b/README.md @@ -65,4 +65,5 @@ For instance, the one card busy beaver would look like this: 1:1,1,0,1,0,0 ```` - +## The adder program +The adder program on the cards in the repository will add two binary numbers in registry position -1 to -7 and 1 to 7 and place the result in registry position 1 to 8. It does this by decrementing the number in -1 to -7 by one and incrementing the number in 1 to 7 untill the number in the negative part of the registry is zero. The hard code values for the two numbers is 8 and 4 but can be changed to any 7 bit number.