flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
edfed 20 Feb 2008, 15:32
i meet this bug with fasmw 1.62.26
when i type some quoted strings with accents, frensh keyboard specific, fasm tell me it is not end qouted... |
|||
![]() |
|
revolution 20 Feb 2008, 15:35
Does it work with the double quote (")?
|
|||
![]() |
|
edfed 20 Feb 2008, 15:40
no
|
|||
![]() |
|
revolution 20 Feb 2008, 16:40
Notice how Tomasz uses "scas dword [edi]" instead of "add edi,4".
|
|||
![]() |
|
vid 20 Feb 2008, 16:41
tomasz tries hard to keep FASM under 64KB
![]() |
|||
![]() |
|
edfed 20 Feb 2008, 23:01
the problem is not fasm, but the string '^ 'is problematic, it is
27 5E 00 27 so, fasm see it as a end of string... to avoid this bug, the test shall include a two char test. or al,al je missing_end_quote? ... missing_end_quote?: mov al,[esi-2] cmp al,5eh jne missing_end_quote ... |
|||
![]() |
|
DOS386 20 Feb 2008, 23:11
> Notice how Tomasz uses "scas dword [edi]" instead of "add edi,4".
3 bytes -> 1 byte ![]() > tomasz tries hard to keep FASM under 64KB YES, but ![]() |
|||
![]() |
|
edfed 20 Feb 2008, 23:30
this is size optimisation for sure, but
![]() tomasz is not a beginner, he don't have to write the algo with basic inst, remember, he is the autor of the program you use for code... so .. thanks. |
|||
![]() |
|
revolution 20 Feb 2008, 23:39
edfed wrote: it will change the state of eax, ... |
|||
![]() |
|
revolution 20 Feb 2008, 23:43
edfed wrote: the problem is not fasm, but the string '^ 'is problematic, it is |
|||
![]() |
|
edfed 20 Feb 2008, 23:53
but it can make problems in case of effective end of file before the quote closer.
|
|||
![]() |
|
revolution 21 Feb 2008, 00:01
Just try and see what happens. How does fasm recognise the end of file?
Code: mov byte [edx],1Ah |
|||
![]() |
|
edfed 21 Feb 2008, 00:19
the best is to never try to quote strings with '^ ' obtained when typing a ^ accent, the key just after the p on azerty kb, and type a key that don't accept the accent, like p, k, b, t, f, w, , etc...
|
|||
![]() |
|
shoorick 21 Feb 2008, 06:20
try to use another editor/ide, which does not insert esc sequences
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.