clib_init_bss.inc
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/target/clib_init_bss.inc

   ; initialize bss section

   IF (__crt_model | __crt_initialize_bss)

         EXTERN asm_memset
         EXTERN ASMTAIL_BSS_UNINITIALIZED, ASMHEAD_BSS_END

         ld hl,ASMTAIL_BSS_UNINITIALIZED
         ld bc,ASMHEAD_BSS_END - ASMTAIL_BSS_UNINITIALIZED
         
         ld e,0
         call asm_memset

   ENDIF
