EasyManua.ls Logo

Xinje XL Series - Page 328

Xinje XL Series
456 pages
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...
327
Note:
1. The result of MUL is Dword, the result is stored in D14~D15.
2. The result of DIV has quotient D16 and remainder D17. If D17 has value, the calculation
precision will decrease. Please use float format to ensure the precision.
3. D16 quotient is word value, in plus calculation all the data should be changed to Dword.
The final result is stored in D22~D23.
Method 2: use C language:
M0
RESULT D0 M0
RESULT
Function name
D0
In the function, W [0] =D0, W [1] =D1…
If D0=D32, then W [0] =D32, W [1] =D33…
If S2=HD32, then W [0] =HD32, W [1] =HD33…
M0
In the function, B [0] = M0, B [1] =M1…
If S2=M32, then B [0] = M32, B [1] =M33
If S2=HM32, then B [0] = HM32, B [1] =HM33…
tudonghoatoancau.com

Table of Contents

Related product manuals