processed. If the entry is aPR, routine enters its displacement and
branching to ESDOO. the ESD type 5 and 6 card
length in the REFTBL before
4. If the
card
REFTBL already contained an entry, the ESD type 5 and 6
routine indexes it in the ESIDTB, checks alignment and
branches to ESDOO. The PR alignment is coded and placed into the REFTBL. It is an
error to encounter more restrictive alignment PR than previously
defined. A blank alignment factor is translated to fullvord alignment. ESD TYPE 10 ROUTINE - WEAK EITRN The WEAK EXTRN routine calls the search routine to find in the loader table. If not found, set the WEAK EXTRN loader table entry_ Exit to ESDOO. TIT CARD ROUTINE - C4Al1 Function
the BITRi name flag in the new has tvo functions:
in storage.
address inspection and placing text This routine
entered fro a APR1, which
inspection. has three entry points: location C4111, which is
the ESD card analysis routine, and locations REPENT and
are entered from the REP card routine for address 1. This routine begins its operation with a test of card type. If
the card being processed is not a TXT card, the routine branches
to the REP card routine; otherwise, processing continues in this
routine.
2. The routine then determines how many bytes of text are to be
placed in storage, and finds whether the loading process is
absolute or relocating. If the loading Frocess is absolute, the
routine performs operation 4, below; if relocating, the routine perforas operation 3.
3. If the ESIDTB entry was negative, this is a duplicate to CSECT and processing branches to RD. Otherwise, the routine links to
the REFIDR routine to obtain the relocation factor of the
current control segment. The routine then adds the relocation factor (0, if the loading
process is absolute) and the card-specified storage address.
The result is the address at which the text must be stored.
This routine also determines whether the address is such that
the text, when loaded starting at that address, overlays the
loader or the reference table. If a loader overlay or a
reference table overlay is found, the routine branches to the LDRIO routine. If neither condition is detected, the routine
proceeds with address inspection. CftS Method of Operation and Progra. Organization 2-77
5. The routine then determines whether an address has already been
saved for possible use as the end-of-Ioad branch address. If an
address has been saved, the routine performs operation 7; if
not, the routine performs operation 6.
6. The routine determines whether the text address is below
location 128. If the address is below location 128, it should
not be saved for use as a possible end-of-Ioad branch address,
and the routine performs operation 1; otherwise the routine
saves the address and then perforas operation 1.
1. The routine then stores the text at the address specified
(absolute or relocated) and branches to location RD in the
initial and resume loading routine to read another card. Exits ---rhe routine exits to two locations, as follows:
1. The routine exits to location RD in the initial and resu.e
loading routine if it is being used to process a TXT card.
2. The routine exits to location APRIL in the REP card routine if
it is being used for REP card address inspection. REP CARD ROUTINE - C4A13
Function ---rbIs-routine places text corrections in storage. This routine has one entry point, location C4AA3. The routine is
entered from the TXT card routine. 1. This routine begins its operation with a test of card type. If
the card being processed is not a REP card, the routine branches
to the RLD card routine; otherwise, processing continues in this
routine.
2. The routine then links to the HEXB conversion rcutine to convert
the REP card-specified correction address from hexadecimal to
binary.
3. The rcutine then links to the HEXE conversion routine again to
convert the REP card-specified ESID from hexadeciaal to binary.
4. The routine then determines whether the 2-byte correction being
processed is the first such correction on the REP card. If it
is the first correction, the routine performs operation 5;
otherwise, the routine performs operation 6.
5. When the routine is processing the first correction, it links to
location REPENT in the TXT card routine, where the REP card-specified correction address is inspected for loader
overlay and for end-of-Ioad branch address saving; in addition,
if the loading process is relocating, the relocated address is
calculated and checked for reference table overlay. The routine
then performs operation 7.
6. When the correction being processed is not the
correction on the REP card, the routine branches APR1 in the TXT card routine for address inspection.
first such
to location
2-78 IB! VM/310 Syste. Logic and Program Determination--Volume 2
Previous Page Next Page