h6. [[OS SWI Calls]] h6(. » [[OS_Heap]] h6((. » OS_Heap 5 h2. OS_ Heap 5 h5. (SWI &1D) |_<^{width:4em}. Entry | | |<^. R0 |<^. 5 | |<^. R1 |<^. Pointer to heap| |<^. R3 |<^. Size increase, or –ve for decrease| |_<^{width:4em}. Exit | | |<^. R0 |<^. Preserved | |<^. R1 |<^. Preserved | |<^. R3 |<^. Actual change in size | h4. Use The purpose of this call is to change the size of the heap. h4. Notes If the heap cannot be shrunk by the required amount an error will be returned. h4. See also * [[OS_Heap]]