Skip to main content

IAR Embedded Workbench for RL78 5.20

Summary of assembler options

In this section:

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

Command line option

Description

‑‑case_insensitive

Case-insensitive user symbols

‑‑code_model

Defines the symbol __CODE_MODEL__

‑‑core

Specifies the microcontroller core

-D

Defines preprocessor symbols

‑‑data_model

Defines the symbol __DATA_MODEL__

‑‑debug

Generates debug information

‑‑dependencies

Lists file dependencies

‑‑diag_error

Treats these diagnostics as errors

‑‑diag_remark

Treats these diagnostics as remarks

‑‑diag_suppress

Suppresses these diagnostics

‑‑diag_warning

Treats these diagnostics as warnings

--diagnostics_format

Specifies the format for printed diagnostics

‑‑diagnostics_tables

Lists all diagnostic messages

‑‑dir_first

Allows directives in the first column

--dynamic_output

Lists in a structured format all output files

‑‑error_limit

Specifies the allowed number of errors before the assembler stops

-f

Extends the command line

‑‑f

Extends the command line, optionally with a dependency

--generate_far_runtime_library _calls

Generates __far runtime library calls

‑‑header_context

Lists all referred source files

-I

Adds a search path for a header file

-l

Generates a list file

-M

Macro quote characters

‑‑macro_positions_in _diagnostics

Obtains positions inside macros in diagnostic messages

‑‑mnem_first

Allows mnemonics in the first column

‑‑no_bom

Omits the Byte Order Mark for UTF-8 output files

‑‑no_call_frame_info

Disables output of call frame information

--no_core_rt_attribute

Suppresses generation of the CPU core option runtime model attribute

‑‑no_normalize_file_macros

Disables normalization of paths in the symbols __FILE__ and __BASE_FILE__

‑‑no_path_in_file_macros

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

--no_runtime_attributes

Disables the automatic output of RTMODEL attributes

‑‑no_system_include

Disables the automatic search for system include files

‑‑no_warnings

Disables all warnings

‑‑no_wrap_diagnostics

Disables wrapping of diagnostic messages

‑‑nonportable_path_warnings

Generates a warning when the path used for opening a source header file is not in the same case as the path in the file system

-o

Sets the object filename. Alias for ‑‑output.

‑‑only_stdout

Uses standard output only

‑‑output

Sets the object filename

‑‑predef_macros

Lists the predefined symbols

‑‑preinclude

Includes an include file before reading the source file

‑‑preprocess

Preprocessor output to file

-r

Generates debug information. Alias for ‑‑debug.

‑‑remarks

Enables remarks

‑‑silent

Sets silent operation

‑‑source_encoding

Specifies the encoding for source files

‑‑system_include_dir

Specifies the path for system include files

‑‑text_out

Specifies the encoding for text output files

‑‑use_paths_as_written

Use paths as written in debug information

‑‑use_unix_directory_separators

Uses / as directory separator in paths

‑‑utf8_text_in

Uses the UTF-8 encoding for text input files

‑‑version

Sends assembler output to the console and then exits.

‑‑warnings_affect_exit_code

Warnings affect exit code

‑‑warnings_are_errors

Treats all warnings as errors

Table 121. Assembler options summary