Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; compare strings HL and DE.
- ; return z if true, otherwise nz
- ; will subtract the minimum of the lengths of HL and DE, from BC.
- str_cmp:
- ld a,(de)
- inc de
- cpi
- jr z,str_cmp
- ret
Advertisement
Add Comment
Please, Sign In to add comment