O

Chapter 5 Using Assembler

Turn on optimization

Functional Description

This option enables optimization of instructions by the assembler and linker. For the instructions subject to optimization, see Chapter 4 "Optimization Functions."

Rules of Use

To specify the option, enter the hyphen (-) followed by the upper case letter 'O'.

as103 -O sample.asm

Default Specification

The default is to suppress optimization.

It is also possible to change the optimization default with an entry in the assembler's start-up file. See Chapter 1 "Getting Started" Section 1.5 "Setup."

Od

Turn off optimization

Functional Description

This option disables optimization of instructions by the assembler and linker. For the instructions subject to optimization, see Chapter 4 "Optimization Functions."

This option overrides any opt on directives included in the source files. For further details on the opt on directive, see Chapter 9 "Writing Machine Language Instructions and Directives" Section 9.4 "Writing Directives" Section 9.4 "opt."

Rules of Use

To specify the option, enter the hyphen (-) followed by the upper case letter 'O' and the lower case letter 'd'. The two letters together function as a single option.

as103 -Od sample.asm

Default Specification

The default is to suppress optimization.

It is also possible to change the optimization default with an entry in the assembler's start-up file. See Chapter 1 "Getting Started" Section 1.5 "Setup."

Command Options 79

Page 91
Image 91
Panasonic MN1030 user manual Turn on optimization, As103 -O sample.asm, Turn off optimization, As103 -Od sample.asm