flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2 |
Author |
|
rugxulo 03 Apr 2008, 20:31
edfed wrote: i totally agree. i seek an explanation to azerty. and finally, i don't find any as well as for qwerty.. I don't use it, but you may wish to read about Dvorak. |
|||
![]() |
|
vador 26 Aug 2008, 19:58
how about just writing a preprocessor for fasm sources?
|
|||
![]() |
|
revolution 26 Aug 2008, 20:28
vador wrote: how about just writing a preprocessor for fasm sources? |
|||
![]() |
|
edfed 18 Sep 2008, 21:50
and is it possible to make this?
where to put the modification? parser? assembler? ??? ?? Code: mov dword[si+bx],0:7c00h |
|||
![]() |
|
vid 19 Sep 2008, 10:39
Using ":" is bad idea, because of segment:offset addressing. But place to put such modification is "tokenizer", (the part of code which turns ASCII line to list of tokens, before preprocessing)
|
|||
![]() |
|
Tomasz Grysztar 19 Sep 2008, 10:47
No, not really. If you want to use "_" character for such purpose, as it is not a special one, you can make this change directly in the get_number routine. In fact I plan to do it for the next release.
It would also work with quotes the same way - quotes in places other than beginning of a token (where they mean the quoted text token) are not treated specially in fasm. |
|||
![]() |
|
revolution 20 Dec 2008, 12:23
Tomasz Grysztar wrote: No, not really. If you want to use "_" character for such purpose, as it is not a special one, you can make this change directly in the get_number routine. In fact I plan to do it for the next release. ![]() Code: dq 0x12_34_56_78_90_ab_cd_ef Quote: flat assembler version 1.67.29 (100000 kilobytes memory) ![]() |
|||
![]() |
|
Tomasz Grysztar 13 Feb 2009, 10:30
revolution wrote:
Ooop, I forgot to put that in. ![]() However, I've now implemented it with the single quote character instead of underscore. With underscores it looked a bit too much like "fill in the blanks" for me. |
|||
![]() |
|
revolution 13 Feb 2009, 11:06
I await with baited breath.
|
|||
![]() |
|
revolution 13 Feb 2009, 11:34
Folks, Tomasz hasn't announced it, but it is now included in 1.67.32.
|
|||
![]() |
|
revolution 13 Feb 2009, 11:36
Of course one problem with the single quote is that my editor thinks I have strings in my numbers!
Code: dq 0x12'34'56'78'90'ab'cd'ef |
|||
![]() |
|
Tomasz Grysztar 13 Feb 2009, 13:05
revolution wrote: Looks weird for me, but okay on this phpBB board. This board's syntax highlight mimics the one from fasmw/fasmd, which is very closely reflecting fasm's parser. |
|||
![]() |
|
revolution 13 Feb 2009, 13:09
This is what I see in Notepad2
|
||||||||||
![]() |
|
DOS386 15 Feb 2009, 14:31
revolution wrote: This is what I see in Notepad2 Fault of NP2 and 1'000'000'000'000 thanks to Tomasz for this feature with apo's ![]() ![]() ![]() |
|||
![]() |
|
vid 15 Feb 2009, 16:08
If apostrophe was added, I think due to already mentioned problems it would be wise to add underscore too. It would be stupid to keep fasm so deliberately separated from every "standard" tool.
|
|||
![]() |
|
revolution 15 Feb 2009, 16:17
vid wrote: If apostrophe was added, I think due to already mentioned problems it would be wise to add underscore too. It would be stupid to keep fasm so deliberately separated from every "standard" tool. |
|||
![]() |
|
DOS386 16 Feb 2009, 08:18
vid wrote: It would be stupid to keep fasm so deliberately separated from every "standard" tool. Then we must have assume and offset in FASM and delete format and store and much more. Also, we must delete support for $ as prefix for hex as well as 0x and 0X prefixes and keep h suffix only. Also, the flat design has to be replaced by mess-it-around design. BTW: 1. NASM rejects not only $FFFF'FFFF but also $FFFFFFFF ... it requires $0FFFFFFFF ![]() 2. M.A.S.M. AFAIK rejects $0FFFFFFFF also ... only FFFFFFFFh is tolerable there ![]() |
|||
![]() |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.