Download User Manual - v8.8 Cross-Assembler, Linker/Locator, Utilities

Transcript
Assembler Controls
OPTIMIZE
Control:
From the Project menu, select Project Options...
Expand the Assembler entry and select Miscellaneous.
Enable the Optimize for generic instructions check box.
OPTIMIZE / NOOPTIMIZE
Abbreviation:
OP / NOOP
Class:
General
Default:
OPTIMIZE
Description:
NOOPTIMIZE turns off the optimization for forward generic jmp and call
instructions. Normally the assembler tries to select a relative jmp (JMPR) or
relative call (CALLR) instruction for a generic jmp/call in an absolute or
relocatable section, even with forward references. If the optimization is
turned off, a forward generic jmp is always translated to an absolute jmp
(JMPA) and call is translated to an absolute call (CALLA).
Example:
$noop
; turn optimization off
; source lines
$op
; turn optimization back on
; source lines
• • • • • • • •
6−61