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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Word 1<br />

text word<br />

Word 2<br />

f<br />

lc<br />

Bit 3 = 1, right address (bits 20-35) relocatable.<br />

Bit 2 = 1, left address (bits 2-17) relocatable.<br />

Contains the location counter the text word is under, and by which relocation<br />

specified by f takes place. May be overridden by a type 013 special item.<br />

address<br />

Address of the text word.<br />

Words 3, 4, and so on, may contain special relocation items.<br />

Location Counter Formats<br />

Following are descriptions of the three types of location counters.<br />

• The Location Counter Relocation Item, type 011, is used for relocation by a location<br />

counter other than the one specified in S3 of word 2.<br />

The format is<br />

01 011 l r lc<br />

where:<br />

l<br />

r<br />

lc<br />

The left margin of the field of relocation (a bit number in the range 0–35).<br />

The right margin of the field of relocation (a bit number in the range 0–35,<br />

with r less than or equal to l).<br />

Location counter number; a signed 12-bit integer. The starting address of the<br />

location counter is added if lc is positive or subtracted if lc is negative.<br />

15–4 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!