101
Conversion Instructions Section 3-10
DATA DECODER
MLPX
@MLPX
076
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
S: Source word
C: Control word
R: 1st result word
MLPX(076)
S
C
R
l=1 (Convert 2 digits.)
n=2 (Start with second digit.)
4-to-16 bit decoding
(Bit m of R is turned ON.)
C
R
R+1
Reads the numerical value in the specified digit (or byte) in the source word,
turns ON the corresponding bit in the result word (or 16-word range), and
turns OFF all other bits in the result word (or 16-word range).
4-to-16 bit conversion
8-to-256 bit conversion
l=1 (Convert 2 bytes.)
n=1 (Start with first byte.)
8-to-256 bit decoding
(Bit m of R to R+15 is turned ON.)
Two 16-word ranges
are used when l
specifies 2 bytes.
C
R+1
R+14
R+15
R+16
R+17
R+30
R+31