Entry | |
---|---|
R0 | Number of elements |
R1 | Pointer to word-array + flags |
R2 | Sort type or comparison routine |
Optional: | |
R3 | Workspace pointer |
R4 | Array of actual objects |
R5 | Size of object in R4 |
R6 | Workspace of R5 bytes (if R5>16k) |
Exit | |
---|---|
All registers preserved |
This SWI is deprecated, because the use of flag bits in address values makes it unsafe to use on systems with 32bit logical memory maps. Please use OS_HeapSort32 instead.
The purpose of this call is to perform a fast and memory efficient sort on a list of objects.