News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Findstring with wildcards problem

Started by ragdog, November 12, 2008, 01:03:50 PM

Previous topic - Next topic

ragdog

Hi

I have a little bug in this routine

This search for a string in a file and uses wildcards.
If the string present in the file works this fine also with wildcards.
If the string not present crash this routine here

.while byte ptr [eax] == dl




.while byte ptr [eax] == dl
inc ecx
mov dl, byte ptr [ecx]
inc eax
dec edi
je found
cmp byte ptr [WildCard],dl
je @b
.endw




SOLVED

Greets