flat assembler
Message board for the users of flat assembler.
Index
> IDE Development > Replace bug? |
Author |
|
edfed 08 Feb 2012, 17:11
given this code
Code: dd minicube,300,3200,400 dd minicube,300,3200,400 dd minicube,300,3200,400 when i try to replace 0,400 by 0,400,Blue only the first line will be replaced. if the first line don't end with 0,400 it will replace nothing at all... here the gif of the problem: http://fool.codercat.org/fasmreplacebug.gif tested with the very last version of fasm it happens with the file uploaded, never saw this bug before. thanks.
|
|||||||||||
08 Feb 2012, 17:11 |
|
edfed 08 Feb 2012, 20:50
tested with:
Code: 0,000 0,000 0,000 replace 0,000 by 0,00 OK Code: 0,000,123 0,000,123 replace 0,123 by 0,00 OK Code: 0,00,400 0,00,400 replace 0,400 by 0,00 OK Code: 0,222,400 0,222,400 replace 2,400 by 0,00 OK Code: 0,000,400 0,000,400 replace 0,400 by 0,00 notfound Code: 0,000,100 0,000,100 replace 0,100 by 0,00 notfound Code: 0,222,122 0,222,122 replace 2,122 by 0,00 not found Code: 0,222,122 0,222,122 22*2,122 replace 2.122 by 0,00 Ok, one replace here->* Code: ;CURSOR position->* 0,22*2,122 0,222,122 replace 2,122 by 0,00 replace ok, 1 replace but what is the limit? |
|||
08 Feb 2012, 20:50 |
|
Tomasz Grysztar 09 Feb 2012, 15:45
Quick fix: in SEARCH.INC find this section
Code: match_part_of_suffix: mov eax,[esp] push ecx esi edi xchg eax,esi sub eax,esi sub ecx,eax repe cmpsb pop edi esi ecx jne suffix_match_shifts_table_done store_suffix_match_shift: I will upload the corrected package later. |
|||
09 Feb 2012, 15:45 |
|
edfed 09 Feb 2012, 22:40
thank you so much
|
|||
09 Feb 2012, 22:40 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.