39
2
3
4
5
6
7
8
2.4
B
asic instructio
ns
2.4.2
A
rithme
tic oper
ation instructions
2.4.2
Arithmetic operation instructions
Category
In
struction
Symb
ol
Symbol
Processing Details
Execution
Condition
Nu
mb
er of
Basic S
tep
s
Su
bset
See fo
r D
escript
ion
BIN 16-bit
addition and
subtraction
operations
+
• (D)+(S) (D)
3
+P
+
• (S1)+(S2) (D)
4
+P
-
• (D)-(S) (D)
3
-P
-
• (S1)-(S2) (D)
4
-P
BIN 32-bit
addition and
subtraction
operations
D+
• (D+1, D)+(S+1, S) (D+1, D)
*1
D+P
D+
• (S1+1, S1)+(S2+1, S2) (D+1, D)
*2
D+P
D-
• (D+1, D)-(S+1, S) (D+1, D)
*1
D-P
D-
• (S1+1, S1)-(S2+1, S2) (D+1, D)
*2
D-P
BIN 16-bit
multiplication
and division
operations
*
• (S1) (S2) (D+1,D)
*3
*P
/
• (S1) / (S2)
Quotient(D), Remainder (D+1)
4
*4
/P
BIN 32-bit
multiplication
and division
operations
D*
• (S1+1,S1) (S2+1,S2) (D+3,D+2,D+1,D)
4
*4
D*P
D/
• (S1+1, S1) / (S2+1, S2)
Quotient (D+1, D), Remainder (D+3, D+2)
4
*4
D/P
+
S
D
+
P
S
D
+
S
1
S
2
D
+
P
S
1
S
2
D
S D
P
S
D
S
1
S
2
D
P
S
1
S
2
D
D
+
S D
D
+
P
S D
D
+
S
1
S
2
D
D
+
P
S
1
S
2
D
D
D
S
D
S
D
P
D
S
1
S
2
D
D
S
1
S
2
D
P
S
1
S
2
D
*
S
1
S
2
D
/
S
1
S
2
D
/
P
S
1
S
2
D
S
1
S
2
D
S
1
S
2
D
D
/
S
1
S
2
D
D
/
P
S
1
S
2
D