flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2 |
Author |
|
rugxulo
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
how about just writing a preprocessor for fasm sources?
|
|||
![]() |
|
revolution
vador wrote: how about just writing a preprocessor for fasm sources? |
|||
![]() |
|
edfed
and is it possible to make this?
where to put the modification? parser? assembler? ??? ?? Code: mov dword[si+bx],0:7c00h |
|||
![]() |
|
vid
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
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
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
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
I await with baited breath.
|
|||
![]() |
|
revolution
Folks, Tomasz hasn't announced it, but it is now included in 1.67.32.
|
|||
![]() |
|
revolution
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
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
This is what I see in Notepad2
|
||||||||||
![]() |
|
DOS386
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
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
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
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.