93
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
2-2 Instruction Functions
2
2-2-17 Data Control Instructions
SCALING 2
SCL2
@SCL2
486
Output
Required
676
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
SCL2(486)
S
P1
R
S: Source word
P1: 1st parameter
word
R: Result word
∆Y
∆X
∆Y
∆X
∆Y
∆X
∆Y
∆X
P1
P1 + 1
P1 + 2
R (signed BCD)
Offset
Negative Offset
Offset
R (signed BCD)
Offset of 0000
Offset
(Signed BCD)
R (signed BCD)
Positive Offset
S (signed
binary)
S (signed binary)
S (signed
binary)
Offset = 0000 hex
(Signed binary)
(Signed binary)
Converts signed binary data into signed BCD data according to the
specified linear function. An offset can be input in defining the linear
function.