2-19
2
3
4
4
6
7
8
2.4 Basic instructions
2.4.2 Arithmetic operation instructions
Table 2.11 Arithmetic Operation Instructions (Continued)
*5: The number of basic steps is three for the Universal model QCPU only.
*6: The subset is effective only with Universal model QC PU.
Category
Instruction Symbol
Symbol Processing Details Execution
Condition
Number of Basic Steps
Subset
See for Description
Floating
decimal
point data
addition
and
subtraction
operations
(Single
precision)
E+
•( D+1, D)+(S+1, S) (D+1, D) 3
*6
6-46
E+P
E+
•( S1+1, S1)+(S2+1, S2) (D+1, D) 4
*5 *6
6-48
E+P
E-
•( D+1, D) (S+1, S) (D+1, D) 3
*6
6-46
E-P
E-
•( S1+1, S1) (S2+1, S2) (D+1, D) 4
*5 *6
6-48
E-P
Floating
decimal
point data
addition
and
subtraction
operations
(Double
precision)
ED+ •(D+3, D+2, D+1, D)+(S+3, S+2, S+1, S)
(D+3, D+2, D+1, D) 36-50
ED+P
ED+ •(S1+3 , S1+2, S1+1, S1)+
(S2+3, S2+2, S2+1, S2)
(D+3, D+2, D+1, D)
46-52
ED+P
ED- •(D+3, D+2, D+1, D) (S+3, S+2, S+1, S)
(D+3, D+2, D+1, D)
36-50
ED-P
ED- •(S1+3 , S1+2, S1+1, S1)
(S2+3, S2+2, S2+1, S2)
(D+3, D+2, D+1, D)
46-52
ED-P
Floating
decimal
point data
multiplication
and division
operations
(Single
precision)
E*
•( S1+1,S1) (S2+1,S2) (D+1,D) 3
*6
6-54
E*P
E/
• (S1+1, S1) / (S2+1, S2)
Quotient (D+1, D) 4
*6
E/P
Floating
decimal
point data
multiplication
and division
operations
(Double
precision)
ED* •(S1+3 ,S1+2,S1+1,S1)
(S2+3,S2+2,S2+1,S2)
(D+3,D+2,D+1,D)
4
*6
6-56
ED*P
ED/ •(S1+3 , S1+2, S1+1, S1) /
(S2+3, S2+2, S2+1, S2)
Quotient (D+3, D+2, D+1, D)
4
*6
ED/P
E+ SD
E+PSD
E+ S1 S2 D
E+P S1 S2 D
ESD
ESDP
ES1 S2 D
ES1 S2 DP
ED+ S D
ED+P S D
ED+ S1 S2 D
ED+P S1S2 D
ED S D
ED S DP
ED S1S2 D
ED S1S2 DP
S1 S2 D
S1 S2 D
E/ S1 S2 D
E/P S1 S2 D
ED S1 S2 D
ED S1 S2 DP
ED/ S1S2 D
ED/P S1 S2 D