flat assembler
Message board for the users of flat assembler.

Index > Main > Confusing CaSE SensITIViTy

Author
Thread Post new topic Reply to topic
system error



Joined: 01 Sep 2013
Posts: 671
system error
Hi. Just want to know where I can find good information on FASM's case-sensitity. The manual is not that helpful.

Example

SECTION is case-insensitive.
import is case-sensitive.

This is confusing since both are under the Formatter Directives.

Another thing, where can I find clear classifications of all these directives except x86 instructions?

thanks.
Post 14 Nov 2013, 14:24
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17492
Location: In your JS exploiting you and your system
revolution
"import" is a macro and is therefore case sensitive.
Post 14 Nov 2013, 14:43
View user's profile Send private message Visit poster's website Reply with quote
system error



Joined: 01 Sep 2013
Posts: 671
system error
revolution wrote:
"import" is a macro and is therefore case sensitive.


So I take it that all FASM macro names are case sensitive.
Post 14 Nov 2013, 14:45
View user's profile Send private message Reply with quote
system error



Joined: 01 Sep 2013
Posts: 671
system error
for consistency, i think i should stick to lowercase except for my own macros and x86 instructions.

thanks reVOLutIoN.
Post 14 Nov 2013, 14:53
View user's profile Send private message Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr
system error,

You should stick to fasm manual (or its source, whichever you prefer), it states clearly that intrinsic fasm features are case-insensitive (like directives, operators and instruction mnemonics), everything else is taken verbatim (up to symbols in UTF-8); precedence should be taken in account too.
Post 14 Nov 2013, 15:39
View user's profile Send private message Reply with quote
system error



Joined: 01 Sep 2013
Posts: 671
system error
baldr wrote:
system error,

You should stick to fasm manual (or its source, whichever you prefer), it states clearly that intrinsic fasm features are case-insensitive (like directives, operators and instruction mnemonics), everything else is taken verbatim (up to symbols in UTF-Cool; precedence should be taken in account too.


Thanks and noted.
Post 14 Nov 2013, 18:41
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 YouTube, Twitter.

Website powered by rwasa.