flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution
Two problems:
1) you need square brackets. Code: struc da [x]{ common db x } 2) the if-else-endif block won't work the way you want. Both 'da' and 'dc' are always defined no matter what 'expr' is. This is a consequence of the preprocessor/assembler separation in fasm. |
|||
![]() |
|
Uwar
revolution wrote: Two problems: Oh It was only my writing mistake. I had mean: Code: if expr struc da [x]{ common db x } else struc da [x]{ common dw x } end if Thank's a lot, but there is still a one problem: Code: var da 'text', 0x0 ; fails when da is dw Is it possible to define wide characters? |
|||
![]() |
|
r22
Code:
widechar du 'abcdefg'
|
|||
![]() |
|
Uwar
Great
![]() |
|||
![]() |
|
Remy Vincent
Would it be possible to change this great topic to MACRO topics section ?
I have never been able to read MACRO topics ![]() ![]() _________________ Groups lower your IQ |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.