![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268979.webp)
940
Basic I/O Unit Instructions
Section 3-23
Precautions
If more than one digit is specified for conversion in Di, digits are converted in
order toward the most-significant digit. Digit 0 is the next digit after digit 3.
Results are stored in D in order from the specified portion toward higher-
address words. If just one of the bytes in a destination word receives con-
verted data, the other byte is left unchanged.
Examples
When CIO 000000 turns ON in the following example, the contents of the 3
digits beginning with digit 1 in D00100 will be converted from hexadecimal
data to 7-segment data, and the results will be output to the upper byte of
D00200 and both bytes of D00201. The specifications of the bytes to be con-
verted and the location of the output bytes are made in CIO 0100.
S: D00100
D:
Di: 0100
Di
3
Hexadecimal to 7-segment data conversion
(F 71, 1 06, and 2 5B)
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...