l_incu_hl.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/l/z80/integer/l_incu_hl.asm

SECTION code_clib
SECTION code_l

PUBLIC l_incu_hl

l_incu_hl:

   ; uses : af, hl
   ; carry set on overflow

   inc hl
   
   ld a,h
   or l
   ret nz
   
   ld hl,$ffff
   scf
   ret
