2.5.2 Assembler Command Options

Classification

Option

Description

Source Options

-include

Specifies the names of folders that hold include files.

-define

Specifies macro definitions.

-chkpm

Checks whether a privileged instruction is written.

-chkfpu

Checks whether a single-precision floating-point processing instruction is written.

-chkdsp

Checks whether a DSP instruction is written.

-chkdpfpu [V3.01.00 or later]

Checks whether a double-precision floating-point processing instruction is written.

Object Options

-output

Specifies the relocatable file name.

-debug

Debugging information is output to the object files.

-nodebug

Debugging information is not output to the object files.

-goptimize

Outputs additional information for inter-module optimization.

-fpu

Enables writing of a single-precision floating-point processing instruction.

-nofpu

Generates an error when a single-precision floating-point processing instruction is written.

-dpfpu [V3.01.00 or later]

Enables writing of a double-precision floating-point processing instruction.

-nodpfpu [V3.01.00 or later]

Generates an error when a double-precision floating-point processing instruction is written.

-bank [V3.01.00 or later]

Enables writing of the SAVE and RSTR instructions dedicated to the register bank save function.

-nobank [V3.01.00 or later]

Generates an error when the SAVE or RSTR instruction dedicated to the register bank save function is written.

-create_unfilled_area

[To be supported by V2.03 and later versions]

Makes spaces created by .OFFSET unfilled.

List Options

-listfile

An assembler list file is output.

-nolistfile

An assembler list file is not output.

-show

Specifies the contents of the source list file.

Microcontroller Options

-isa

Selects the instruction-set architecture.

-cpu

Selects the microcontroller type.

-endian

Selects the endian type.

-fint_register

Selects a general register for exclusive use with the fast interrupt function.

-base

Specifies the base registers for ROM and RAM.

-patch

Selects avoidance or non-avoidance of a problem specific to the CPU type.

-pic

Enables the PIC function.

-pid

Enables the PID function.

-nouse_pid_register

The PID register is not used in code generation.

Other Options

-logo

Selects the output of copyright information.

-nologo

Selects the non-output of copyright information.

-subcommand

Specifies a file for including command options.

-euc

The character codes of input programs are interpreted as EUC codes.

-sjis

The character codes of input programs are interpreted as SJIS codes.

-latin1

The character codes of input programs are interpreted as ISO-Latin1 codes.

-big5

The character codes of input programs are interpreted as BIG5 codes.

-gb2312

The character codes of input programs are interpreted as GB2312 codes.

-utf8 [V2.04.00 or later]

The character codes of input programs are interpreted as UTF-8 codes.