Update README.md
This commit is contained in:
parent
60a4af359e
commit
ba9f2bb6cb
1 changed files with 12 additions and 1 deletions
13
README.md
13
README.md
|
@ -9,11 +9,22 @@ This is an example of a one card busy beaver:
|
|||
```
|
||||
1
|
||||
1
|
||||
0
|
||||
0
|
||||
1
|
||||
0
|
||||
0
|
||||
````
|
||||
that means
|
||||
```
|
||||
# If registry is zero
|
||||
1 # What to write one or zero
|
||||
1 # Move left for 1 move right for 0
|
||||
0 # Number of next card, an int
|
||||
# If registry is one
|
||||
1 # What to write one or zero
|
||||
0 # Move right for 1 move left for 0
|
||||
0 # Number of next card, an int
|
||||
````
|
||||
|
||||
This means that if the registry value is 0 write a 1 to the left and then move to card zero (halt). If the registry value is 0 write a 1 to the right and then move to card zero.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue