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.

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

6.2.4. CSN$–Convert Segment Index to Segment Name<br />

CSN$ determines the symbolic segment name that corresponds to the given segment<br />

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

Calling Format<br />

C$RELAD[,t] ‘CSN$’[,seg-index] [pkt-addr]<br />

error return<br />

normal return<br />

Parameters<br />

t<br />

CSN$<br />

See 6.1.<br />

CSN$ 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 />

seg-index<br />

Segment index of the segment is to be translated into a segment name. This<br />

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

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

If the parameter seg-index is omitted, then the value in register A0 is used as the<br />

segment index.<br />

pkt-addr<br />

See 6.1.<br />

Returns<br />

The error and normal returns are the same as for CBN$.<br />

6–14 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!