2 INSTRUCTION TABLES
2.5 Application Instructions
67
2
Random
number
generation
RND • Generates a random number (from 0
to less than 32767) and stores it at
the device designated by (D).
2 Page 646
RNDP
Random
number series
update
SRND • Updates random number series
according to the 16-bit BIN data
stored in the device designated by
(S).
SRNDP
Square root BSQR 3 Page 647
BSQRP
BDSQR 3
BDSQRP
Trigonometric
functions
BSIN 3 Page 650
BSINP
BCOS 3 Page 652
BCOSP
BTAN 3 Page 654
BTANP
BASIN 3 Page 656
BASINP
BACOS 3 Page 658
BACOSP
BATAN 3 Page 660
BATANP
Category Instruction
symbol
Symbol Processing details Execution
condition
Number
of basic
steps
Subset Reference
RND D
SRND D
BSQR SD
(D)+0
(S)
+1
Integer part
Decimal fraction part
BDSQR SD
(D)+0
(S+1, S)
+1
Integer part
Decimal fraction part
BDSQRP SD
BSIN SD
Sin(S)
(D)+0
+1
Integer part
Decimal fraction part
+2
Sign
BSINP SD
BCOS SD
Cos(S)
(D)+0
+1
Sign
Decimal fraction part
+2
Integer part
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
Tan
-1
(S)
(D)+0
+1
Sign
Decimal fraction part
+2
Integer part
BATANP SD