flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
pjd
I've been using the attached file included in my source code but the assembler won't recognize the call to the kernel macro from within the sys_write macro. Also if I add closing braces at the bottom to the match statements at the top (Intended to work like the #ifndef #define #endif sequence in a C program), I get problems claiming that the } is an illegal instruction. Is this a difference between the slightly older manual and the assembler or just something I've missed?
|
|||||||||||
![]() |
|
vid
you have to "escape" all preprocessor symbols inside inner matches, including brackets:
Code: match a, b { match c,d \{ \} } |
|||
![]() |
|
pjd
if I stick the backward slash in front of each of the inner brackets the original source file claims the macros used don't exist
|
|||
![]() |
|
vid
well, maybe because some of matchs doesn't match
![]() |
|||
![]() |
|
pjd
how do you do do a 'does not match' the manual only mentions 'match =TRUE, DEBUG {}'
How do I get the opposite |
|||
![]() |
|
vid
Code: else equ 1 match =1, SOMETHING { ... else equ 0 } match =1, else { ... } |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.