public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* How to determine quoted strings in a macros (gas)?
@ 2020-01-14 11:16 Dmitrij V
  2020-04-03 11:04 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitrij V @ 2020-01-14 11:16 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to determine quoted strings in a macros (gas)?
  2020-01-14 11:16 How to determine quoted strings in a macros (gas)? Dmitrij V
@ 2020-04-03 11:04 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2020-04-03 11:04 UTC (permalink / raw)
  To: Dmitrij V, binutils

Hi Dmitrij,

> Can anyone to advise me, how to determine quoted string in
> a macros?

Sorry there is no current way of performing this test.

Why do you need to worry about quoted arguments ?

Cheers
  Nick



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-03 11:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-14 11:16 How to determine quoted strings in a macros (gas)? Dmitrij V
2020-04-03 11:04 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).