Panasonic FP-E Programming Manual page 1298

Fp series
Table of Contents

Advertisement

Num-
Name
ber
F15
16-bit data
P15
exchange
F16
32-bit data
P16
exchange
F17
Higher/lower
P17
byte in 16-bit
data exchange
F18
16-bit data
P18
block
exchange
Control instruction
F19
Auxiliary jump
Binary arithmetic instructions
F20
16-bit data
P20
addition
F21
32-bit data
P21
addition
F22
16-bit data
P22
addition
F23
32-bit data
P23
addition
F25
16-bit data
P25
subtraction
F26
32-bit data
P26
subtraction
F27
16-bit data
P27
subraction
F28
32-bit data
P28
subtraction
F30
16-bit data
P30
multiplication
F31
32-bit data
P31
multiplication
F32
16-bit data
P32
division
F33
32-bit data
P33
division
F34
16-bit data
P34
multiplication
(result in 16
bits)
F35
16-bit data
P35
increment
F36
32-bit data
P36
increment
F37
16-bit data
P37
decrement
F38
32-bit data
P38
decrement
F39
32-bit data
P39
multiplication
(result in 32
bits)
: Available,
: Not available,
5-210
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Ope-
Boo-lean
rand
XCH
D1, D2
(D1)→(D2), (D2)→(D1)
PXCH
DXCH
D1, D2
(D1+1, D1)→(D2+1, D2)
PDXCH
(D2+1, D2)→(D1+1, D1)
SWAP
D
The higher byte and lower byte of "D" are
PSWAP
exchanged.
BXCH
D1,
Exchange the data between "D1" and "D2"
PBXCH
D2, D3
with the data specified by "D3".
SJP
S
The program jumps to the label instruction
specified by "S" and continues from there.
+
S, D
(D)+(S)→(D)
P+
D+
S, D
(D+1, D)+(S+1, S)→(D+1, D)
PD+
+
S1,
(S1)+(S2)→(D)
P+
S2, D
D+
S1,
(S1+1, S1)+(S2+1, S2)→(D+1, D)
PD+
S2, D
-
S, D
(D)-(S)→(D)
P-
D-
S, D
(D+1, D)-(S+1, S)→(D+1, D)
PD-
-
S1,
(S1)-(S2)→(D)
P-
S2, D
D-
S1,
(S1+1, S1)-(S2+1, S2)→(D+1, D)
PD-
S2, D
*
S1,
(S1)X(S2)→(D+1, D)
P*
S2, D
D*
S1,
(S1+1, S1)X(S2+1, S2)→(D+3, D+2, D+1,
PD*
S2, D
D)
%
S1,
(S1)÷(S2)→quotient (D)
P%
S2, D
remainder (DT9015)
D%
S1,
(S1+1, S1)÷(S2+1, S2)→quotient (D+1, D)
PD%
S2, D
remainder (DT9016, DT9015)
*W
S1,
(S1)X(S2)→(D)
P*W
S2, D
+1
D
(D)+1→(D)
P+1
D+1
D
(D+1, D)+1→(D+1, D)
PD+1
-1
D
(D)-1→(D)
P-1
D-1
D
(D+1, D)-1→(D+1, D)
PD-1
D*D
S1,
(S1+1, S1)x(S2+1, S2)→(D+1, D)
PD*D
S2, D
: Not available partially
Description
5
5
3
7
3
5
7
7
11
5
7
7
11
7
11
7
11
7
3
3
3
3
11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents