1
FX1S,FX1N,FX2N,FX2NC
FX
l Windows, Excel
l PC-9800 NEC
l
2
1. ........................................................................................ 9
1-1. ............................................................. 10
1-2.
........................................................ 13
1-3.
.................................................... 18
1-4.
.................................................... 22
1-5.
............................................................. 24
1-6.
................ 29
2. .................................................... 31
2-1. [K],[H] ........................................................ 32
2-2.
..................................................................... 34
2-3.
[X], [Y]................................... 38
2-4.
[M] .................................................. 40
2-5.
[S] ................................................................ 42
2-6.
................................................................. 44
2-7.
........................................................ 48
2-8.
................................................ 52
2-8-1.
........................................................................... 52
2-8-2. ................................................. 54
2-8-3.
................................................. 56
2-8-4.
............................................. 57
2-9.
[D] .................................................. 60
2-9-1.
[D] ................................................................ 60
2-9-2.
[V,Z] .............................................................. 63
2-9-3.FX
1N,FX2N,FX2NC [D] ..... 64
2-9-4.FX
1S [D] .......................... 68
2-10.
[P] [I] ..................................................... 70
3
............................................................. %!
3-1 ....................................................................... 74
3-2
[LD] [LDI],[OUT] .......................................................... 75
3-3
[AND],[ANI] ..................................................................... 76
3-4
[OR],[ORI] ......................................................................... 77
3-5
[LDP] [LDF] [ANDP], [ANDF], [ORP], [ORF] ........ 78
3-6
[ORB] ................................................................................. 80
3-7
[ANB] ................................................................................ 81
3-8
[MPS], [MRD], [MPP] ....................................................... 82
3-9
[MC], [MCR] ...................................................................... 86
3-10
[INV] ................................................................................ 88
3-11
[PLS], [PLF] .................................................................... 90
3-12
[SET], [RST] ..................................................................... 91
3-13.
[OUT], [RST] ................................... 92
3-14
[NOP], [END] ................................................................. 93
3-15
......................................................................... 94
3-15-1
............................................. 94
3-15-2
................... 95
3-15-3
............................................. 96
4 .......................................................... 97
4-1. [STL], [RET] .................................................... 98
4-2.
SFC ..................................... 100
4-3. SFC
................................................................................. 102
4-4.
SFC ...................................................... 104
4-5
SFC ...................................................................... 110
4-5-1
.......................................................... 110
4-5-2
............................................. 111
4-6
..................................................................... 112
4-7
..................................................................... 114
4-7-1
........................................ 114
4-7-2
........................................ 115
4-8
........................................................ 116
4-8-1
................................................. 116
4-8-2
................................................. 117
4-8-3
............................................. 118
4-9
......................................................................... 120
4-10
.................................................. 124
4-11
.................................................. 126
4-12
(FNC 60 IST) ................................... 128
3
6 ................................................................... 141
6-1 ..................................................................... 142
6-2
................................................................. 146
6-3
FNC00-FNC09 [ ] ................................................... 149
6-4
FNC10-FNC19 [ ] ............................................... 169
6-5.FNC20-FNC29 [
] ....................................................... 181
6-6.FNC30-FNC39 [
] ................................................... 191
6-7.FNC40-FNC49 [
] ....................................................... 201
6-8.FNC50-FNC59 [
] ....................................................... 213
6-9.FNC60-FNC69 [
] ....................................................... 239
6-10.FNC70-FNC79 [
. I/O] ............................................. 257
6-11.FNC80-FNC89 [
. SER] ............................................ 273
6-12.FNC110-FNC119 [
1] .............................................. 309
6-13.FNC120-FNC129 [
2] .............................................. 315
6-14.FNC130-FNC139 [
3] .............................................. 323
6-15.FNC140-FNC149 [
2] .............................................. 327
6-16.FNC150-FNC159 [
] ......................................................... 329
6-16-1
............................................................ 330
6-16-2
.................................................................... 331
6-16-3
.............................. 332
6-16-4
................................................... 333
6-16-5
.................................................................... 334
6-17
FNC160-FNC169 [ ] ............................................. 373
6-18
FNC170-FNC179 [ ] ............................................. 383
6-19
FNC220-FNC229 [ ] .................................... 389
7
........................................................ 393
7-1 ...................... 394
7-2
........................................................ 416
7-3
........................................... 434
7-4
ASCII ....................................................... 436
7-5
..................................................................... 437
7-6
............................................................ 441
5. ......................................................... 129
5-1 ................................................ 130
5-2
............................................................ 135
5-3
................................................ 138
8 ..................................... 447
8-1 ........................................... 448
8-2
..................................................................... 450
8-2-1
FX1S, FX1N ....... 450
8-2-2
FX2N, FX2NC ..... 451
9
.................................................................................. 453
9-1 ................................................................. 454
9-1-1
................................ 454
9-1-2
.................................... 455
9-2
FX ............ 458
9-3
....................................... 461
9-3-1
FX2, FX2C FX2N, FX2NC .... 461
9-3-2
FX0, FX0S, FX0N FX1S, FX1N ... 462
9-4
FX2NC .................................... 463
9-5
.................................................... 465
9-5-1
.................................... 465
9-5-2
............................ 466
....................................................................................... 480
4
FNC NO.
F
X
1
S
F
X
1
N
F
X
2
N
F
X
2
N
C
I/O
ON
ON
BIN
BIN
2
16
7
7
ASCII
ASCII
BFM
BFM
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
202
203
204
205
205
206
207
207
209
210
214
215
216
218
220
221
226
227
231
232
240
246
247
248
249
250
251
253
254
256
258
259
260
262
263
265
267
268
270
270
ZRST
DECO
ENCO
SUM
BON
MEAN
ANS
ANR
SOR
FLT
REF
REFF
MTR
HSCS
HSCR
HSZ
SPD
PLSY
PWM
PLSR
IST
SER
ABSD
INCD
TTMR
STMR
ALT
RAMP
ROTC
SORT
TKY
HKY
DSW
SEGD
SEGL
ARWS
ASC
PR
FROM
TO
F
X
1
S
F
X
1
N
F
X
2
N
F
X
2
N
C
BCD
BIN
BIN
BIN
BIN
BIN
BIN 1
BIN
1
00
01
02
03
04
05
06
07
08
09
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
150
153
153
154
154
154
166
167
168
168
170
171
172
173
174
175
177
178
179
180
182
183
184
185
186
186
187
187
187
188
192
192
193
193
194
194
196
196
198
198
CJ
CALL
SRET
IRET
EI
DI
FEND
WDT
FOR
NEXT
CMP
ZCP
MOV
SMOV
CML
BMOV
FMOV
XCH
BCD
BIN
ADD
SUB
MUL
DIV
INC
DEC
WAND
WOR
WXOR
NEG
ROR
ROL
RCR
RCL
SFTR
SFTL
WSFR
WSFL
SFWR
SFRD
FNC
NO.
FNC
NO.
5
F
X
1
S
F
X
1
N
F
X
2
N
F
X
2
N
C
S
E
R
8
HEX-ASCII
ASCII-HEX
PIC
2
2
2 -10
10 -2
2
2
2
2
2
2 -BIN
SIN
COS
TAN
ABS
80
81
82
83
84
85
86
87
88
89
110
111
118
119
120
121
122
123
127
129
130
131
132
147
155
156
157
158
159
160
161
162
163
166
167
169
170
171
176
177
274
284
286
288
290
292
293
294
310
311
312
313
316
317
318
319
320
321
324
325
326
328
343
347
353
357
363
374
375
376
377
378
379
381
384
385
386
387
RS
PRUN
ASCI
HEX
CCD
VRRD
VRSC
PID
ECMP
EZCP
EBCD
EBIN
EADD
ESUB
EMUL
EDIV
ESOR
INT
SIN
COS
TAN
SWAP
ABS
ZRN
PLSY
DRVI
DRVA
TCMP
TZCP
TADD
TSUB
TRD
TWR
HOUR
GRY
GBIN
RD3A
WR3A
F
X
1
S
F
X
1
N
F
X
2
N
F
X
2
N
C
(S1)=(S2)
(S1)>(S2)
(S1)<(S2)
(S1)
(S2)
(S1)
(S2)
(S1)
(S2)
(S1)=(S2)
(S1)>(S2)
(S1)<(S2)
(S1)
(S2)
(S1)
(S2)
(S1)
(S2)
(S1)=(S2)
(S1)>(S2)
(S1)<(S2)
(S1)
(S2)
(S1)
(S2)
(S1)
(S2)
224
225
226
228
229
230
232
233
234
236
237
238
240
241
242
244
245
246
390
390
390
390
390
390
391
391
391
391
391
391
392
392
392
392
392
392
LD=
LD>
LD<
LD<>
LD
<
LD
>
AND=
AND>
AND<
AND<>
AND
<
AND
>
OR=
OR>
OR<
OR<>
OR
<
OR
>
FNC
NO.
FNC
NO.
=
=
=
=
=
=