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.

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

Error Return<br />

The error return occurs when a nonzero status code is encountered in register A2.<br />

Register A2 contains the status code from ER PFWL$. (See the Exec ER <strong>Programming</strong><br />

<strong>Reference</strong> <strong>Manual</strong>.)<br />

The calling parameters for SROR$EB differ from SROR$ by the addition of a parameter<br />

that defines the external buffer to be used by ROR$. The length and address of the<br />

buffer are provided by the caller in H1 and H2 of register A1, respectively. All other<br />

parameters for SROR$EB are unchanged. A buffer length of at least 1792 words<br />

(1 track) is recommended.<br />

Calling Sequence (External Buffer)<br />

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

L A1,(length-of-buffer,address-of-buffer)<br />

LMJ X11,SROR$EB<br />

error return<br />

normal return<br />

Parameters<br />

length-of-buffer<br />

The number of words in buffer. Must be a multiple of 112 words (4 sectors).<br />

A minimum buffer length of 1792 words (1 track) is recommended.<br />

address-of-buffer<br />

Address of the buffer in caller's data area.<br />

15.2. ROR$, ROR$EB–Generation of Relocatable<br />

Output<br />

ROR$ formats relocatable items and outputs text to the relocatable element.<br />

Calling Sequence<br />

L,U A0,address-of-item<br />

LMJ X11,ROR$ (or ROR$EB)<br />

error return<br />

normal return<br />

Error Return<br />

The error return is taken when<br />

• An I/O error occurs; A1 will contain the status.<br />

• An internal inconsistency occurred in ROR; A1 will be zero.<br />

15–2 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!