Back at pos 0 after increment

This commit is contained in:
Micke Nordin 2017-12-31 11:56:25 +01:00
parent 069368a13a
commit f459e08793
19 changed files with 92 additions and 25 deletions

View file

@ -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

View file

@ -3,4 +3,4 @@
31
0
0
40
300

6
cards/400 Normal file
View file

@ -0,0 +1,6 @@
0
0
0
0
0
0

6
cards/401 Normal file
View file

@ -0,0 +1,6 @@
0
1
400
1
1
400

6
cards/402 Normal file
View file

@ -0,0 +1,6 @@
0
1
401
1
1
401

6
cards/403 Normal file
View file

@ -0,0 +1,6 @@
0
1
402
1
1
402

6
cards/404 Normal file
View file

@ -0,0 +1,6 @@
0
1
403
1
1
403

6
cards/405 Normal file
View file

@ -0,0 +1,6 @@
0
1
404
1
1
404

6
cards/406 Normal file
View file

@ -0,0 +1,6 @@
0
1
405
1
1
405

6
cards/407 Normal file
View file

@ -0,0 +1,6 @@
0
1
406
1
1
406

6
cards/408 Normal file
View file

@ -0,0 +1,6 @@
0
1
407
1
1
407

View file

@ -1,6 +1,6 @@
1
0
0
1
400
0
0
42

View file

@ -1,6 +1,6 @@
1
0
0
1
401
0
0
43

View file

@ -1,6 +1,6 @@
1
0
0
1
402
0
0
44

View file

@ -1,6 +1,6 @@
1
0
0
1
403
0
0
45

View file

@ -1,6 +1,6 @@
1
0
0
1
404
0
0
46

View file

@ -1,6 +1,6 @@
1
0
0
1
405
0
0
47

View file

@ -1,6 +1,6 @@
1
1
0
406
0
0
48

View file

@ -1,6 +1,6 @@
1
1
407
0
0
0
0
407