Binary strings: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) m (→Compare two strings: formatting) |
||
Line 69: | Line 69: | ||
mov cx,4 ;length of the shorter of the two. |
mov cx,4 ;length of the shorter of the two. |
||
repz cmpsb |
|||
⚫ | |||
; this will continue until the strings are different or CX = 0, |
|||
⚫ | |||
; the strings were the same |
|||
ret |
ret |
||