Skip to main content

IAR Embedded Workbench for Arm 9.70.x

Summary of assembler options

In this section:

This table summarizes the assembler options available from the command line:

Command line option

Description

‑‑aarch32

Generates code using the A32 instruction set

‑‑aarch64

Generates code using the A64 instruction set

‑‑abi

Specifies a data model for generating code using the A64 instruction set

‑‑arm

Sets the default mode for the assembler directive CODE to Arm

-B

Macro execution information

-c

Conditional list

‑‑code_model

Enables CMSE secure object generation

‑‑cpu

Core configuration

‑‑cpu_mode

Sets the mode for the assembler directive CODE

-D

Defines preprocessor symbols

--diagnostics_format

Specifies the format for printed diagnostics

--dynamic_output

Lists in a structured format all output files

-E

Maximum number of errors

-e

Generates code in big-endian byte order

‑‑enable_hardware_workaround

Enables a specific hardware workaround

‑‑endian

Specifies the byte order for code and data

-f

Extends the command line

‑‑fpu

Floating-point coprocessor architecture configuration

-G

Opens standard input as source

-g

Disables the automatic search for system include files

-I

Adds a search path for a header file

-i

Lists #included text

-j

Enables alternative register names, mnemonics, and operators

-L

Generates a list file to path

-l

Generates a list file

‑‑legacy

Generates code linkable with older toolchains

-M

Macro quote characters

-N

Omits header from the assembler listing

‑‑no_it_verification

Suppresses the verification of the condition of instructions following an IT instruction

‑‑no_path_in_file_macros

Removes the path from the return value of the symbols __FILE__ and __BASE_FILE__

-O

Sets the object filename to path

-o

Sets the object filename

-p

Sets the number of lines per page in the list file

-r

Generates debug information.

-S

Sets silent operation

-s

Case-sensitive user symbols

‑‑source_encoding

Specifies the encoding for source files

‑‑suppress_vfe_header

Suppresses the generation of VFE header information

‑‑system_include_dir

Specifies the path for system include files

-t

Tab spacing

‑‑thumb

Sets the default mode for the assembler directive CODE to Thumb

-U

Undefines a symbol

‑‑version

Sends assembler output to the console and then exits.

-w

Disables warnings

-x

Includes cross-references

-Y

Generates a list of file dependencies to a path

-y

Generates a list of file dependencies

Table 144. Assembler options summary