beckadam

This can't be right...

Jul 8th, 2019
534
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; compare strings HL and DE.
  2. ; return z if true, otherwise nz
  3. ; will subtract the minimum of the lengths of HL and DE, from BC.
  4. str_cmp:
  5.     ld a,(de)
  6.     inc de
  7.     cpi
  8.     jr z,str_cmp
  9.     ret
Advertisement
Add Comment
Please, Sign In to add comment