forked from YPetremann/ShenzhenIO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
brain-computer-interface-0.txt
128 lines (117 loc) · 1.36 KB
/
brain-computer-interface-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] (CLD) CaitSith2
[puzzle] Sz045
[production-cost] 2700
[power-usage] 6900
[lines-of-code] 54
[traces]
......................
......................
......................
......................
......................
..14....15C...........
..14....14A155C15C....
..1414.154A1C.A1CA14..
....94.14.A.A.A.AA1C..
..14A..154A.B4A16A.A..
..1434..15616.A156.A..
..14..........355556..
......................
......................
[chip]
[type] DX3
[x] 3
[y] 2
[rotated] true
[chip]
[type] UC6
[x] 9
[y] 2
[code]
mov x0 acc
tgt acc 99
+ mov 4 x3
+ sub 100
tgt acc 9
+ mov 3 x3
+ sub 10
teq acc 1
+ mov 2 x3
mov null x1
slp 1
[chip]
[type] UC4X
[x] 13
[y] 3
[code]
slx x0
mov x0 x3
mov 1 x2
mov 13 x3
[chip]
[type] RAM
[x] 16
[y] 3
[chip]
[type] UC6
[x] 5
[y] 4
[code]
mov x0 acc
add x1
teq acc 1
- teq acc 10
- teq acc 100
+ mov 1 p1
+ mov x0 x3
+ mov x1 x2
+ slp 1
mov 0 p1
mov x0 x3
mov x1 x2
slp 1
[chip]
[type] BRIDGE
[x] 8
[y] 5
[chip]
[type] UC6
[x] 16
[y] 5
[code]
slx x2
mov x2 acc
A:add x0
teq x1 5
- jmp A
tgt acc 1
- jmp C
L:teq x0 1
+ mov x1 x3
teq x1 5
- jmp L
C:mov 0 x0
teq x1 5
- jmp C
[chip]
[type] DX3
[x] 3
[y] 6
[rotated] true
[chip]
[type] UC6
[x] 9
[y] 6
[code]
mov x1 acc
tgt acc 99
+ mov 1 x2
+ sub 100
tgt acc 9
+ mov 0 x2
+ sub 10
teq acc 1
+ mov -1 x2
teq p0 x0
+ mov 0 x3
slp 1