TAL Reference Manual

Compiler Directives
TAL Reference Manual526371-001
16-44
Examples of Running Object Files at HIGHPIN
The following sequence of examples show how to run an object file at high PIN from
the TACL prompt. The examples show how to check your processor configuration and
high-PIN availability, set the HIGHPIN attribute, and override the TACL HIGHPIN
setting if it is off.
Examples of Running Object Files at HIGHPIN
1. To check the number of PCBs configured in your processor and to see if high PINs
are available, run the Peek product. For example, suppose you want to run your
object file on processor 1:
PEEK / CPU 1 /
The following display excerpt shows example values for the information you need
to check:
... CURRENT USAGE # CONFIGURED ...
PCB 127: 48 255: 244
The processor is configured for high PINS if the sum of the two values displayed
for PCBs under # CONFIGURED is 256 or greater.
The processor has high PINs available if the right-hand value under CURRENT
USAGE is less than the right-hand value under # CONFIGURED.
2. You can set the HIGHPIN attribute of an object file during compilation by including
the HIGHPIN directive in the compilation command:
TAL /IN talsrc, OUT $S.#tallst, NOWAIT/ talobj; HIGHPIN
3. Alternatively, you can set the HIGHPIN attribute of an object file after compilation
by typing the following Binder command:
BIND CHANGE HIGHPIN ON IN talobj
4. Before you run the object file, you can check the current setting of the TACL
HIGHPIN built-in variable by typing:
#HIGHPIN
5. If #HIGHPIN returns a NO value, you can set the HIGHPIN run-time parameter
(and run your object file at high PIN):
RUN talobj / HIGHPIN ON /
6. If #HIGHPIN returns a YES value, you can simply run your object file at high PIN:
RUN talobj