flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > highlight bug |
Author |
|
vid 05 Feb 2007, 19:56
it's hard to differ them. When you see $A, is it name or hexadecimal digit 0xA ?
|
|||
05 Feb 2007, 19:56 |
|
rugxulo 05 Feb 2007, 20:06
Someone correct me if I'm wrong, but ...
Of course, feel free to do whatever you want, but it's better to be consistent (no matter what you choose). |
|||
05 Feb 2007, 20:06 |
|
vid 05 Feb 2007, 21:22
rugxulo you are right. Both 3 types supported.
I am surprised FASM supports names starting with "$". I would consider this a bug. |
|||
05 Feb 2007, 21:22 |
|
daluca 05 Feb 2007, 23:10
I thought that the bug was the highlight but as vid found out:
Code: mov ax,$A $A: 1 Passes, 3 bytes. this is serious. |
|||
05 Feb 2007, 23:10 |
|
DOS386 07 Feb 2007, 00:31
Quote:
That's what I prefer ("$", not the PASCAL) Quote: 0xA is C The "h" at the end means horrible and generates unnecessary bugs: http://board.flatassembler.net/topic.php?t=1484 BTW: the number syntax (how to write HEX numbers, how to write BINARY numbers) seems completely undocumented ... something that could be fixed in the manual (besides JG vs JA / sign vs unsign) Quote: I am surprised FASM supports names starting with "$". I would consider this a bug. Agree. Names beginning with "$" sould be completely banned ... or at least insist that "g".."z" follows the "$". _________________ Bug Nr.: 12345 Title: Hello World program compiles to 100 KB !!! Status: Closed: NOT a Bug |
|||
07 Feb 2007, 00:31 |
|
Tomasz Grysztar 07 Feb 2007, 10:23
Funny, I did really believe I had added such a check...
|
|||
07 Feb 2007, 10:23 |
|
Tomasz Grysztar 10 Feb 2007, 13:32
Fixed in 1.67.19.
|
|||
10 Feb 2007, 13:32 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.