Back at pos 0 after increment
This commit is contained in:
parent
069368a13a
commit
f459e08793
19 changed files with 92 additions and 25 deletions
31
adder.tm
31
adder.tm
|
@ -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
|
||||
|
||||
|
||||
|
|
2
cards/30
2
cards/30
|
@ -3,4 +3,4 @@
|
|||
31
|
||||
0
|
||||
0
|
||||
40
|
||||
300
|
||||
|
|
6
cards/400
Normal file
6
cards/400
Normal file
|
@ -0,0 +1,6 @@
|
|||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
6
cards/401
Normal file
6
cards/401
Normal file
|
@ -0,0 +1,6 @@
|
|||
0
|
||||
1
|
||||
400
|
||||
1
|
||||
1
|
||||
400
|
6
cards/402
Normal file
6
cards/402
Normal file
|
@ -0,0 +1,6 @@
|
|||
0
|
||||
1
|
||||
401
|
||||
1
|
||||
1
|
||||
401
|
6
cards/403
Normal file
6
cards/403
Normal file
|
@ -0,0 +1,6 @@
|
|||
0
|
||||
1
|
||||
402
|
||||
1
|
||||
1
|
||||
402
|
6
cards/404
Normal file
6
cards/404
Normal file
|
@ -0,0 +1,6 @@
|
|||
0
|
||||
1
|
||||
403
|
||||
1
|
||||
1
|
||||
403
|
6
cards/405
Normal file
6
cards/405
Normal file
|
@ -0,0 +1,6 @@
|
|||
0
|
||||
1
|
||||
404
|
||||
1
|
||||
1
|
||||
404
|
6
cards/406
Normal file
6
cards/406
Normal file
|
@ -0,0 +1,6 @@
|
|||
0
|
||||
1
|
||||
405
|
||||
1
|
||||
1
|
||||
405
|
6
cards/407
Normal file
6
cards/407
Normal file
|
@ -0,0 +1,6 @@
|
|||
0
|
||||
1
|
||||
406
|
||||
1
|
||||
1
|
||||
406
|
6
cards/408
Normal file
6
cards/408
Normal file
|
@ -0,0 +1,6 @@
|
|||
0
|
||||
1
|
||||
407
|
||||
1
|
||||
1
|
||||
407
|
4
cards/41
4
cards/41
|
@ -1,6 +1,6 @@
|
|||
1
|
||||
0
|
||||
0
|
||||
1
|
||||
400
|
||||
0
|
||||
0
|
||||
42
|
||||
|
|
4
cards/42
4
cards/42
|
@ -1,6 +1,6 @@
|
|||
1
|
||||
0
|
||||
0
|
||||
1
|
||||
401
|
||||
0
|
||||
0
|
||||
43
|
||||
|
|
4
cards/43
4
cards/43
|
@ -1,6 +1,6 @@
|
|||
1
|
||||
0
|
||||
0
|
||||
1
|
||||
402
|
||||
0
|
||||
0
|
||||
44
|
||||
|
|
4
cards/44
4
cards/44
|
@ -1,6 +1,6 @@
|
|||
1
|
||||
0
|
||||
0
|
||||
1
|
||||
403
|
||||
0
|
||||
0
|
||||
45
|
||||
|
|
4
cards/45
4
cards/45
|
@ -1,6 +1,6 @@
|
|||
1
|
||||
0
|
||||
0
|
||||
1
|
||||
404
|
||||
0
|
||||
0
|
||||
46
|
||||
|
|
4
cards/46
4
cards/46
|
@ -1,6 +1,6 @@
|
|||
1
|
||||
0
|
||||
0
|
||||
1
|
||||
405
|
||||
0
|
||||
0
|
||||
47
|
||||
|
|
2
cards/47
2
cards/47
|
@ -1,6 +1,6 @@
|
|||
1
|
||||
1
|
||||
0
|
||||
406
|
||||
0
|
||||
0
|
||||
48
|
||||
|
|
4
cards/48
4
cards/48
|
@ -1,6 +1,6 @@
|
|||
1
|
||||
1
|
||||
407
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
407
|
||||
|
|
Loading…
Add table
Reference in a new issue