06.02.2013 Views

C166/ST10 Cross-Assembler, Linker/Locator, Utilities ... - Tasking

C166/ST10 Cross-Assembler, Linker/Locator, Utilities ... - Tasking

C166/ST10 Cross-Assembler, Linker/Locator, Utilities ... - Tasking

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• • • • • • • •<br />

<strong>Linker</strong>/<strong>Locator</strong> 9−25<br />

Once a module is named in the invocation it is possible to make controls<br />

affect this module by using the module scope switch.<br />

Remarks:<br />

All controls used in the link stage are general controls.<br />

In all link and locate controls the commas are optional.<br />

9.11.1 THE MODULE SCOPE SWITCH<br />

With the module scope switch you can tell the locator to switch the scope<br />

to a previous module in the invocation. A module scope switch can be<br />

permanent or temporary. The syntax of a scope switch is as follows:<br />

{filename|GENERAL} permanent module scope switch<br />

{filename|GENERAL controls } temporary module scope switch<br />

All module scope controls following a permanent module scope switch<br />

affect the filename mentioned in the module scope switch or these<br />

controls get a GENERAL scope and affect all input modules. Using<br />

{GENERAL} is equal to using the GENERAL control.<br />

The temporary module scope switch has the same effect as the permanent<br />

module scope switch, but it affects only the controls between the filename<br />

or GENERAL and the closing brace (}). Temporary module scopes can be<br />

nested up to eight levels deep.<br />

The temporary module scope switch can also be used at defined places<br />

inside the controls. See the description of these controls for more<br />

information. The permanent scope switch cannot be used inside controls.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!