forked from YPetremann/ShenzhenIO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cellular-scaffold-printer-0.txt
128 lines (117 loc) · 1.38 KB
/
cellular-scaffold-printer-0.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[name] (CD) CaitSith2
[puzzle] Sz046
[production-cost] 2400
[power-usage] 906
[lines-of-code] 54
[traces]
......................
......................
......................
......................
......................
.........15555554.1C..
...9554.1555555D4..2..
...A....154....35554..
..16.....14.......14..
.....14.154.......14..
.....14.1495554.1414..
........156...........
......................
......................
[chip]
[type] UC6
[x] 6
[y] 2
[code]
S:slx x3
mov x3 acc
tlt p1 5
+ mov p1 x2
+ jmp S
mov p1 x1
tlt acc 3
- sub 3
- mov x0 null
mov acc dat
mov x0 acc
dgt dat
mov acc x2
[chip]
[type] UC6
[x] 14
[y] 2
[code]
t:slx x1
mov x1 acc
teq acc 0
+ jmp t
mov 10 x3
tcp acc 4
- mov 100 x3
+ mov 1 x3
slp 1
mov 0 x3
[chip]
[type] BANK
[x] 3
[y] 3
[rom]
20,0,0,40,0,0,242,424,226,626,220,20,6,606
[chip]
[type] BRIDGE
[x] 9
[y] 3
[chip]
[type] DX3
[x] 17
[y] 3
[chip]
[type] UC6
[x] 10
[y] 4
[code]
S:slx x0
mov x0 p0
A:mov acc x1
add 1
tlt acc 6
+ slp 1
+ jmp A
slx x0
mov x0 p0
B:sub 1
mov acc x1
tgt acc 0
+ slp 1
+ jmp B
[chip]
[type] UC4
[x] 6
[y] 6
[code]
mov 50 p1
slx x0
mov x0 acc
teq acc -1
+ gen p1 0 6
- mul 2
- mov acc x1
- slp 6
[chip]
[type] BRIDGE
[x] 9
[y] 6
[chip]
[type] UC4
[x] 16
[y] 7
[code]
@ mov 50 p1
slx x0
gen p1 5 0
mov 50 p1
gen p0 1 0
slx x0
gen p1 0 5
mov 50 p1
gen p0 1 0