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