This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]