Is this OK?
to
to
Code:
! mov ebx, LenMainString 'Length of long string ! Sub ebx, LenSubString 'Calculate last location to look at for start of a match, [COLOR="Blue"]! js xit 'If LenSubString > LenMainString[/COLOR] ! Add ebx, esi 'after this point the short string can't match because there aren't enough characters
Comment