A-6
FC5A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y-B1268
Instruction Bytes and Applicability in Interrupt Programs
The quantities of bytes of basic and advanced instructions are listed below. Applicability of basic and advanced instruc-
tions in interrupt programs are also shown in the rightmost column of the following tables.
Basic Instruction
Qty of Bytes
Interrupt
All-in-One Type CPU Module
Slim Type CPU Module
LOD, LODN
6
4
X
OUT, OUTN
6
4
X
SET, RST
6
4
X
AND, ANDN, OR, ORN
4
4
X
AND LOD, OR LOD
5
4
X
BPS
5
4
X
BRD
3
4
X
BPP
2
4
X
TML, TIM, TMH, TMS
4
12 to 14
—
TMLO, TIMO, TMHO, TMSO
4
12 to 14
—
CNT, CDP, CUD
4
12 to 14
—
CNTD, CDPD, CUDD
4
12 to 14
—
CC=, CC
7
12 to 14
X
DC=, DC
8
12 to 14
X
SFR, SFRN
6
10
—
SOTU, SOTD
5
4
—
JMP
4
6
X
JEND, MCS, MCR
4
4
X
END
2
4
X
Note:
One bit of data register is not used in the measurement of bytes of basic instructions.
Advanced Instruction
Qty of Bytes
Interrupt
All-in-One Type CPU Module
Slim Type CPU Module
NOP
2
4
X
MOV, MOVN
16 to 18
12 to 16
X
IMOV, IMOVN
20 to 24
14 to 16
X
BMOV
18
12 to 16
X
IBMV, IBMVN
20 to 24
14 to 16
X
NSET
17 to 1543
12 to 1542
X
NRS
18 to 20
12 to 20
X
XCHG
28
10 to 14
X
TCCST
16 to 18
12 to 16
X
CMP
20 to 24
14 to 22
X
ICMP>=
22 to 28
14 to 26
X
LC
14 to 18
12 to 20
X
ADD, SUB, MUL, DIV
20 to 24
14 to 22
X
INC
10
8 to 10
X
DEC
10
8 to 10
X
ROOT
14 to 16
10 to 14
X
SUM
20
14 to 20
X
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]