Advertisement
Guest User

Untitled

a guest
Mar 12th, 2022
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. compstring:
  2. mov byte [bx], al
  3. mov byte [si], ah
  4. cmp al, ah
  5. jne compstring_unequal
  6. cmp al, 0
  7. je compstring_equal
  8. inc bx
  9. inc si
  10. jmp compstring
  11.  
  12.  
  13. compstring_unequal:
  14. mov cx, 0
  15. ret
  16. compstring_equal:
  17. mov cx, 1
  18. ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement