637
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Tracking Instructions
3
RSORT4
RSORT4
Applicable Program Areas
Operands
S: First word of first record to sort
Instruction Mnemonic Variations
Function
code
Function
UNSIGNED FOUR-WORD
RECORD SORT
RSORT4 @RSORT4 205
Sorts the records in the specified table according
to the data (4 words) at the specified position in
the records.
Symbol
RSORT4
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 89
S1 First word of first record to sort WORD Variable
D1 First word of sorting results WORD 1
D2 Destination index register DWORD 2
RSORT4(205)
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
0
15