EasyManua.ls Logo

Thinget XC Series - [Ediv]

Thinget XC Series
283 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Applied Instructions
EDIV D10 D20 D50
S1· S2·
X0
z The floating point value of S1 is divided by the floating point value of S2. The result of the
division is stored in D as a floating point value. No remainder is calculated.
If a constant K or H used as source data, the value is converted to floating point before the
addition operation.
z
EDIV D100 K100 D110
X1
Function & Action
D11,D10)÷(D21,D20)→(D51,D50
Binary Floating Binary Floating Binary Floating
(D101,D100) ÷ (K100) (D111,D110)
Binary Floating Binary converts to Floating Binary Floating
z If S2 is zero then a divide by zero error occurs and the operation fails.
[EDIV]
16 bits instruction- 32 bits instructionEDDIV
Suitable Models
XC3XC5
¾
Word
Device
Bit
Device
D FDDMDX DY DS TD CDK/H
S1·
S2·
S2·
S1·
X
Y
M
S
T
C
Dn.m
123

Table of Contents

Related product manuals