10
CP1E CPU Unit Instructions Reference Manual(W483)
XORW/XORL .........................................................................................................................................2-214
COM/COML ...........................................................................................................................................2-216
Special Math Instructions ........................................................................................................... 2-218
APR ........................................................................................................................................................ 2-218
BCNT ..................................................................................................................................................... 2-227
Floating-point Math Instructions ................................................................................................ 2-229
FIX/FIXL ................................................................................................................................................. 2-233
FLT/FLTL ................................................................................................................................................2-235
+F, –F, *F, /F ........................................................................................................................................... 2-237
=F, <>F, <F, <=F, >F, >=F ........................................................................................................................2-241
FSTR ......................................................................................................................................................2-244
FVAL ......................................................................................................................................................2-249
Table Data Processing Instructions ........................................................................................... 2-253
SWAP .....................................................................................................................................................2-253
FCS ........................................................................................................................................................2-255
Data Control Instructions............................................................................................................ 2-257
PIDAT ..................................................................................................................................................... 2-257
TPO ........................................................................................................................................................2-269
SCL ........................................................................................................................................................ 2-276
SCL2 ...................................................................................................................................................... 2-280
SCL3 ...................................................................................................................................................... 2-284
AVG ........................................................................................................................................................ 2-287
Subroutines Instructions ............................................................................................................ 2-290
SBS ........................................................................................................................................................ 2-290
SBN/RET ............................................................................................................................................... 2-295
Interrupt Control Instructions..................................................................................................... 2-298
MSKS .....................................................................................................................................................2-300
CLI .........................................................................................................................................................2-303
DI ........................................................................................................................................................... 2-306
EI ............................................................................................................................................................ 2-307
High-speed Counter/Pulse Output Instructions........................................................................ 2-308
INI .......................................................................................................................................................... 2-308
PRV ........................................................................................................................................................ 2-311
CTBL ......................................................................................................................................................2-315
SPED .....................................................................................................................................................2-319
PULS ...................................................................................................................................................... 2-323
PLS2 ...................................................................................................................................................... 2-325
ACC ....................................................................................................................................................... 2-331
ORG .......................................................................................................................................................2-336
PWM ...................................................................................................................................................... 2-339
Step Instructions ......................................................................................................................... 2-341
SNXT/STEP ...........................................................................................................................................2-342
Basic I/O Unit Instructions.......................................................................................................... 2-352
IORF ......................................................................................................................................................2-352
SDEC ..................................................................................................................................................... 2-354
DSW ....................................................................................................................................................... 2-357
MTR ....................................................................................................................................................... 2-361
7SEG ..................................................................................................................................................... 2-365
Serial Communication Instructions ........................................................................................... 2-369
TXD ........................................................................................................................................................ 2-369
RXD ....................................................................................................................................................... 2-374
Clock Instructions........................................................................................................................ 2-380
CADD/CSUB ..........................................................................................................................................2-380
DATE ...................................................................................................................................................... 2-385
Failure Diagnosis Instructions ................................................................................................... 2-387
FAL ......................................................................................................................................................... 2-387
FALS ...................................................................................................................................................... 2-393