cm48_sdccix_scalbn.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccix_scalbn.asm

; float scalbn(float x, int n)

SECTION code_clib
SECTION code_fp_math48

PUBLIC cm48_sdccix_scalbn

EXTERN l0_cm48_sdccix_scalbn_callee

cm48_sdccix_scalbn:

   pop af
   
   pop de
   pop hl                      ; hlde = float x
   
   exx
   
   pop hl                      ; hl = int n
   
   push hl
   
   exx
   
   push hl
   push de
   
   push af

   jp l0_cm48_sdccix_scalbn_callee
