asm_isbdigit.asm
bitfixer_bitfixer/dg/z88dk/libsrc/ctype/asm_isbdigit.asm
; asm_isbdigit

PUBLIC asm_isbdigit

; determine whether ascii char is a binary digit

; enter : a = char
; exit  : carry = not a binary digit
; uses  : f

.asm_isbdigit

   cp '0'
   ret c
   cp '1'+1
   ccf
   ret
