RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

OS_HeapSort32

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_HeapSort32

OS_HeapSort32

(SWI &7F)
Entry
R0 Number of elements
R1 Pointer to word-array
R2 Sort type or comparison routine?
R7 Flags
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

Use

The purpose of this call is to perform a fast and memory efficient sort on a list of objects.

Notes

The CallASWI module allows this SWI to be used with earlier versions of RISC OS (before 5.00). The earlier version of this SWI OS_HeapSort is also available.

See also

  • HeapSort Comparison Routine
  • HeapSort Flags
  • HeapSort Types
  • OS_HeapSort
Revised on November 26, 2010 12:48:40 by Trevor Johnson (329)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: OS SWI Calls, OS_HeapSort, HeapSort Comparison Routine, HeapSort Flags, HeapSort Types, CallASWI

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys