Panasonic FP7 Series Command Reference Manual page 29

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

BCD Data Arithmetic Instructions
Operatio
Name
BCD data
US, UL
Addition
BCD data
US, UL
Subtraction
BCD data
US, UL
Multiplication
BCD data
US, UL
Division
BCD data
US, UL
Increment
BCD data
US, UL
Decrement
Boolean Instructions
Operatio
Name
US, SS,
Logical
conjunction
UL, SL
US, SS,
Logical
disjunction
UL, SL
US, SS,
Exclusive OR
UL, SL
US, SS,
Exclusive NOR
UL, SL
US, SS,
Combination
UL, SL
Data conversion instructions
Operatio
Name
US, SS,
Data Inversion
UL, SL
Sign Inversion
SS, SL
US, SS,
Absolute Value
UL, SL
WUME-FP7CPUPGR-12
n
Mnemonic
Unit
BCDADD (P)
BCDSUB (P)
BCDMUL (P)
BCDDIV
(P)
BCDINC
(P)
BCDDEC (P)
n
Mnemonic
Unit
AND
(P)
OR
(P)
XOR
(P)
XNR
(P)
COMB
(P)
n
Mnemonic
Unit
INV
(P)
NEG
(P)
ABS
(P)
1.2 List of High-level Instructions
Operand
Function overview
S1, S2,
(S1) + (S2) → (D)
D
S1, S2,
(S1) - (S2) → (D)
D
(S1) × (S2) → (D, D+n)
S1, S2,
D
"n" changes according to the operation unit.
(S1) / (S2) → Quotient (D), Remainder (D
S1, S2,
+n)
D
"n" changes according to the operation unit.
D
(D) + 1 → (D)
D
(D) + 1 → (D)
Operand
Function overview
S1, S2,
[S1] ˄ [S2] → (D)
D
S1, S2,
[S1] ˅ [S2] → (D)
D
S1, S2,
{(S1) ∧ (S2) ∨ {(S1) ∧ (S2)} → (D)
D
S1, S2,
{(S1) ∧ (S2) ∨ {(S1) ∧ (S2)} → (D)
D
S1, S2,
{(S1) ∧ (S3)} ∨ {(S2) ∧/(S3)} → (D)
S3, D
Operand
Function overview
Performs logical inversion on each bit of
D
data [D], and stores it in [D].
Performs sign inversion on data for [S], and
S, D
stores it in [D].
Calculates the absolute value of the data
S, D
for [S], and stores it in [D].
Page
"P.6-22"
"P.6-24"
"P.6-26"
"P.6-28"
"P.6-30"
"P.6-32"
Page
"P.6-34"
"P.6-36"
"P.6-38"
"P.6-40"
"P.6-42"
Page
"P.7-2"
"P.7-4"
"P.7-6"
1-11

Advertisement

Table of Contents
loading

Table of Contents