23 February 2011

Eight-bit processor based on prime numbers


Accumulator:

Х Х Х ХХХХX —> 1 2 3 - low bits

| | | | | | | |

1713117 5 3 2 1

Register R0:

Х Х Х Х Х Х Х Х
43 41 37 31 29 23 19
__________ Primes to the processor ! (Complex for operations)

00000000 = 0 |

00000001 = 1 | “one“

00000010 = 2 | “two“

00000100 = 3 | “three“

00000110 = 4 | 3 two

00001000 = 5 | “four“

00001001 = 6 | 5 one

00010000 = 7 | “five“

00010001 = 8 | 7 one

00010010 = 9 | 7 two

00010100 = 10| 7 three

00100000 = 11| “six“

00100001 = 12| 11 one

01000000 = 13| “SEVEN“

01000001 = 14| 13 one

01000010 = 15| 13 two

01000100 = 16| 13 three

10000000 = 17| “EIGHT“

Every prime number, which is not low bit is able to be presented in more than one way.

It is always better to present one number with smaller bits.

Calculation rules

Sum:

Case А) ? no double bit:

01000100 = 16

+

00001001 = 6

=

01001101 = 22

Case B) ? the double bit is presented through lower bits:

01000100 = 16 = 13 three

+

00010100 = 10 = 7 three

=

01010100 =

+

00000100 = 00000011

=

01010111 = 26

01000000 = 13 = 13

+

01000001 = 14 = 13 one

=

01000001

+

01000000 = 00100010

=

01100011 = 27

01000001 = 14 = 13 one

+

01000010 = 15 = 13 two

=

01000011

+

01000000 = 00011000

=

00011011 = 29

We sum А and B, A>B

I. А+B=C+D , when C is a number including all significant bits no matter their repeating, and D consists only of double bits.
  1. D=E+F+… ; E, F ? numbers consisted only from one digit
E ? we begin from the highest bit making it to the lowest bits

Conclusion: Since the actual discharge means multiplication of the unit with a prime number, and because the numbers are hole, transformations II are actually bringing the numbers to end chain fractiones.

Substraction:

01000100 = 16 = 00100110 = 2+3+11

-

00001001 = 6 = 00000111 = 1 + 2 + 3

=

000010110 = 10

Substraction А from B, А>B

А and B are divided to significant bits with lower rates;

А-B = D-E ,E ?

The action is repeating until:

X=00000000 (0) или X=00000001 (1)

X=0 , the result is D

X=1, analogic -> try it yourself

Multiplication:

00001000 = 5 = 00000110 = 2+3

*

00001001 = 6 = 00000111 = 1 + 2 + 3

=

11000000 = 30 = 2*3*5 = 00000010

*

00000100

*

00001000

=

(2*3)*5

2*3

=

00000010

*

00000100

=

00000100

+

00000100

=

00000111=6

(2*3)*5

=

……….

Multiplication is alike sum !

…..

General conclusion: This kind of processor would be much faster and efficient.

Conclusion: One 9-bit processor should be much more precise at the point.

X Х Х Х ХХХХX —> 1 2 3

| | | | | | | | |

19171311 7 5 3 2 1

13 17 19 highest bits !

There is geometrical-physical matter !

1 is point, and 13+17+19=7*7 =circle*circle = Sphere

Theoretical 3-bit processor -> sum of prime numbers




XX0, X0X, 0XX = conditions
7*7 = private case of interruption

Construction= 3-bit processor with big efficiency

Characteristic equations of the Chess game



The points-centres of the chess board must be projected on the pyramid...

Point 1: 5/6 from the foundation on the height of the pyramid

Point 2: 1/3 from the foundation on theheight of the pyramid

Explanation:

The inner squares of the board are situated on the upper wall of the half-cube, and the rest on the side walls. The down wall is without squares !

I1( Integral debute ) = А

I2 ( Integral mittelspiel ) = B – А

I3 ( Integral endspiel ) = C – B

А



B



C

Einstein riddle

  1. There are five houses.
  2. The Englishman lives in the red house.
  3. The Spaniard owns the dog.
  4. Coffee is drunk in the green house.
  5. The Ukrainian drinks tea.
  6. The green house is immediately to the right of the ivory house.
  7. The Old Gold smoker owns snails.
  8. Kools are smoked in the yellow house.
  9. Milk is drunk in the middle house.
  10. The Norwegian lives in the first house.
  11. The man who smokes Chesterfields lives in the house next to the man with the fox.
  12. Kools are smoked in the house next to the house where the horse is kept. (should be "... a house ...", see Discussion section)
  13. The Lucky Strike smoker drinks orange juice.
  14. The Japanese smokes Parliaments.
  15. The Norwegian lives next to the blue house.
Now, who drinks water? Who owns the zebra? In the interest of clarity, it must be added that each of the five houses is painted a different color, and their inhabitants are of different national extractions, own different pets, drink different beverages and smoke different brands of American cigarets [sic]. One other thing: in statement 6, right means your right.– Life International, December 17, 1962

Solution