View Single Post
  #28  
Old 20-04-2007, 01:19
کunβeam کunβeam is offline
Banned
 
Join Date: Apr 2007
Location: Romania
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
کunβeam is on a distinguished road
Hmm, I would still have to go through all the string Oh, and how do I detect the boundaries ? I mean, in asm :]

[eax+14] = point_0
...
[eax+24] = point_1

The size is not always the same. So point_1-point_0 will oscillate. Also, the string size has to be a multiple of 4 (nemy=4), starting from the...Wait a minute...

check:
cmp [eax+14], 'ymen'
jne somwhere
inc eax
jmp check

I think that would be it o_O ? And of course, the compare with 0 (end of string)...
Quote:
Originally Posted by TippeX
3. why you dont use a word check on the data for 'ym'
Because I would have a 2 letters words compared against an oscillating sized string. Keep in mind that the string isn't always odd (2,4,6,8...), but then again, the word isn't at the end of the string to have to worry about it I'll rewrite the script in a few hours. Need to attend some courses atm.

Thanks for the tips, TippeX (kinda repetitive - tips, tippex) =]

Last edited by کunβeam; 20-04-2007 at 01:28.