flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 13 Oct 2009, 15:01
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 13 Oct 2009, 15:20
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 13 Oct 2009, 15:30
Code:
widechar du 'abcdefg'
|
|||
![]() |
|
Uwar 13 Oct 2009, 15:35
Great
![]() |
|||
![]() |
|
Remy Vincent 13 Oct 2009, 15:49
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.