Back at pos 0 after increment

master
Micke Nordin 6 years ago
parent 069368a13a
commit f459e08793

@ -49,7 +49,7 @@
# This is a decrementer for registry -1 through -8 # This is a decrementer for registry -1 through -8
# decrement: if 1 write 0: end # decrement: if 1 write 0: end
# if 0 write 1 move to next # 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 31:1,1,32,0,0,301
32:1,1,33,0,0,302 32:1,1,33,0,0,302
33:1,1,34,0,0,303 33:1,1,34,0,0,303
@ -72,11 +72,24 @@
# Here we need to increment the positive registry # Here we need to increment the positive registry
# increment: if 0 write 1: end # increment: if 0 write 1: end
# if 1 write 0 move to next # if 1 write 0 move to next
41:1,0,0,0,0,42 41:1,1,400,0,0,42
42:1,0,0,0,0,43 42:1,1,401,0,0,43
43:1,0,0,0,0,44 43:1,1,402,0,0,44
44:1,0,0,0,0,45 44:1,1,403,0,0,45
45:1,0,0,0,0,46 45:1,1,404,0,0,46
46:1,0,0,0,0,47 46:1,1,405,0,0,47
47:1,1,0,0,0,48 47:1,1,406,0,0,48
48:1,1,0,0,0,0 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save