407
Conversion Instructions Section 3-11
The following diagram shows some example values for C and the 256-to-8 bit
conversions that they produce.
Flags
Precautions If the conversion data contains 0000 hex, but other data is to be encoded,
separate the conversion by using more than one DMPX(077) instructions.
DMPX(077) D0 D100 #0300
DMPX(077) D0 D100 #0000
DMPX(077) D1 D100 #0001
DMPX(077) D2 D100 #0002
DMPX(077) D3 D100 #0003
Examples When CIO 0.00 is ON in the following example, DMPX(077) will find the left-
most ON bits in CIO 200 to C202 and write those locations to 3 digits in R
beginning with the second digit, as indicated by C (#0021).
C: #1010 C: #1011
Digit 1 Digit 0 Digit 1 Digit 0
Name Label Operation
Error Flag ER ON if any of the source words contains 0000 hex (i.e., no
bit to encode).
ON if C is not within the specified ranges.
OFF in all other cases.
C: #
R: D10000
S
R
C
0.00
200
D1000
S: CIO 200
CIO 201
CIO 202
Digits
DMPX(077) finds the
leftmost ON bits.
Starting digit
(Digit 1)