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
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...