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 thenperforas 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 aTXT card.
2. The routine exits to locationAPRIL in the REP card routine if
it is being used forREP 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
enteredfrom the TXT card routine. 1. This routine begins its operation with a test of card type. If
the card being processed is not aREP card, the routine branches
to the RLD card routine; otherwise, processing continues in this
routine.
2. The routine then links to theHEXB conversion rcutine to convert
theREP card-specified correction address from hexadecimal to
binary.
3. The rcutine then links to theHEXE conversion routine again to
convert theREP card-specified ESID from hexadeciaal to binary.
4. The routine thendetermines whether the 2-byte correction being
processed is the first such correction on theREP 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 theTXT 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 theREP card, the routine branches APR1 in the TXT card routine for address inspection.
first such
to location
2-78IB! VM/310 Syste. Logic and Program Determination--Volume 2
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
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.
1. The routine exits to location RD in the initial and resu.e
loading routine if it is being used to process a
2. The routine exits to location
it is being used for
Function
entered
the card being processed is not a
to the RLD card routine; otherwise, processing continues in this
routine.
2. The routine then links to the
the
binary.
3. The rcutine then links to the
convert the
4. The routine then
processed is the first such correction on the
is the first correction, the routine performs operation 5;
otherwise, the routine performs operation 6.
5.
location REPENT in the
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.
correction on the
first such
to location
2-78