3. Instructions
RSORT2
Instruction
UNSIGNED TWO-WORD
RECORD SORT
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
C
First control word
S1
First word of first record to sort
D1
First word of sorting results
D2
Destination index register
S: First word of first record to sort
15
S
626
Mnemonic
Variations
RSORT2
@RSORT2
Block program areas
Step program areas
OK
OK
Description
0
Function
code
Sorts the records in the specified table according
204
to the data (2 words) at the specified position in
the records.
RSORT2
RSORT2(204)
C: First control word
C
S: First word of first record to sort
S
D1
D1: First word of sorting results
D2
D2: Destination index register
Subroutines
Interrupt tasks
OK
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or
transition programs
OK
OK
Data type
Size
WORD
87
WORD
Variable
WORD
1
DWORD
2
Need help?
Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?
Questions and answers