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 for a privileged instruction.

-chkfpu

Checks for a floating-point operation instruction.

-chkdsp

Checks for a DSP instruction.

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

Generates a relocatable file which is capable of containing FPU instructions.

-nofpu

Generates a relocatable file which is not capable of containing FPU instructions.

-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.