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

SECTION code_clib
SECTION code_l

PUBLIC l_incu_bc

l_incu_bc:

   ; uses : af, bc
   ; carry set on overflow

   inc bc
   
   ld a,b
   or c
   ret nz
   
   ld bc,$ffff
   scf
   ret
