_quicksort_.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/stdlib/c/sdcc_iy/_quicksort_.asm

; void qsort(void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *))

SECTION code_clib
SECTION code_stdlib

PUBLIC __quicksort_

EXTERN asm_quicksort

__quicksort_:

   pop af
   pop bc
   pop hl
   pop de
   pop ix

   push hl
   push de
   push hl
   push bc
   push af

   jp asm_quicksort
