Message board for the users of flat assembler.
> Compiler Internals > Possible procedure bug
I am not sure whether fasm is case sensitive or not. However I noticed some strange behaviour with that.
When I compile the following proecdure I get an illegal instruction error:
proc MyProcedure uses ebx esi edi, number:dword local var1:dword ret endp
But when I change "dword" to "DWORD" then no error occurs:
proc MyProcedure uses ebx esi edi, number:dword local var1:DWORD ret endp
But the strange thing with that is that I can write "number:dword" in lower case letters.
|23 May 2006, 11:44||
Yes, the macros are case-sensitive, see the introduction text here.
It's important to note that all macroinstructions, as opposed to internal directives of flat assembler, are case sensitive and the lower case is used for the most of them. If you'd prefer to use the other case than default, you should do the appropriate adjustments with FIX directive.
The size specifier are the exception from that "the most", as they are uppecase.
Actually it's quite easy to extend stardard headers to accept also lower case here, so I may do it in next releases.
|23 May 2006, 12:34||
< Last Thread | Next Thread >
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.