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.

pkt-addr<br />

See 6.1<br />

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

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

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

for sector-addr.<br />

Error Return<br />

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

6.2.3. CBN$–Convert BDI to Symbolic Bank Name<br />

CBN$ determines the symbolic bank name that corresponds to the given BDI and<br />

returns it in registers A0 and A1 in Fieldata format, left-justified, and space-filled.<br />

Calling Format<br />

C$RELAD[,t] ‘CBN$’[,bdi] [pkt-addr]<br />

error return<br />

normal return<br />

Parameters<br />

t<br />

CBN$<br />

bdi<br />

See 6.1.<br />

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

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

bank descriptor index that is to be translated into a bank name. This parameter may<br />

be included as a number, as a tag that has been equated to a number, or as the<br />

address of a word that contains the value of the number.<br />

If parameter bdi is omitted, then the value in register A0 is used as the BDI.<br />

pkt-addr<br />

See 6.1.<br />

Error Return<br />

If A0 = 0 at the error return, the BDI is out of range or refers to a common bank. If A0 ≠<br />

0, an I/O error occurred and the registers contain the same values as for a CRELAD$ I/O<br />

error.<br />

7833 1733–004 6–13

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

Saved successfully!

Ooh no, something went wrong!