@ic10/metadata 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/locals/builtin.d.ts +33 -0
- package/dist/locals/builtin.js +34 -0
- package/dist/locals/enums.d.ts +3 -0
- package/dist/locals/enums.js +4044 -0
- package/dist/locals/index.d.ts +3 -0
- package/dist/locals/index.js +3 -0
- package/dist/locals/instructions.d.ts +981 -0
- package/dist/locals/instructions.js +982 -0
- package/dist/stationpedia/CN/colors.d.ts +67 -0
- package/dist/stationpedia/CN/colors.js +132 -0
- package/dist/stationpedia/CN/constants.d.ts +3 -0
- package/dist/stationpedia/CN/constants.js +6765 -0
- package/dist/stationpedia/CN/consts.d.ts +681 -0
- package/dist/stationpedia/CN/consts.js +682 -0
- package/dist/stationpedia/CN/data.d.ts +3 -0
- package/dist/stationpedia/CN/data.js +41463 -0
- package/dist/stationpedia/CN/index.d.ts +6 -0
- package/dist/stationpedia/CN/index.js +6 -0
- package/dist/stationpedia/CN/instructions.d.ts +2 -0
- package/dist/stationpedia/CN/instructions.js +3 -0
- package/dist/stationpedia/CN/tags.d.ts +2 -0
- package/dist/stationpedia/CN/tags.js +14 -0
- package/dist/stationpedia/EN/colors.d.ts +67 -0
- package/dist/stationpedia/EN/colors.js +132 -0
- package/dist/stationpedia/EN/constants.d.ts +3 -0
- package/dist/stationpedia/EN/constants.js +6765 -0
- package/dist/stationpedia/EN/consts.d.ts +681 -0
- package/dist/stationpedia/EN/consts.js +682 -0
- package/dist/stationpedia/EN/data.d.ts +3 -0
- package/dist/stationpedia/EN/data.js +41471 -0
- package/dist/stationpedia/EN/index.d.ts +6 -0
- package/dist/stationpedia/EN/index.js +6 -0
- package/dist/stationpedia/EN/instructions.d.ts +2 -0
- package/dist/stationpedia/EN/instructions.js +3 -0
- package/dist/stationpedia/EN/tags.d.ts +2 -0
- package/dist/stationpedia/EN/tags.js +15 -0
- package/dist/std/builtin.d.ts +18 -0
- package/dist/std/builtin.js +19 -0
- package/dist/std/enums.d.ts +3 -0
- package/dist/std/enums.js +3582 -0
- package/dist/std/index.d.ts +3 -0
- package/dist/std/index.js +3 -0
- package/dist/std/instructions.d.ts +818 -0
- package/dist/std/instructions.js +819 -0
- package/package.json +50 -0
|
@@ -0,0 +1,982 @@
|
|
|
1
|
+
// AUTO-GENERATED from metadata/json/locals/instructions.json. DO NOT EDIT.
|
|
2
|
+
const data = {
|
|
3
|
+
"#": {
|
|
4
|
+
"desc": {
|
|
5
|
+
"en": "any characters on line after this ignored",
|
|
6
|
+
"zh": "此行中该符号之后的所有字符都会被忽略"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"abs": {
|
|
10
|
+
"desc": {
|
|
11
|
+
"en": "Compares the absolute value of a, and stores it in register (r?)",
|
|
12
|
+
"zh": "比较a的绝对值,并保存在寄存器(r?)中"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"acos": {
|
|
16
|
+
"desc": {
|
|
17
|
+
"en": "Calculates the cosine value of the arc length a, and stores it in register (r?)",
|
|
18
|
+
"zh": "计算弧长为a的余弦值,并保存在寄存器(r?)中"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"add": {
|
|
22
|
+
"desc": {
|
|
23
|
+
"en": "Calculates the result of a + b and stores it in register (r?)",
|
|
24
|
+
"zh": "计算a+b的结果并保存在寄存器(r?)中"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"alias": {
|
|
28
|
+
"desc": {
|
|
29
|
+
"en": "Assigns a label (str) as an alias for a register (r?) or device (d?). Device aliases will also affect the content displayed on IC package pins.",
|
|
30
|
+
"zh": "使用别名(alias)为寄存器(r?)或设备(d?)指定一个标签(str),设备别名也会影响IC封装引脚上显示的内容"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"and": {
|
|
34
|
+
"desc": {
|
|
35
|
+
"en": "Performs a bitwise AND operation on the binary representations of two values. Each bit in the result is determined by the corresponding bits of the input values: if both input bits are 1, the result bit is 1; otherwise, the result bit is 0.",
|
|
36
|
+
"zh": "对两个数值的二进制表示形式执行按位AND(与)运算。结果中的每个位都是通过计算输入值的相应二进制位来确定的。如果输入值中的两个位均为1,则结果位为1;否则,结果位为0"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"asin": {
|
|
40
|
+
"desc": {
|
|
41
|
+
"en": "Arcsine function: calculates the radian value of the angle whose sine is a, and stores the result in register (r?)",
|
|
42
|
+
"zh": "反正弦函数,计算正弦值为a的弧长值,并保存在寄存器(r?)中"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"atan": {
|
|
46
|
+
"desc": {
|
|
47
|
+
"en": "Arctangent function: calculates the radian value of the angle whose tangent is a, and stores the result in register (r?)",
|
|
48
|
+
"zh": "反正切函数,计算正切值为a的弧长值,并保存在寄存器(r?)中"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"atan2": {
|
|
52
|
+
"desc": {
|
|
53
|
+
"en": "Advanced arctangent function atan2: calculates the radian value of the angle represented by parameters a (y) and b (x), and stores the result in register (r?)",
|
|
54
|
+
"zh": "高级反正切函数atan2,计算两个参数a(y)和b(x)所代表的正切值的弧长,并保存在寄存器(r?)中"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"bap": {
|
|
58
|
+
"desc": {
|
|
59
|
+
"en": "Jumps to line number d when abs(a-b) <= max(c * max(abs(a), abs(b)), float.epsilon * 8)",
|
|
60
|
+
"zh": "当符合abs(a-b)<=max(c*max(abs(a), abs(b)), float.epsilon*8)时,则跳转到代码行号d"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"bapal": {
|
|
64
|
+
"desc": {
|
|
65
|
+
"en": "Jumps to line number c if a != b, and stores the line number before jumping plus 1 into register ra",
|
|
66
|
+
"zh": "如果a!=b,则跳转到代码行号c行,并将跳转前的行号+1并储存在寄存器ra"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"bapz": {
|
|
70
|
+
"desc": {
|
|
71
|
+
"en": "Jumps to line number c when abs(a) <= float.epsilon * 8",
|
|
72
|
+
"zh": "当符合abs(a)<=float.epsilon*8,则跳转到代码行号c"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"bapzal": {
|
|
76
|
+
"desc": {
|
|
77
|
+
"en": "Jumps to line number c when abs(a) <= float.epsilon * 8",
|
|
78
|
+
"zh": "当符合abs(a)<=float.epsilon*8,则跳转到代码行号c"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"bdns": {
|
|
82
|
+
"desc": {
|
|
83
|
+
"en": "Jumps to line number a if the device (d) is invalid",
|
|
84
|
+
"zh": "如果设备(d)无效,则跳转到代码行号a"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"bdnsal": {
|
|
88
|
+
"desc": {
|
|
89
|
+
"en": "Jumps to line number a if the device (d) is invalid, and stores the line number before jumping plus 1 into register ra",
|
|
90
|
+
"zh": "如果设备(d)无效,则跳转到代码行号a,并将跳转前的行号+1并储存在寄存器ra"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"bdnvl": {
|
|
94
|
+
"desc": {
|
|
95
|
+
"en": "Jumps to line a if the specified device is invalid for read instructions of the specified logic type",
|
|
96
|
+
"zh": "如果所提供的设备对于所提供逻辑类型的读取指令无效,则跳转到行a"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"bdnvs": {
|
|
100
|
+
"desc": {
|
|
101
|
+
"en": "Jumps to line a if the specified device is invalid for write instructions of the specified logic type",
|
|
102
|
+
"zh": "如果所提供的设备对于所提供逻辑类型的写入指令无效,则跳转到行a"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"bdse": {
|
|
106
|
+
"desc": {
|
|
107
|
+
"en": "Jumps to line number a if the device (d) is valid",
|
|
108
|
+
"zh": "如果设备(d)有效,则跳转到代码行号a"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"bdseal": {
|
|
112
|
+
"desc": {
|
|
113
|
+
"en": "Jumps to line number a if the device (d) is valid, and stores the line number before jumping plus 1 into register ra",
|
|
114
|
+
"zh": "如果设备(d)有效,则跳转到代码行号a,并将跳转前的行号+1并储存在寄存器ra"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"beq": {
|
|
118
|
+
"desc": {
|
|
119
|
+
"en": "Jumps to line number c if a == b",
|
|
120
|
+
"zh": "如果a==b,则跳转到代码行号c"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"beqal": {
|
|
124
|
+
"desc": {
|
|
125
|
+
"en": "Jumps to line number c if a == b, and stores the line number before jumping plus 1 into register ra",
|
|
126
|
+
"zh": "如果a==b,则跳转到代码行号c行,并将跳转前的行号+1并储存在寄存器ra"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"beqz": {
|
|
130
|
+
"desc": {
|
|
131
|
+
"en": "Jumps to line number b if a == 0",
|
|
132
|
+
"zh": "如果a==0,则跳转到代码行号b"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"beqzal": {
|
|
136
|
+
"desc": {
|
|
137
|
+
"en": "Jumps to line number b if a == 0, and stores the line number before jumping plus 1 into register ra",
|
|
138
|
+
"zh": "如果a==0,则跳转到代码行号b行,并将跳转前的行号+1并储存在寄存器ra"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"bge": {
|
|
142
|
+
"desc": {
|
|
143
|
+
"en": "Jumps to line number c if a >= b",
|
|
144
|
+
"zh": "如果a>=b,则跳转到代码行号c"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"bgeal": {
|
|
148
|
+
"desc": {
|
|
149
|
+
"en": "Jumps to line number c if a >= b, and stores the line number before jumping plus 1 into register ra",
|
|
150
|
+
"zh": "如果a>=b,则跳转到代码行号c行,并将跳转前的行号+1并储存在寄存器ra"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"bgez": {
|
|
154
|
+
"desc": {
|
|
155
|
+
"en": "Jumps to line number b if a >= 0",
|
|
156
|
+
"zh": "如果a>=0,则跳转到代码行号b"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"bgezal": {
|
|
160
|
+
"desc": {
|
|
161
|
+
"en": "Jumps to line number b if a >= 0, and stores the line number before jumping plus 1 into register ra",
|
|
162
|
+
"zh": "如果a>=0,则跳转到代码行号b行,并将跳转前的行号+1并储存在寄存器ra"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"bgt": {
|
|
166
|
+
"desc": {
|
|
167
|
+
"en": "Jumps to line number c if a > b",
|
|
168
|
+
"zh": "如果a>b,则跳转到代码行号c"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"bgtal": {
|
|
172
|
+
"desc": {
|
|
173
|
+
"en": "Jumps to line number c if a > b, and stores the line number before jumping plus 1 into register ra",
|
|
174
|
+
"zh": "如果a>b,则跳转到代码行号c行,并将跳转前的行号+1并储存在寄存器ra"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"bgtz": {
|
|
178
|
+
"desc": {
|
|
179
|
+
"en": "Jumps to line number b if a > 0",
|
|
180
|
+
"zh": "如果a>0,则跳转到代码行号b"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"bgtzal": {
|
|
184
|
+
"desc": {
|
|
185
|
+
"en": "Jumps to line number b if a > 0, and stores the line number before jumping plus 1 into register ra",
|
|
186
|
+
"zh": "如果a>0,则跳转到代码行号b行,并将跳转前的行号+1并储存在寄存器ra"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"binary_number": {
|
|
190
|
+
"desc": {
|
|
191
|
+
"en": "any valid binary numbers (0 or 1) will be parsed together as a binary value. You can use underscores to help with readability, but they have no functional use. As an example, %1111 or %11_11 will parse as 15.",
|
|
192
|
+
"zh": "任意有效二进制数字(0 或 1)将被共同解析为一个二进制数值。可以使用下划线提升可读性,但下划线无实际功能作用。例如,%1111 或 %11_11 会被解析为 15。"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"ble": {
|
|
196
|
+
"desc": {
|
|
197
|
+
"en": "Jumps to line number c if a <= b",
|
|
198
|
+
"zh": "如果a<=b,则跳转到代码行号c"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"bleal": {
|
|
202
|
+
"desc": {
|
|
203
|
+
"en": "Jumps to line number c if a <= b, and stores the line number before jumping plus 1 into register ra",
|
|
204
|
+
"zh": "如果a<=b,则跳转到代码行号c行,并将跳转前的行号+1并储存在寄存器ra"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"blez": {
|
|
208
|
+
"desc": {
|
|
209
|
+
"en": "Jumps to line number b if a <= 0",
|
|
210
|
+
"zh": "如果a<=0,则跳转到代码行号b"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"blezal": {
|
|
214
|
+
"desc": {
|
|
215
|
+
"en": "Jumps to line number b if a <= 0, and stores the line number before jumping plus 1 into register ra",
|
|
216
|
+
"zh": "如果a<=0,则跳转到代码行号b行,并将跳转前的行号+1并储存在寄存器ra"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"blt": {
|
|
220
|
+
"desc": {
|
|
221
|
+
"en": "Jumps to line number c if a < b",
|
|
222
|
+
"zh": "如果a<b,则跳转到代码行号c"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"bltal": {
|
|
226
|
+
"desc": {
|
|
227
|
+
"en": "Jumps to line number c if a < b, and stores the line number before jumping plus 1 into register ra",
|
|
228
|
+
"zh": "如果a<b,则跳转到代码行号c行,并将跳转前的行号+1并储存在寄存器ra"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"bltz": {
|
|
232
|
+
"desc": {
|
|
233
|
+
"en": "Jumps to line number b if a < 0",
|
|
234
|
+
"zh": "如果a<0,则跳转到代码行号b"
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"bltzal": {
|
|
238
|
+
"desc": {
|
|
239
|
+
"en": "Jumps to line number b if a < 0, and stores the line number before jumping plus 1 into register ra",
|
|
240
|
+
"zh": "如果a<0,则跳转到代码行号b行,并将跳转前的行号+1并储存在寄存器ra"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"bna": {
|
|
244
|
+
"desc": {
|
|
245
|
+
"en": "Jumps to line number d when abs(a-b) > max(c * max(abs(a), abs(b)), float.epsilon * 8)",
|
|
246
|
+
"zh": "当符合abs(a-b)>max(c*max(abs(a), abs(b)), float.epsilon*8)时,则跳转到代码行号d"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"bnaal": {
|
|
250
|
+
"desc": {
|
|
251
|
+
"en": "Jumps to line number d when abs(a-b) > max(c * max(abs(a), abs(b)), float.epsilon * 8), and stores the line number before jumping plus 1 into register ra",
|
|
252
|
+
"zh": "当符合abs(a-b)>max(c*max(abs(a), abs(b)), float.epsilon*8)时,则跳转到代码行号d行,并将跳转前的行号+1并储存在寄存器ra"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"bnan": {
|
|
256
|
+
"desc": {
|
|
257
|
+
"en": "Jumps to line number b if a == NaN",
|
|
258
|
+
"zh": "如果a==NaN,则跳转到代码行号b"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"bnaz": {
|
|
262
|
+
"desc": {
|
|
263
|
+
"en": "Jumps to line number c when abs(a) > float.epsilon * 8",
|
|
264
|
+
"zh": "当符合abs(a)>float.epsilon*8,则跳转到代码行号c"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"bnazal": {
|
|
268
|
+
"desc": {
|
|
269
|
+
"en": "Jumps to line number c when abs(a) > float.epsilon * 8",
|
|
270
|
+
"zh": "当符合abs(a)>float.epsilon*8,则跳转到代码行号c"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"bne": {
|
|
274
|
+
"desc": {
|
|
275
|
+
"en": "Jumps to line number c if a != b",
|
|
276
|
+
"zh": "如果a!=b,则跳转到代码行号c"
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"bneal": {
|
|
280
|
+
"desc": {
|
|
281
|
+
"en": "Jumps to line number c if a != b, and stores the line number before jumping plus 1 into register ra",
|
|
282
|
+
"zh": "如果a!=b,则跳转到代码行号c行,并将跳转前的行号+1并储存在寄存器ra"
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"bnez": {
|
|
286
|
+
"desc": {
|
|
287
|
+
"en": "Jumps to line number b if a != 0",
|
|
288
|
+
"zh": "如果a!=0,则跳转到代码行号b"
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"bnezal": {
|
|
292
|
+
"desc": {
|
|
293
|
+
"en": "Jumps to line number b if a != 0, and stores the line number before jumping plus 1 into register ra",
|
|
294
|
+
"zh": "如果a!=0,则跳转到代码行号b行,并将跳转前的行号+1并储存在寄存器ra"
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
"brap": {
|
|
298
|
+
"desc": {
|
|
299
|
+
"en": "Jumps to line (current line + d) when abs(a-b) <= max(c * max(abs(a), abs(b)), float.epsilon * 8)",
|
|
300
|
+
"zh": "当符合abs(a-b)<=max(c*max(abs(a), abs(b)), float.epsilon*8)时,则跳转到代码行号(当前行号+d)行"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"brapz": {
|
|
304
|
+
"desc": {
|
|
305
|
+
"en": "Jumps to line (current line + c) when abs(a) <= float.epsilon * 8",
|
|
306
|
+
"zh": "当符合abs(a)<=float.epsilon*8,则跳转到代码行号(当前行号+c)行"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
"brdns": {
|
|
310
|
+
"desc": {
|
|
311
|
+
"en": "Jumps to line (current line + a) if the device (d) is invalid",
|
|
312
|
+
"zh": "如果设备(d)无效,则跳转到代码行号(当前行号+a)行"
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"brdse": {
|
|
316
|
+
"desc": {
|
|
317
|
+
"en": "Jumps to line (current line + a) if the device (d) is valid",
|
|
318
|
+
"zh": "如果设备(d)有效,则跳转到代码行号(当前行号+a)行"
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
"breq": {
|
|
322
|
+
"desc": {
|
|
323
|
+
"en": "Jumps to line (current line + c) if a == b",
|
|
324
|
+
"zh": "如果a==b,则跳转到代码行号(当前行号+c)行"
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"breqz": {
|
|
328
|
+
"desc": {
|
|
329
|
+
"en": "Jumps to line (current line + b) if a == 0",
|
|
330
|
+
"zh": "如果a==0,则跳转到代码行号(当前行号+b)行"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"brge": {
|
|
334
|
+
"desc": {
|
|
335
|
+
"en": "Jumps to line (current line + c) if a >= b",
|
|
336
|
+
"zh": "如果a>=b,则跳转到代码行号(当前行号+c)行"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"brgez": {
|
|
340
|
+
"desc": {
|
|
341
|
+
"en": "Jumps to line (current line + b) if a >= 0",
|
|
342
|
+
"zh": "如果a>=0,则跳转到代码行号(当前行号+b)行"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"brgt": {
|
|
346
|
+
"desc": {
|
|
347
|
+
"en": "Jumps to line (current line + c) if a > b",
|
|
348
|
+
"zh": "如果a>b,则跳转到代码行号(当前行号+c)行"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"brgtz": {
|
|
352
|
+
"desc": {
|
|
353
|
+
"en": "Jumps to line (current line + b) if a > 0",
|
|
354
|
+
"zh": "如果a>0,则跳转到代码行号(当前行号+b)行"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"brle": {
|
|
358
|
+
"desc": {
|
|
359
|
+
"en": "Jumps to line (current line + c) if a <= b",
|
|
360
|
+
"zh": "如果a<=b,则跳转到代码行号(当前行号+c)行"
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"brlez": {
|
|
364
|
+
"desc": {
|
|
365
|
+
"en": "Jumps to line (current line + b) if a <= 0",
|
|
366
|
+
"zh": "如果a<=0,则跳转到代码行号(当前行号+b)行"
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
"brlt": {
|
|
370
|
+
"desc": {
|
|
371
|
+
"en": "Jumps to line (current line + c) if a < b",
|
|
372
|
+
"zh": "如果a<b,则跳转到代码行号(当前行号+c)行"
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
"brltz": {
|
|
376
|
+
"desc": {
|
|
377
|
+
"en": "Jumps to line (current line + b) if a < 0",
|
|
378
|
+
"zh": "如果a<0,则跳转到代码行号(当前行号+b)行"
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
"brna": {
|
|
382
|
+
"desc": {
|
|
383
|
+
"en": "Jumps to line (current line + d) when abs(a-b) > max(c * max(abs(a), abs(b)), float.epsilon * 8)",
|
|
384
|
+
"zh": "当符合abs(a-b)>max(c*max(abs(a), abs(b)), float.epsilon*8)时,则跳转到代码行号(当前行号+d)行"
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
"brnan": {
|
|
388
|
+
"desc": {
|
|
389
|
+
"en": "Jumps to line (current line + b) if a == NaN",
|
|
390
|
+
"zh": "如果a==NaN,则跳转到代码行号(当前行号+b)行"
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"brnaz": {
|
|
394
|
+
"desc": {
|
|
395
|
+
"en": "Jumps to line (current line + c) when abs(a) > float.epsilon * 8",
|
|
396
|
+
"zh": "当符合abs(a)>float.epsilon*8,则跳转到代码行号(当前行号+c)行"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"brne": {
|
|
400
|
+
"desc": {
|
|
401
|
+
"en": "Jumps to line (current line + c) if a != b",
|
|
402
|
+
"zh": "如果a!=b,则跳转到代码行号(当前行号+c)行"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"brnez": {
|
|
406
|
+
"desc": {
|
|
407
|
+
"en": "Jumps to line (current line + b) if a != 0",
|
|
408
|
+
"zh": "如果a!=0,则跳转到代码行号(当前行号+b)行"
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"ceil": {
|
|
412
|
+
"desc": {
|
|
413
|
+
"en": "Calculates the smallest integer greater than a, and stores it in register (r?)",
|
|
414
|
+
"zh": "计算大于a的最小整数,并保存在寄存器(r?)中"
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"clamp": {
|
|
418
|
+
"desc": {
|
|
419
|
+
"en": "Stores a clamped to the inclusive range [min, max] in the register provided.",
|
|
420
|
+
"zh": "将a限制在闭区间[min, max]范围内,并将结果存入指定寄存器"
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"clr": {
|
|
424
|
+
"desc": {
|
|
425
|
+
"en": "Clears the stack memory of the specified device",
|
|
426
|
+
"zh": "清除指定设备的堆栈内存"
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
"clrd": {
|
|
430
|
+
"desc": {
|
|
431
|
+
"en": "Locates a device by its ID and clears its stack memory",
|
|
432
|
+
"zh": "通过设备ID定位设备并清除其堆栈内存"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"cos": {
|
|
436
|
+
"desc": {
|
|
437
|
+
"en": "Calculates the cosine value of the arc length a, and stores it in register (r?)",
|
|
438
|
+
"zh": "计算弧长为a的余弦值,并保存在寄存器(r?)中"
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
"define": {
|
|
442
|
+
"desc": {
|
|
443
|
+
"en": "Defines a label (str) for the specified value (num). All occurrences of the same label in the program will be replaced with this value",
|
|
444
|
+
"zh": "为指定的值(num)定义一个标签(str),程序中所有出现的同名标签都将被替换为该值"
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
"deg2rad": {
|
|
448
|
+
"desc": {
|
|
449
|
+
"en": "Degrees to radians conversion constant. Value: 0.0174532923847437",
|
|
450
|
+
"zh": "角度转弧度的换算常量,取值为 0.0174532923847437"
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
"div": {
|
|
454
|
+
"desc": {
|
|
455
|
+
"en": "Calculates the result of a / b and stores it in register (r?)",
|
|
456
|
+
"zh": "计算a/b的结果并保存在寄存器(r?)中"
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
"epsilon": {
|
|
460
|
+
"desc": {
|
|
461
|
+
"en": "A constant representing the smallest positive subnormal > 0",
|
|
462
|
+
"zh": "表示大于 0 的最小正次正规数的常量"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
"exp": {
|
|
466
|
+
"desc": {
|
|
467
|
+
"en": "Calculates the natural exponential exp(a) of a, and stores it in register (r?)",
|
|
468
|
+
"zh": "计算a以自然常数为底的指数exp(a),并保存在寄存器(r?)中"
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
"ext": {
|
|
472
|
+
"desc": {
|
|
473
|
+
"en": "Extracts a segment of bits from a, starting at position b with length c, and places it into the provided register. The maximum valid payload length must not exceed 53 bits",
|
|
474
|
+
"zh": "从a中提取一段比特值,起始位置为b,长度为c,并放入指定寄存器。最大有效载荷长度不得超过53位"
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
"floor": {
|
|
478
|
+
"desc": {
|
|
479
|
+
"en": "Calculates the largest integer less than a, and stores it in register (r?)",
|
|
480
|
+
"zh": "计算小于a的最大整数,并保存在寄存器(r?)中"
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
"get": {
|
|
484
|
+
"desc": {
|
|
485
|
+
"en": "Attempts to read the stack value at the specified address using the specified device, and stores it in register (r?)",
|
|
486
|
+
"zh": "使用指定设备尝试读取指定地址的堆栈值,并存入寄存器(r?)"
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
"hash": {
|
|
490
|
+
"desc": {
|
|
491
|
+
"en": "any text inside will be hashed to an integer before processing takes place. Use this to generate integer values for use wherever hashes are required.",
|
|
492
|
+
"zh": "括号内的任意文本会在处理开始前被哈希为一个整数。可用于在需要哈希值的场景生成整数值。"
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
"hash_number": {
|
|
496
|
+
"desc": {
|
|
497
|
+
"en": "any valid hex characters after this will be parsed together as a hex value. You can use underscores to help with readability, but they have no functional use. As an example, $F will parse as 15.",
|
|
498
|
+
"zh": "此后的任意有效十六进制字符将被共同解析为一个十六进制数值。可以使用下划线提升可读性,但下划线无实际功能作用。例如,$F 会被解析为 15。"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"hcf": {
|
|
502
|
+
"desc": {
|
|
503
|
+
"en": "Halt and catch fire. An early computer machine instruction that causes the CPU to perform cyclic addressing, continuously looping to read large amounts of data. If it addresses a non-existent memory address (catchfire state), it will lock up the computer (halt)",
|
|
504
|
+
"zh": "Halt and catch fire,早期计算机的机器指令,作用是让CPU执行循环寻址操作,持续循环读取大量数据;若寻址到不存在的内存地址(Catchfire状态),将锁定计算机即挂起(Halt)"
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"ins": {
|
|
508
|
+
"desc": {
|
|
509
|
+
"en": "Inserts the bits of value a into the specified register, starting at position b with length c. The maximum valid payload length must not exceed 53 bits",
|
|
510
|
+
"zh": "将a的值按比特位插入到指定寄存器中,起始位置为b,长度为c。最大有效载荷长度不得超过53位"
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"j": {
|
|
514
|
+
"desc": {
|
|
515
|
+
"en": "Jumps to code line number a",
|
|
516
|
+
"zh": "跳转到代码行号a"
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
"jal": {
|
|
520
|
+
"desc": {
|
|
521
|
+
"en": "Jumps to code line number a, and stores the line number before jumping plus 1 into register ra",
|
|
522
|
+
"zh": "跳转到代码行号a,并将跳转前的行号+1储存在寄存器ra中"
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
"jr": {
|
|
526
|
+
"desc": {
|
|
527
|
+
"en": "Jumps to code line (current line number + a)",
|
|
528
|
+
"zh": "跳转到代码行号(当前行号+a)行"
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
"l": {
|
|
532
|
+
"desc": {
|
|
533
|
+
"en": "Loads the logic property value (LogicType) of the device corresponding to logic pin (d?) into register (r?)",
|
|
534
|
+
"zh": "将逻辑引脚(d?)对应设备的逻辑属性值(LogicType)加载到寄存器(r?)中"
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
"lb": {
|
|
538
|
+
"desc": {
|
|
539
|
+
"en": "Loads logic property values (LogicType) of all devices of the same type in the network into the register using the specified aggregation method, based on the given device type hash. Available modes: Average(0), Sum(1), Minimum(2), Maximum(3); supports both word and number",
|
|
540
|
+
"zh": "通过给定的设备类型哈希值(deviceHash),将网络内所有同类设备的逻辑属性值(LogicType)以指定统计方式加载到寄存器。可用统计方式:Average(0)平均、Sum(1)求和、Minimum(2)最小、Maximum(3)最大,支持单词或数字"
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
"lbn": {
|
|
544
|
+
"desc": {
|
|
545
|
+
"en": "Loads logic property values of all matching devices in the network into the register using the specified aggregation method, based on the given device type hash and device name hash. Available modes: Average(0), Sum(1), Minimum(2), Maximum(3); supports both word and number",
|
|
546
|
+
"zh": "通过给定的设备类型哈希值与设备名称哈希值,将网络内所有符合条件设备的逻辑属性值以指定统计方式加载到寄存器。可用统计方式:Average(0)平均、Sum(1)求和、Minimum(2)最小、Maximum(3)最大,支持单词或数字"
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
"lbns": {
|
|
550
|
+
"desc": {
|
|
551
|
+
"en": "Loads logic property values of specific slots from all matching devices in the network into the register using the specified aggregation method, based on device type hash, slot index and device name hash. Available modes: Average(0), Sum(1), Minimum(2), Maximum(3); supports both word and number",
|
|
552
|
+
"zh": "通过给定的设备类型哈希值、槽位索引值、设备名称哈希值,将网络内所有符合条件设备的特定槽位逻辑属性值以指定统计方式加载到寄存器。可用统计方式:Average(0)平均、Sum(1)求和、Minimum(2)最小、Maximum(3)最大,支持单词或数字"
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
"lbs": {
|
|
556
|
+
"desc": {
|
|
557
|
+
"en": "Loads logic property values of specific slots from all matching devices in the network into the register using the specified aggregation method, based on device type hash and slot index. Available modes: Average(0), Sum(1), Minimum(2), Maximum(3); supports both word and number",
|
|
558
|
+
"zh": "通过给定的设备类型哈希值与槽位索引值,将网络内所有符合条件设备中特定槽位的逻辑属性值以指定统计方式加载到寄存器。可用统计方式:Average(0)平均、Sum(1)求和、Minimum(2)最小、Maximum(3)最大,支持单词或数字"
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
"lerp": {
|
|
562
|
+
"desc": {
|
|
563
|
+
"en": "Performs linear interpolation between a and b with ratio c, and places the result into the provided register. The ratio c will be clamped between 0 and 1",
|
|
564
|
+
"zh": "以比率c在a和b之间进行线性插值,并将结果放入指定寄存器。比率c会被限制在0到1之间"
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
|
+
"log": {
|
|
568
|
+
"desc": {
|
|
569
|
+
"en": "Calculates the natural logarithm log(a) of a, and stores it in register (r?)",
|
|
570
|
+
"zh": "计算a以自然常数为底的对数log(a),并保存在寄存器(r?)中"
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
"lr": {
|
|
574
|
+
"desc": {
|
|
575
|
+
"en": "Loads the reagent hash value from the device corresponding to logic pin (d?) into the register using the specified reagent mode. Available modes: Contents(0), Required(1), Recipe(2); supports both word and number",
|
|
576
|
+
"zh": "对逻辑引脚(d?)对应的设备,通过指定的原料模式(ReagentMode)将原料的哈希值加载到寄存器。可用模式:Contents(0)内含、Required(1)需求、Recipe(2)配方,支持单词或数字"
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
"ls": {
|
|
580
|
+
"desc": {
|
|
581
|
+
"en": "Loads the logic slot property value (LogicSlotType) of the item in the slot at the specified index of the device corresponding to logic pin (d?) into register (r?)",
|
|
582
|
+
"zh": "将逻辑引脚(d?)对应设备的指定槽位索引中物品的逻辑槽位属性值(LogicSlotType)加载到寄存器(r?)中"
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
"max": {
|
|
586
|
+
"desc": {
|
|
587
|
+
"en": "Compares a and b, and stores the larger value in register (r?)",
|
|
588
|
+
"zh": "比较a和b,并将较大值保存在寄存器(r?)中"
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
"min": {
|
|
592
|
+
"desc": {
|
|
593
|
+
"en": "Compares a and b, and stores the smaller value in register (r?)",
|
|
594
|
+
"zh": "比较a和b,并将较小值保存在寄存器(r?)中"
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
"mod": {
|
|
598
|
+
"desc": {
|
|
599
|
+
"en": "Calculates the result of a modulo b and stores it in register (r?). Note: this is not equivalent to the a % b remainder operator",
|
|
600
|
+
"zh": "计算a模以b的结果并保存在寄存器(r?)中,注意:并非取余运算符a%b"
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
"move": {
|
|
604
|
+
"desc": {
|
|
605
|
+
"en": "Assigns the specified value (register or constant) to register (r?)",
|
|
606
|
+
"zh": "将指定的值(寄存器或常量)赋值给寄存器(r?)"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
"mul": {
|
|
610
|
+
"desc": {
|
|
611
|
+
"en": "Calculates the result of a * b and stores it in register (r?)",
|
|
612
|
+
"zh": "计算a*b的结果并保存在寄存器(r?)中"
|
|
613
|
+
}
|
|
614
|
+
},
|
|
615
|
+
"nan": {
|
|
616
|
+
"desc": {
|
|
617
|
+
"en": "A constant representing 'not a number'. This constant technically provides a 'quiet' NaN, a signal NaN from some instructions will result in an exception and halt execution",
|
|
618
|
+
"zh": "表示“非数值”的常量。该常量在技术上是一个“安静型”NaN,部分指令产生的信号型NaN会触发异常并终止执行。"
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
"ninf": {
|
|
622
|
+
"desc": {
|
|
623
|
+
"en": "A constant representing a negative infinite value",
|
|
624
|
+
"zh": "表示负无穷大值的常量"
|
|
625
|
+
}
|
|
626
|
+
},
|
|
627
|
+
"nor": {
|
|
628
|
+
"desc": {
|
|
629
|
+
"en": "Performs a bitwise NOR operation on the binary representations of two values. Each result bit is determined by the corresponding input bits: 1 if both bits are 0, 0 if either bit is 1",
|
|
630
|
+
"zh": "对两个数值的二进制表示执行按位NOR(或非)运算。结果每一位由输入对应位决定:两位都为0时结果位为1,任意一位为1则结果位为0"
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
"not": {
|
|
634
|
+
"desc": {
|
|
635
|
+
"en": "Performs a bitwise NOT operation on the binary representation of a value, inverting every bit: 1 becomes 0 and 0 becomes 1",
|
|
636
|
+
"zh": "对数值的二进制表示执行按位NOT(非)运算,将所有二进制位取反,1变0、0变1"
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
"or": {
|
|
640
|
+
"desc": {
|
|
641
|
+
"en": "Performs a bitwise OR operation on the binary representations of two values. Each result bit is 1 if either input bit is 1, and 0 only if both bits are 0",
|
|
642
|
+
"zh": "对两个数值的二进制表示执行按位OR(或)运算。结果每一位由输入对应位决定:任意一位为1则结果位为1,都为0时结果位为0"
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
"peek": {
|
|
646
|
+
"desc": {
|
|
647
|
+
"en": "Gets the value at the top of the stack and stores it in register (r?)",
|
|
648
|
+
"zh": "获取堆栈顶的值,并保存在寄存器(r?)中"
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
"pi": {
|
|
652
|
+
"desc": {
|
|
653
|
+
"en": "A constant representing ratio of the circumference of a circle to its diameter, provided in double precision. Value: 3.14159265358979",
|
|
654
|
+
"zh": "表示圆的周长与直径比值的常量,以双精度浮点数提供,取值为 3.14159265358979"
|
|
655
|
+
}
|
|
656
|
+
},
|
|
657
|
+
"pinf": {
|
|
658
|
+
"desc": {
|
|
659
|
+
"en": "A constant representing a positive infinite value",
|
|
660
|
+
"zh": "表示正无穷大值的常量"
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
"poke": {
|
|
664
|
+
"desc": {
|
|
665
|
+
"en": "Stores the specified value at the given index in the stack",
|
|
666
|
+
"zh": "将指定值存储到堆栈的指定索引位置"
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
"pop": {
|
|
670
|
+
"desc": {
|
|
671
|
+
"en": "Stores the value at the top of the stack in register (r?), and increments the stack pointer register sp by 1",
|
|
672
|
+
"zh": "将堆栈顶的值保存在寄存器(r?)中,并将堆栈指针寄存器sp的值+1"
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
"pow": {
|
|
676
|
+
"desc": {
|
|
677
|
+
"en": "Calculates a raised to the power of b and stores the result in the register. Follows the IEEE-754 floating-point arithmetic standard",
|
|
678
|
+
"zh": "计算a的b次幂并将结果存入寄存器,遵循IEEE-754浮点算术标准"
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
"push": {
|
|
682
|
+
"desc": {
|
|
683
|
+
"en": "Pushes value a onto the stack, and increments the stack pointer register sp by 1",
|
|
684
|
+
"zh": "将a值压入堆栈,并将堆栈指针寄存器sp的值+1"
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
"put": {
|
|
688
|
+
"desc": {
|
|
689
|
+
"en": "Attempts to write the specified value to the specified address in the stack of the target device",
|
|
690
|
+
"zh": "尝试将指定的值写入指定设备堆栈的指定地址"
|
|
691
|
+
}
|
|
692
|
+
},
|
|
693
|
+
"rad2deg": {
|
|
694
|
+
"desc": {
|
|
695
|
+
"en": "Radians to degrees conversion constant. Value: 57.2957801818848",
|
|
696
|
+
"zh": "弧度转角度的换算常量,取值为 57.2957801818848"
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
"rand": {
|
|
700
|
+
"desc": {
|
|
701
|
+
"en": "Generates a random number in the range 0 <= x < 1, and stores it in register (r?)",
|
|
702
|
+
"zh": "生成范围为0<=x<1的随机数,并保存在寄存器(r?)中"
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
"rgas": {
|
|
706
|
+
"desc": {
|
|
707
|
+
"en": "Universal gas constant (J/(mol*K)). Value: 8.31446261815324",
|
|
708
|
+
"zh": "通用气体常数,单位为焦耳每摩尔开尔文(J/(mol*K)),取值为 8.31446261815324"
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
"rmap": {
|
|
712
|
+
"desc": {
|
|
713
|
+
"en": "Returns the quantity of the corresponding material required by the device's recipe, based on the given material hash (e.g. querying iron hash for an automatic lathe returns iron ingot hash)",
|
|
714
|
+
"zh": "根据给定的材料哈希值,返回设备配方所需的对应材料数量(例如查询自动车床中铁的哈希值,返回对应铁锭的哈希值)"
|
|
715
|
+
}
|
|
716
|
+
},
|
|
717
|
+
"rol": {
|
|
718
|
+
"desc": {
|
|
719
|
+
"en": "Performs a bitwise left rotation on the binary representation of a by b places, wrapping bits shifted out of the most significant position back into the least significant position",
|
|
720
|
+
"zh": "对a的二进制表示执行按位左循环移位b位,将从最高位移出的比特回绕到最低位"
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
"ror": {
|
|
724
|
+
"desc": {
|
|
725
|
+
"en": "Performs a bitwise right rotation on the binary representation of a by b places, wrapping bits shifted out of the least significant position back into the most significant position",
|
|
726
|
+
"zh": "对a的二进制表示执行按位右循环移位b位,将从最低位移出的比特回绕到最高位"
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
"round": {
|
|
730
|
+
"desc": {
|
|
731
|
+
"en": "Calculates the integer result of a rounded to the nearest whole number, and stores it in register (r?)",
|
|
732
|
+
"zh": "计算a四舍五入后的整数结果,并保存在寄存器(r?)中"
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
"s": {
|
|
736
|
+
"desc": {
|
|
737
|
+
"en": "Writes the value of register (r?) to the logic property (LogicType) of the device corresponding to the specified logic pin (d?)",
|
|
738
|
+
"zh": "将寄存器(r?)的值写入指定逻辑引脚(d?)所对应设备的逻辑属性值(LogicType)"
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
"sap": {
|
|
742
|
+
"desc": {
|
|
743
|
+
"en": "Sets register (r?) to 1 if abs(a-b) <= max(c * max(abs(a), abs(b)), float.epsilon * 8), otherwise 0",
|
|
744
|
+
"zh": "当符合abs(a-b)<=max(c*max(abs(a), abs(b)), float.epsilon*8)时,寄存器(r?)为1,否则为0"
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
"sapz": {
|
|
748
|
+
"desc": {
|
|
749
|
+
"en": "Sets register (r?) to 1 if |a| <= float.epsilon * 8, otherwise 0",
|
|
750
|
+
"zh": "当符合|a|<=float.epsilon*8时,寄存器(r?)为1,否则为0"
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
"sb": {
|
|
754
|
+
"desc": {
|
|
755
|
+
"en": "Writes the value of register (r?) to the logic property (LogicType) of all matching devices in the network, based on the given device type hash",
|
|
756
|
+
"zh": "通过给定的设备类型哈希值(deviceHash),将寄存器(r?)的值写入到网络内所有符合条件的设备的逻辑属性值(LogicType)"
|
|
757
|
+
}
|
|
758
|
+
},
|
|
759
|
+
"sbn": {
|
|
760
|
+
"desc": {
|
|
761
|
+
"en": "Writes the value of register (r?) to the logic property (LogicType) of all matching devices in the network, based on the given device type hash and device name hash",
|
|
762
|
+
"zh": "通过给定的设备类型哈希值与设备名称哈希值,将寄存器(r?)的值写入到网络内所有符合条件的设备的逻辑属性值(LogicType)"
|
|
763
|
+
}
|
|
764
|
+
},
|
|
765
|
+
"sbs": {
|
|
766
|
+
"desc": {
|
|
767
|
+
"en": "Writes the value of register (r?) to the logic slot property (LogicSlotType) of specific slots in all matching devices in the network, based on device type hash and slot index",
|
|
768
|
+
"zh": "通过给定的设备类型哈希值与槽位索引值,将寄存器(r?)的值写入到网络内所有符合条件设备中特定槽位的逻辑槽位属性值(LogicSlotType)"
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
"sdns": {
|
|
772
|
+
"desc": {
|
|
773
|
+
"en": "Sets register (r?) to 0 if the pin corresponding to device (d?) points to an invalid device, otherwise 1",
|
|
774
|
+
"zh": "如果设备(d?)对应的引脚指向一个无效的设备,则寄存器(r?)的值为0,否则为1"
|
|
775
|
+
}
|
|
776
|
+
},
|
|
777
|
+
"sdse": {
|
|
778
|
+
"desc": {
|
|
779
|
+
"en": "Sets register (r?) to 1 if the pin corresponding to device (d?) points to a valid device, otherwise 0",
|
|
780
|
+
"zh": "如果设备(d?)对应的引脚指向一个有效的设备,则寄存器(r?)的值为1,否则为0"
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
"select": {
|
|
784
|
+
"desc": {
|
|
785
|
+
"en": "Sets register (r?) to b if a is not zero, otherwise c",
|
|
786
|
+
"zh": "如果a不为0,则寄存器(r?)的值为b,否则为c"
|
|
787
|
+
}
|
|
788
|
+
},
|
|
789
|
+
"seq": {
|
|
790
|
+
"desc": {
|
|
791
|
+
"en": "Sets register (r?) to 1 if a == b, otherwise 0",
|
|
792
|
+
"zh": "a==b时,寄存器(r?)为1,否则为0"
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
"seqz": {
|
|
796
|
+
"desc": {
|
|
797
|
+
"en": "Sets register (r?) to 1 if a == 0, otherwise 0",
|
|
798
|
+
"zh": "a==0时,寄存器(r?)为1,否则为0"
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"sge": {
|
|
802
|
+
"desc": {
|
|
803
|
+
"en": "Sets register (r?) to 1 if a >= b, otherwise 0",
|
|
804
|
+
"zh": "a>=b时,寄存器(r?)为1,否则为0"
|
|
805
|
+
}
|
|
806
|
+
},
|
|
807
|
+
"sgez": {
|
|
808
|
+
"desc": {
|
|
809
|
+
"en": "Sets register (r?) to 1 if a >= 0, otherwise 0",
|
|
810
|
+
"zh": "a>=0时,寄存器(r?)为1,否则为0"
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
"sgn": {
|
|
814
|
+
"desc": {
|
|
815
|
+
"en": "Stores the sign of a in the register: -1 if a is negative, 1 if positive, and 0 if a is zero or not a number",
|
|
816
|
+
"zh": "将a的符号存入寄存器:负数为-1,正数为1,零或非数值为0"
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
"sgt": {
|
|
820
|
+
"desc": {
|
|
821
|
+
"en": "Sets register (r?) to 1 if a > b, otherwise 0",
|
|
822
|
+
"zh": "a>b时,寄存器(r?)为1,否则为0"
|
|
823
|
+
}
|
|
824
|
+
},
|
|
825
|
+
"sgtz": {
|
|
826
|
+
"desc": {
|
|
827
|
+
"en": "Sets register (r?) to 1 if a > 0, otherwise 0",
|
|
828
|
+
"zh": "a>0时,寄存器(r?)为1,否则为0"
|
|
829
|
+
}
|
|
830
|
+
},
|
|
831
|
+
"sin": {
|
|
832
|
+
"desc": {
|
|
833
|
+
"en": "Calculates the sine value of the arc length a, and stores it in register (r?)",
|
|
834
|
+
"zh": "计算弧长为a的正弦值,并保存在寄存器(r?)中"
|
|
835
|
+
}
|
|
836
|
+
},
|
|
837
|
+
"sla": {
|
|
838
|
+
"desc": {
|
|
839
|
+
"en": "Performs an arithmetic left shift on the binary representation of a value, shifting all bits left and filling the right side with the sign bit",
|
|
840
|
+
"zh": "对数值的二进制表示执行算术左移位,将所有二进制位向左移动,并用符号位填充右侧空出的部分"
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
"sle": {
|
|
844
|
+
"desc": {
|
|
845
|
+
"en": "Sets register (r?) to 1 if a <= b, otherwise 0",
|
|
846
|
+
"zh": "a<=b时,寄存器(r?)为1,否则为0"
|
|
847
|
+
}
|
|
848
|
+
},
|
|
849
|
+
"sleep": {
|
|
850
|
+
"desc": {
|
|
851
|
+
"en": "Pauses code execution for a seconds",
|
|
852
|
+
"zh": "暂停代码运行a秒"
|
|
853
|
+
}
|
|
854
|
+
},
|
|
855
|
+
"slez": {
|
|
856
|
+
"desc": {
|
|
857
|
+
"en": "Sets register (r?) to 1 if a <= 0, otherwise 0",
|
|
858
|
+
"zh": "a<=0时,寄存器(r?)为1,否则为0"
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
"sll": {
|
|
862
|
+
"desc": {
|
|
863
|
+
"en": "Performs a logical left shift on the binary representation of a value, shifting all bits left and filling the right side with 0",
|
|
864
|
+
"zh": "对数值的二进制表示执行逻辑左移位,将所有二进制位向左移动,并用0填充右侧空出的部分"
|
|
865
|
+
}
|
|
866
|
+
},
|
|
867
|
+
"slt": {
|
|
868
|
+
"desc": {
|
|
869
|
+
"en": "Sets register (r?) to 1 if a < b, otherwise 0",
|
|
870
|
+
"zh": "a<b时,寄存器(r?)为1,否则为0"
|
|
871
|
+
}
|
|
872
|
+
},
|
|
873
|
+
"sltz": {
|
|
874
|
+
"desc": {
|
|
875
|
+
"en": "Sets register (r?) to 1 if a < 0, otherwise 0",
|
|
876
|
+
"zh": "a<0时,寄存器(r?)为1,否则为0"
|
|
877
|
+
}
|
|
878
|
+
},
|
|
879
|
+
"sna": {
|
|
880
|
+
"desc": {
|
|
881
|
+
"en": "Sets register (r?) to 1 if abs(a-b) > max(c * max(abs(a), abs(b)), float.epsilon * 8), otherwise 0",
|
|
882
|
+
"zh": "当符合abs(a-b)>max(c*max(abs(a), abs(b)), float.epsilon*8)时,寄存器(r?)为1,否则为0"
|
|
883
|
+
}
|
|
884
|
+
},
|
|
885
|
+
"snan": {
|
|
886
|
+
"desc": {
|
|
887
|
+
"en": "Sets register (r?) to 1 if a == NaN, otherwise 0. NaN is a special constant used when a calculation result is meaningless, such as division by zero",
|
|
888
|
+
"zh": "a==NaN时,寄存器(r?)为1,否则为0。NaN是特殊常量,当计算结果无意义(如除以0)时,存储结果的寄存器值为NaN"
|
|
889
|
+
}
|
|
890
|
+
},
|
|
891
|
+
"snanz": {
|
|
892
|
+
"desc": {
|
|
893
|
+
"en": "Sets register (r?) to 0 if a == NaN, otherwise 1. NaN is a special value used when a calculation result is meaningless, such as division by zero",
|
|
894
|
+
"zh": "a==NaN时,寄存器(r?)为0,否则为1。NaN是特殊值,当计算结果无意义(如除以0)时,存储结果的寄存器值为NaN"
|
|
895
|
+
}
|
|
896
|
+
},
|
|
897
|
+
"snaz": {
|
|
898
|
+
"desc": {
|
|
899
|
+
"en": "Sets register (r?) to 1 if |a| > float.epsilon, otherwise 0",
|
|
900
|
+
"zh": "当符合|a|>float.epsilon时,寄存器(r?)为1,否则为0"
|
|
901
|
+
}
|
|
902
|
+
},
|
|
903
|
+
"sne": {
|
|
904
|
+
"desc": {
|
|
905
|
+
"en": "Sets register (r?) to 1 if a != b, otherwise 0",
|
|
906
|
+
"zh": "a!=b时,寄存器(r?)为1,否则为0"
|
|
907
|
+
}
|
|
908
|
+
},
|
|
909
|
+
"snez": {
|
|
910
|
+
"desc": {
|
|
911
|
+
"en": "Sets register (r?) to 1 if a != 0, otherwise 0",
|
|
912
|
+
"zh": "a!=0时,寄存器(r?)为1,否则为0"
|
|
913
|
+
}
|
|
914
|
+
},
|
|
915
|
+
"sqrt": {
|
|
916
|
+
"desc": {
|
|
917
|
+
"en": "Calculates the square root of a and stores the result in register (r?)",
|
|
918
|
+
"zh": "计算a的平方根并将结果保存在寄存器(r?)中"
|
|
919
|
+
}
|
|
920
|
+
},
|
|
921
|
+
"sra": {
|
|
922
|
+
"desc": {
|
|
923
|
+
"en": "Performs an arithmetic right shift on the binary representation of a value, shifting all bits right and filling the left side with the sign bit",
|
|
924
|
+
"zh": "对数值的二进制表示执行算术右移位,将所有二进制位向右移动,并用符号位填充左侧空出的部分"
|
|
925
|
+
}
|
|
926
|
+
},
|
|
927
|
+
"srl": {
|
|
928
|
+
"desc": {
|
|
929
|
+
"en": "Performs a logical right shift on the binary representation of a value, shifting all bits right and filling the left side with 0",
|
|
930
|
+
"zh": "对数值的二进制表示执行逻辑右移位,将所有二进制位向右移动,并用0填充左侧空出的部分"
|
|
931
|
+
}
|
|
932
|
+
},
|
|
933
|
+
"ss": {
|
|
934
|
+
"desc": {
|
|
935
|
+
"en": "Locates the device in the device slot via logic pin (d?) and slot index, then writes the value of register (r?) to its logic slot property (LogicSlotType)",
|
|
936
|
+
"zh": "通过逻辑引脚(d?)和槽位索引定位到设备槽位中的设备,将寄存器(r?)的值写入该设备的逻辑槽位属性值(LogicSlotType)"
|
|
937
|
+
}
|
|
938
|
+
},
|
|
939
|
+
"str": {
|
|
940
|
+
"desc": {
|
|
941
|
+
"en": "any text inside will be packed into 53 usable bits of the 64 bit backing number that can be used for drawing text. This limits its use to 6 characters.",
|
|
942
|
+
"zh": "括号内的任意文本会被打包进64位底层数值的53个可用比特中,可用于绘制文本。该限制使其最多支持6个字符。"
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
"sub": {
|
|
946
|
+
"desc": {
|
|
947
|
+
"en": "Calculates the result of a - b and stores it in register (r?)",
|
|
948
|
+
"zh": "计算a-b的结果并保存在寄存器(r?)中"
|
|
949
|
+
}
|
|
950
|
+
},
|
|
951
|
+
"tan": {
|
|
952
|
+
"desc": {
|
|
953
|
+
"en": "Calculates the tangent value of the arc length a, and stores it in register (r?)",
|
|
954
|
+
"zh": "计算弧长为a的正切值,并保存在寄存器(r?)中"
|
|
955
|
+
}
|
|
956
|
+
},
|
|
957
|
+
"tau": {
|
|
958
|
+
"desc": {
|
|
959
|
+
"en": "A constant representing the ratio of the circumference of a circle to its radius, provided in double precision. Value: 6.28318530717959",
|
|
960
|
+
"zh": "表示圆的周长与半径比值的常量,以双精度浮点数提供,取值为 6.28318530717959"
|
|
961
|
+
}
|
|
962
|
+
},
|
|
963
|
+
"trunc": {
|
|
964
|
+
"desc": {
|
|
965
|
+
"en": "Calculates the result of a with the fractional part truncated, and stores it in register (r?)",
|
|
966
|
+
"zh": "计算a舍去小数部分后的结果,并保存在寄存器(r?)中"
|
|
967
|
+
}
|
|
968
|
+
},
|
|
969
|
+
"xor": {
|
|
970
|
+
"desc": {
|
|
971
|
+
"en": "Performs a bitwise XOR operation on the binary representations of two values. Each result bit is 1 if the corresponding input bits differ, 0 if they are the same",
|
|
972
|
+
"zh": "对两个数值的二进制表示执行按位XOR(异或)运算。两个对应位不同时结果位为1,相同时结果位为0"
|
|
973
|
+
}
|
|
974
|
+
},
|
|
975
|
+
"yield": {
|
|
976
|
+
"desc": {
|
|
977
|
+
"en": "Pauses code execution until the end of the current tick",
|
|
978
|
+
"zh": "暂停代码运行直到当前tick结束"
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
};
|
|
982
|
+
export default data;
|