402
Conversion Instructions Section 3-11
8-to-256 bit Conversion
When the leftmost digit of C is 1, MLPX(076) takes the value of the specified
byte in S (00 to FF) and turns ON the corresponding bit in the range of 16
result words. All other bits in the result words will be turned OFF. Up to two
bytes can be converted.
When two bytes are being converted, MLPX(076) will read the bytes in S from
right to left and will wrap around to the rightmost byte if the leftmost byte
(byte 1) has been specified as the starting byte.
The following diagram shows some example values for C and the 8-to-256 bit
conversions that they produce.
Flags
R+1
R+14
R+15
R+16
R+17
R+30
R+31
C
16
15
=1 (Convert 2 bytes.)
n=1 (Start with second byte.)
8-to-256 bit decoding
(Bit m of R to R+15 is turned ON.)
C: #1011C: #1010
Digit 1 Digit 0 Digit 1 Digit 0
Name Label Operation
Error Flag ER ON if C is not within the specified ranges.
OFF in all other cases.