Panasonic FP-M Hardware Manual page 224

Table of Contents

Advertisement

8-9. Table of Instructions
Number
Boolean
Operand
F46
DB–
S, D
F47
B–
S1, S2, D
F48
DB–
S1, S2, D
F50
B*
S1, S2, D
F51
DB*
S1, S2, D
F52
B%
S1, S2, D
F53
DB%
S1, S2, D
F55
B+1
D
F56
DB+1
D
F57
B–1
D
F58
DB–1
D
F60
CMP
S1, S2
F61
DCMP
S1, S2
F62
WIN
S1, S2, S3
F63
DWIN
S1, S2, S3
F64
BCMP
S1, S2, S3
F65
WAN
S1, S2, D
F66
WOR
S1, S2, D
F67
XOR
S1, S2, D
F68
XNR
S1, S2, D
F70
BCC
S1, S2,
S3, D
F71
HEXA
S1, S2, D
F72
AHEX
S1, S2, D
F73
BCDA
S1, S2, D
F74
ABCD
S1, S2, D
F75
BINA
S1, S2, D
F76
ABIN
S1, S2, D
F77
DBIA
S1, S2, D
F78
DABI
S1, S2, D
F80
BCD
S, D
F81
BIN
S, D
F82
DBCD
S, D
F83
DBIN
S, D
F84
INV
D
• Specification of flag operation in the above table:
[ ]:
The flag (special relay) available for the instruction (turns ON/OFF according to the condition).
[ ](blank): The flag (special relay) not available for the instruction (keeps the state regardless of the instruction).
• For more about the instructions above, refer to "FP-M /FP1 Programming Manual".
216
Description
8-digit BCD data
[(D + 1, D) – (S + 1, S) → (D + 1, D)]
4-digit BCD data [S1 – S2 → D]
8-digit BCD data
[(S1 + 1, S1) – (S2 + 1, S2) → (D + 1, D)]
4-digit BCD data [S1 × S2 → (D + 1, D)]
8-digit BCD data [(S1 + 1, S1) × (S2 + 1, S2) →
(D + 3, D + 2, D + 1, D)]
4-digit BCD data [S1/S2 → D...(DT9015)]
8-digit BCD data [(S1 + 1, S1)/(S2 + 1, S2) →
(D + 1, D)...(DT9016, DT9015)]
4-digit BCD data increment [D + 1 → D]
8-digit BCD data increment
[(D + 1, D) + 1 → (D + 1, D)]
4-digit BCD data decrement [D – 1 → D]
8-digit BCD data decrement
[(D + 1, D) – 1 → (D + 1, D)]
16-bit data compare
32-bit data compare
16-bit data band compare
32-bit data band compare
Block data compare
16-bit data AND
16-bit data OR
16-bit data exclusive OR
16-bit data exclusive NOR
Block check code calculation
Hexadecimal data → ASCII code
ASCII code → Hexadecimal data
BCD data → ASCII code
ASCII code → BCD data
16-bit data → ASCII code
ASCII code → 16-bit data
32-bit data → ASCII code
ASCII code → 32-bit data
16-bit data → 4-digit BCD data
4-digit BCD data → 16-bit data
32-bit data → 8-digit BCD data
8-digit BCD data → 32-bit data
16-bit data invert
Flag operation
>
=
<
CY
R900A
R900B
R900C
R9009
Step
ER
R9007
R9008
7
7
11
7
11
7
11
3
3
3
3
5
9
7
13
7
7
7
7
7
9
7
7
7
9
7
7
11
11
5
5
7
7
3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents