![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
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...