Toshiba 6F3B0250 Video Gaming Accessories User Manual


 
6F3B0250
126
T1/T1S User’s Manual
7. Instructions
Arithmetic operations
FUN Name Expression Function Steps Speed Available Pa
g
e
No.
(
m
s)
T1 T1S
027 Addition
-[
A
+
B
®
C
]-
Adds data of
A
and
B,
and
stores the result in
C.
46.5
ÖÖ
161
028 Subtraction
-[
A
-
B
®
C
]-
Subtracts data of
B
from
A
,
and stores the result in
C
.
46.5
ÖÖ
162
029 Multiplication
-[
A
*
B
®
C+1×C
]-
Multiplies data of
A
and
B
,
and stores the result in
double-length register
C
+1
×
C
.
48.8
ÖÖ
163
030 Division
-[
A
/
B
®
C
]-
Divides data of
A
by
B
, and
stores the quotient in
C
and
the reminder in
C
+1.
49.7
ÖÖ
164
031 Double-word
addition
-
[
A+1
×
A
D+
B+1
×
B
®
C+1
×
C
]
-
Adds data of
A+1
×
A
and
B+1
×
B,
and stores the result in
C+1
×
C.
4 11.6
ÖÖ
165
032 Double-word
subtraction
-
[
A+1
×
A
D-
B+1
×
B
®
C+1
×
C
]
-
Subtracts data of
B+1
×
B
from
A+1
×
A
, and stores the result
in
C+1
×
C.
4 11.7
ÖÖ
166
035 Addition with
carry
-[
A
+C
B
®
C
]-
Adds data of
A
,
B
and the
carry, and stores the result in
C
. The carry flag changes
accordin
g
to the result.
49.7
ÖÖ
167
036 Subtraction
with carry
-[
A
-C
B
®
C
]-
Subtracts data of
B
and the
carry from
A
, and stores the
result in
C
. The carry flag
chan
g
es accordin
g
to the
result.
49.7
ÖÖ
168
039 Unsi
g
ned
multiplication
-[
A
U*
B
®
C+1×C
]-
Multiplies data of
A
and
B
,
and stores the result in
double-length register
C
+1
×
C
.
(Unsi
g
ned inte
g
er operation)
4
Ö
169
040 Unsi
g
ned
division
-[
A
U/
B
®
C
]-
Divides data of
A
by
B
, and
stores the quotient in
C
and
the reminder in
C
+1.
(Unsi
g
ned inte
g
er operation)
4
Ö
170
041 Unsi
g
ned
double/sin
g
le
division
-[
A+1
×
A
DIV
B
®
C
]-
Divides data of
A+1
×
A
by
B
,
and stores the quotient in
C
and the reminder in
C
+1.
(Unsi
g
ned inte
g
er operation)
4 15.3
ÖÖ
171
043 Increment
-[ +1
A
]-
Increments data of
A
by 1. 2 4.6
ÖÖ
172
044 Decrement
-[ -1
A
]-
Decrements data of
A
by 1. 2 4.6
ÖÖ
173
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net