![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268610.webp)
571
Special Math Instructions
Section 3-14
1,2,3...
1.
The source words (D00101 and D00100) to be are cleared to 0000 0000.
2.
The 4-digit number is moved to D00101.
3.
ROOT(072) calculates the square root of D00101 and D00100 and writes
the result to D00102.
1
2
3
4
5
@BSET
@MOV
@ROOT
@MOV
@MOV
@MOVD
@MOVD
@INC
The values after the decimal point
should be rounded.
D00101 D00100
0 0 0 0 0 0 0 0
0000
0000
010
6 0 1 7
D00101 D00100
6 0 1 7 0 0 0 0
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...