This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
How to determine quoted strings in a macros (gas)?
- From: Dmitrij V <dmxvlx at gmail dot com>
- To: binutils at sourceware dot org
- Date: Tue, 14 Jan 2020 16:16:18 +0500
- Subject: How to determine quoted strings in a macros (gas)?
Hi there.
Can anyone to advise me, how to determine quoted string in
a macros?
I have INVOKE macros:
.macro INVOKE fn, arg1, arg2
.ifnb \arg2
.if \arg2[0] == " #FIXME what is I need here
#TODO needs define temporary variable (string) and use it
.endif;
.endif;
.endm
and before to call the \fn, I need to place quoted string into
temporary variable...
--
the best regards