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.

11.1.2. Calling Sequence<br />

ID$–Identification Line Routine<br />

ID$ is called with the MASM PROC I$D$. This PROC can call ID$ as a relocatable<br />

element, a common bank element, or a common bank element using the Auto Switch<br />

method.<br />

Calling Format<br />

I$D$[,t] pkt-addr date<br />

error return<br />

normal return<br />

Parameters<br />

t<br />

The type of call to ID$. This parameter is optional and may be omitted. CB or A,<br />

if specified, must be enclosed by apostrophes.<br />

pktaddr<br />

date<br />

blank Call the relocatable version of ID$. This is the default if t is omitted.<br />

'CB' Call the common bank version of ID$.<br />

'A' Call the common bank version of ID$ using the Auto Switch method.<br />

The address of the ID$ packet.<br />

The address of a caller-specified date and time (it must be in TDATE$ format). This<br />

parameter is optional.<br />

The calling program can use indexing, incrementation, indirect addressing, and register<br />

basing in specifying the addresses for pktaddr and date by using the $EQUF directive.<br />

See $EQUF definitions in the MASM <strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong>.<br />

If date is included on the calling statement, the TDATE$ value at that address is used for<br />

the execution date/time. If the date is excluded, the TDATE$ value in word 8 of the ID$<br />

packet is used. If no value is present in Word 8, in other words, if it is zero, the current<br />

date/time is obtained from ER TDATE$.<br />

7833 1733–004 11–5

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

Saved successfully!

Ooh no, something went wrong!