Skip to main content

IAR Embedded Workbench for Arm 9.70.x

-M

In this section:
Syntax
-Mab 
Parameters

ab

The characters to be used as left and right quotes of each macro argument, respectively.

Description

Use this option to sets the characters to be used as left and right quotes of each macro argument to a and b respectively.

By default, the characters are < and >. The -M option allows you to change the quote characters to suit an alternative convention, or simply allows a macro argument to contain < or > themselves.

Example

For example, using the option:

-M[]

in the source you would write, for example:

print [>]

to call a macro print with > as the argument.

Note

Depending on your host environment, it might be necessary to use quote marks with the macro quote characters, for example:

iasmarm filename -M’<>’

Caution

Project>Options>Assembler >Language>Macro quote characters