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.

System Standard Procedures and Definitions<br />

2.3. PROC$–System Procedures<br />

PROC$ is an element that contains the following assembler procedures (PROC). Refer<br />

to the designated section of this manual or to the other manuals listed below for<br />

instructions on how to use these procedures. Only those PROCs that are not described<br />

elsewhere in this document are listed.<br />

• Collector segment loading PROCs. See the Collector <strong>Programming</strong> <strong>Reference</strong><br />

<strong>Manual</strong>. (L$OAD, D$REL, D$LOAD)<br />

• Procedures that generate calls to the PMD dynamic dump routines (X$MARK,<br />

X$BACK, X$BUFR, X$SIZE, X$IF, X$OR, X$AND, X$LST, X$TALY, X$FRMT,<br />

X$MESG, X$CREG, X$DUMP, X$CORE, X$DRUM, X$TAPE, X$FILE, X$CW, X$ON,<br />

X$OFF). See the PMD <strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong>.<br />

• Procedures, ASCII and FIELDATA, used with the Meta-Assembler (MASM) to<br />

change the radix for generating character data.<br />

• Procedure A$SCTRL to define mnemonics for the ASCII control characters<br />

corresponding to octal codes 0 through 37 and 177. See the ER <strong>Programming</strong><br />

Quick-<strong>Reference</strong> Guide.<br />

• J$REG PROC to aid loading J-registers in character addressing mode. See the AIM<br />

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

• I$BJ and D$BJ PROC calls to generate IBJ$ (DBJ$) calling sequences used by the<br />

Collector in bank switching. See the Collector <strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong>.<br />

• U$C function to uppercase ASCII character string. For example<br />

P$ $PROC<br />

U$C<br />

TYPE $EQU U$C(P$(0,1) . Get type in uppercase ASCII<br />

$IF TYPE='A'<br />

...<br />

$ENDF<br />

$END<br />

2.4. SSTYP$–Element Subtypes<br />

SSTYP$ is a nonexecutable relocatable element consisting of a table of standard<br />

symbolic and omnibus element subtype names and their associated values. It has a<br />

single external definition, SSTYP$. SSTYP$ is the address of a word that contains the<br />

length of the table. The table begins at SSTYP$ + 1.<br />

The element subtype number is used to index into the SSTYP$ table to obtain the<br />

corresponding Fieldata name. For example, the octal value for an element subtype of<br />

'PLS' (PLUS) is 015. The word at address SSTYP$+16 contains the Fieldata characters<br />

'PLS∆∆∆'.<br />

2–4 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!