flat assembler
Message board for the users of flat assembler.

Index > IDE Development > [solved] Fasmw replace spaces to tab ! Why ?

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 814
Roman
This ok:
Code:
;my program copy this text until symbol > 13 ! If i get tab my program finish !
;For this reason i changed space to symbol minus 
inc eax---------------------\Cmp eax,10
    


But if i replace symbol minus to space i get not 21 spaces.
I get couple 09(tabs) and spaces !
I look this in IDA Pro 32 bit.

But why fasm changed space to tab ?! Some times its not good solution !

PS: I write my program and thinked that I've gone crazy ! And my program do somthing wrong ! But not.
Post 28 Aug 2020, 04:15
View user's profile Send private message Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 814
Roman
I check this.
I open empty fasm 1.73 editor.
Write:
Code:
inc eax                                                     \cmp eax,2
    

And save text file.
Open this text file in IDA Pro and see couple 09(tabs) and spaces(20h)
But expected see only spaces !
Post 28 Aug 2020, 04:55
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17624
Location: In your JS exploiting you and your system
revolution
I think you are talking about fasmw, right? That is not fasm BTW, it is the IDE wrapper for fasm.

There is an option in fasmw about "optimal fill on save" or something like that. I don't remember the exact phrase, but look for it and untick it.

I renamed and moved this topic.
Post 28 Aug 2020, 05:08
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 814
Roman
Thanks.
I found.
Options->Optimal fill on saving unselected check.
And Options->Smart tabulation unselected check.
Post 28 Aug 2020, 05:38
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.