flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2, 3 |
Author |
|
JohnFound
Privalov wrote: With the backlashes solution you just write "\forward", "\\forward" etc. for different levels. Well, this approach is really good enough for everything. And even more, it improves the readability. Combined with preprocessor repetition and conditional preprocessing, it will simplify complex macroses a lot. Regards |
|||
![]() |
|
asmdemon
Privalov wrote: I'm attaching the modified preprocessor module that has it. Will you include these in the next release? AND/OR the fasm documentation? _________________ It is better to be on the right side of the devil than in his path. |
|||
![]() |
|
pelaillo
Yes, better solution. Backlashes provide an immediate visual indication of the level concerned.
|
|||
![]() |
|
vid
great work, i love it
|
|||
![]() |
|
MCD
Great, but there is only 1 question remaining to me:
Will this just remove all of the Code: _% %_ _local _common _forward _reverse Code: macro SomeMacro { macro Inner _% SomeStuff %_ SomeStuff } _% fix { %_ fix } would become Code: macro SomeMacro { macro Inner { SomeStuff /} SomeStuff } _________________ MCD - the inevitable return of the Mad Computer Doggy -||__/ .|+-~ .|| || |
|||
![]() |
|
Tomasz Grysztar
Yes, those fixes are already removed from the standard Win32 includes, replaced with the new solution.
|
|||
![]() |
|
revolution
I tried the example from the documentation but get "Error: unexpected characters." when assembling.
Code: rept 5 { in al,dx } It can be made to assemble with the addition of a variable name Code: rept 5 v { in al,dx } |
|||
![]() |
|
Tomasz Grysztar
My stupid mistake, fixed now.
|
|||
![]() |
|
revolution
The code below causes FASM 1.61.7 to crash.
Code: rept 1 {macro foo [arg] \{ \common nop \} } foo test The same thing, but with one extra line feed is okay. Code: rept 1 {macro foo [arg] \{ \common nop \} } foo test |
|||
![]() |
|
Tomasz Grysztar
Another fix... I must have been sleepy when writing this...
|
|||
![]() |
|
Goto page Previous 1, 2, 3 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.