Chapter 6 Instruction Details
XBC E-Type Main Unit 6-270 Ve r. 1
6.35.13 EXPT, EXPTP
Instruction
Step
P M K F L T C S Z D.x
R.x
U N D R
EXPT(P)
2~4 O - -
Operand Description Data Size
S1 The base number for operation LREAL
The exponential number for operation
D Device number to save operation result in LREAL
1) EXPT (Exponential operation)
(1) Performs Exponential operation of data in specified area S1 and S2 to save in D. Data type of S and D
is of double real.
(2) When S1 is 1.5 and S2 is 3, operation result is 3.375 (1.5
3
).
2) Program Example
P00001
EXPT M0000 M0004 M0008
Performs exponential operation with data in M0000, M0001, M0004 and M0005 and saves them in M0008,
M0009.