2-48
Table 2.29 Special Function Instructions (Continued)
Category
Instruction Symbol
Symbol Processing Details Execution
Condition
Number of Basic Steps
Subset
See for Description
Random
number
generation
RND •Generates a random number (from 0 to
less than 32767) and stores it at the
device designated by (D).
2 - 7-304
RNDP
Random
number
series update
SRND •Updates random number se ries
according to the 16-bit BIN data stored
in the device designated by (S).
SRNDP
Square root
BSQR
3-
7-306
BSQRP
BDSQR
3-
BDSQRP
Trigonometric
functions
BSIN
3 - 7-309
BSINP
BCOS
3 - 7-311
BCOSP
BTAN
3 - 7-313
BTANP
BASIN
3 - 7-315
BASINP
BACOS
3 - 7-317
BACOSP
BATAN
3 - 7-319
BATANP
RND D
RNDP D
SRND D
SRNDP D
BSQR SD (D)+0
(S)
+1
Integer part
Decimal fraction part
BSQRP SD
BDSQR SD (D)+0
(S+1, S)
+1
Integer part
Decimal fraction part
BDSQRP SD
BSIN SD Sin(S)(D)+0
+1Integer part
Decimal fraction part
+2
Sign
BSINP SD
BCOS SD Cos(S)(D)+0
+1
Sign
Decimal fraction part
+2
Integer part
BCOSP SD
BTAN SD Tan(S)(D)+0
+1
Sign
Decimal fraction part
+2
Integer part
BTANP SD
BASIN SD Sin
-1
(S)(D)+0
+1
Sign
Decimal fraction part
+2
Integer part
BASINP SD
BACOS SD Cos
-1
(S)(D)+0
+1
Sign
Decimal fraction part
+2
Integer part
BACOSP SD
BATAN SD Tan-1(S)(D)+0
+1
Sign
Decimal fraction part
+2
Integer part
BATANP SD