3. Instructions
634
CS/CJ/NSJ Series Instructions Reference Manual (W474)
RSORT2
Applicable Program Areas
Operands
S: First word of first record to sort
Instruction Mnemonic Variations
Function
code
Function
UNSIGNED TWO-WORD
RECORD SORT
RSORT2 @RSORT2 204
Sorts the records in the specified table according
to the data (2 words) at the specified position in
the records.
Symbol
RSORT2
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
C First control word WORD 87
S1 First word of first record to sort WORD Variable
D1 First word of sorting results WORD 1
D2 Destination index register DWORD 2
RSORT2(204)
C
S
C: First control word
S: First word of first record to sort
D1: First word of sorting results
D2: Destination index register
D1
D2
S
015