-
Notifications
You must be signed in to change notification settings - Fork 17
/
input.js
41 lines (41 loc) · 1.01 KB
/
input.js
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
module.exports = {
program: [
['#ip', 4],
['addi', 4, 16, 4],
['seti', 1, 1, 1],
['seti', 1, 7, 3],
['mulr', 1, 3, 2],
['eqrr', 2, 5, 2],
['addr', 2, 4, 4],
['addi', 4, 1, 4],
['addr', 1, 0, 0],
['addi', 3, 1, 3],
['gtrr', 3, 5, 2],
['addr', 4, 2, 4],
['seti', 2, 3, 4],
['addi', 1, 1, 1],
['gtrr', 1, 5, 2],
['addr', 2, 4, 4],
['seti', 1, 6, 4],
['mulr', 4, 4, 4],
['addi', 5, 2, 5],
['mulr', 5, 5, 5],
['mulr', 4, 5, 5],
['muli', 5, 11, 5],
['addi', 2, 1, 2],
['mulr', 2, 4, 2],
['addi', 2, 6, 2],
['addr', 5, 2, 5],
['addr', 4, 0, 4],
['seti', 0, 0, 4],
['setr', 4, 5, 2],
['mulr', 2, 4, 2],
['addr', 4, 2, 2],
['mulr', 4, 2, 2],
['muli', 2, 14, 2],
['mulr', 2, 4, 2],
['addr', 5, 2, 5],
['seti', 0, 5, 0],
['seti', 0, 2, 4],
],
};