18.08.2013 Views

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

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.

Section 15<br />

ROR, ROR$–Relocatable Output Routine<br />

The Relocatable Output Routine produces a relocatable element that is used for input to<br />

the Collector. The relocatable element is produced from relocatable items the language<br />

processors generate.<br />

The Relocatable Output Routine contains user interfaces SROR$, ROR$, EROR$, and<br />

TBLWR$. The following subsections describe these interfaces. Do not call the<br />

Relocatable Output Routine from a minor register set activity.<br />

If the external buffer version of ROR (ROR$) is used, ($EB entry points) then the $EB<br />

entry points must be used for all calls to ROR. These entry points are: SROR$EB,<br />

ROR$EB, EROR$EB, and TBLWR$EB.<br />

15.1. SROR$, SROR$EB–Start Relocatable Output<br />

Routine<br />

SROR$ initializes ROR prior to writing any relocatable text words.<br />

Calling Sequence<br />

L,U A0,K-bit limit<br />

LMJ X11,SROR$<br />

error return<br />

normal return<br />

Parameters<br />

K-bit limit<br />

The number of bits required to contain either the largest control counter or the<br />

number of undefined symbols for the relocation, whichever is larger.<br />

SROR$ saves the K-bit limit for the relocatable element and establishes the program file<br />

write location for the element via ER PFWL$. (See the Exec ER <strong>Programming</strong> <strong>Reference</strong><br />

<strong>Manual</strong>.) SROR$ adjusts the output buffer to minimize read-before-write operations,<br />

if possible.<br />

7833 1733–004 15–1

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

Saved successfully!

Ooh no, something went wrong!