flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > How to use blank prefix parameters inside macros? |
Author |
|
revolution 01 May 2006, 04:15
Sorry to reply to myself.
I am currently getting around the problem like this: Code: macro foo prefix { match x,prefix#func \{ call x \} } func: ret x_func: ret foo x_ foo Does anyone have another, clearer, way around this problem? Or am I just plain stupid and missing something obvious? |
|||
01 May 2006, 04:15 |
|
chris 02 May 2006, 07:00
try this one, use conditional assembling.
Code: macro foo prefix { if prefix eq call func else call prefix#func end if } func: ret x_func: ret foo x_ foo |
|||
02 May 2006, 07:00 |
|
revolution 02 May 2006, 07:29
Quote: use conditional assembling |
|||
02 May 2006, 07:29 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.