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.

CAINIT$<br />

CABSAD$, CRELAD$–Addressing Routines<br />

CAINIT$ is the function code that determines which of the absolute addressing<br />

routines is called by C$ABSAD. It must be enclosed by apostrophes.<br />

file-name<br />

Internal name of the file containing the absolute element that the calling program<br />

wishes to examine. The file name may be from 1 to 12 characters selected from the<br />

set A through Z, 0 through 9, and the special characters - and $. If given as a string,<br />

then the parameter must be surrounded by apostrophes on the procedure call. This<br />

parameter may also be given as the address of a two-word area that contains the<br />

name in Fieldata format, left-justified and space-filled.<br />

sector-addr<br />

Sector location of the absolute element in the file named by parameter file-name.<br />

This parameter may be given as an actual number, a tag that has been equated to an<br />

actual number or the address of a word that contains value that is to be used as the<br />

sector address.<br />

pkt-addr<br />

See 6.1.<br />

If both of the parameters file-name and sector-addr are omitted on the call, then the<br />

routine uses the value in the register pair A0 and A1 for file-name and the value in<br />

register A2 for sector-addr.<br />

Error Return<br />

The error return is identical to a CABSAD$ error return.<br />

6.1.3. CBX$–Compute Bank Descriptor Index<br />

CBX$ computes the bank descriptor index (BDI) that corresponds to a given bank name.<br />

Calling Format<br />

C$ABSAD[,t] ‘CBX$’[,bank-name] [pkt-addr]<br />

error return<br />

normal return<br />

Parameters<br />

t<br />

See 6.1.<br />

7833 1733–004 6–5

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

Saved successfully!

Ooh no, something went wrong!