Basic I/O Unit Instructions
Precautions
Examples
Di
940
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.
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.
Di: 0100
S: D00100
D:
3
Hexadecimal to 7-segment data conversion
(F 71, 1 06, and 2 5B)
Section 3-23
Need help?
Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?
Questions and answers