flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > several logics ? |
Author |
|
ouadji 01 Dec 2011, 23:41
Tomasz Grysztar wrote:
(A) it's like the explanation of Tomasz, just above. (does compile) (B) B does not compile (?) It is very difficult to find the common logic of work between rept-engine, macro-engine, struc-engine ... It seems there are several logics and not really a common engine. It seems that nestings of "{..}" are not the same in all engines. I have a hard time to have a overall view. This is not a bad criticism Tomasz, just it is difficult to try to understand "globally" (to have an overall view of) all these engines. (sorry for bad English) Code: ;(A) does compile rept 1 { struc m2 { . dd ? } } Code: ;(B) does not compile macro m { struc m2 { . dd ? } } ;<-- illegal instruction |
|||
01 Dec 2011, 23:41 |
|
ouadji 02 Dec 2011, 10:25
addes3 wrote: B does not compile because the "struc" is put inside the macro, so once the macro is created it is taken out of the source, leaving the last "}" all by it's self. The "rept" leaves "struc m2 { . dd ?" behind, whereas the macro leaves nothing behind. Hmm, I think it has nothing to do with that, Because .. Code: ;does not compile macro m { struc m2 { . dd ? } } m ;<-- (incomplete macro) ;--------------------------------------- ;does compile macro m { struc m2 { . dd ? \} } |
|||
02 Dec 2011, 10:25 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.