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.

Obsolete Entry Points, PROCs, and Routines<br />

J.1.3. A$EPKTSFDT<br />

A$EPKTSFDT procedure generates a 14-word AEDIT$ packet. This packet is used for<br />

date and time editing.<br />

Calling Sequence<br />

label A$EPKTSFDT image-length,image-address [‘MSG’,msg];<br />

[‘FPS’,fps] [‘FPR’,fpr] [‘DPC’,dpc];<br />

[‘SPC’,spc] [‘DFT’,date-format] [‘TFT’,time-format];<br />

[‘SEP’,separator-character]<br />

J.1.4. Examples of Generating the AEDIT$ Packet<br />

Example 1<br />

$(0)<br />

PACKET A$EPKT 20,ASCIILINE .AEDIT$ packet<br />

ASCIILINE $RES 20 .Data area for ASCII image<br />

In example 1, the MASM procedure A$EPKT generates a seven-word packet at the<br />

location PACKET in location counter 0. AEDIT$ uses this packet for general-purpose<br />

ASCII editing, but not for floating-point numbers or data and time formats. AEDIT$ will<br />

store the generated ASCII string in the 20-word data area at location ASCIILINE. The<br />

message halt character defaults to “&”.<br />

Example 2<br />

LINELEN $EQU 33 .Length of ASCII data area<br />

$(4)<br />

LINE $RES LINELEN .Data area for ASCII image<br />

PACKET A$EPKTSFDT LINELEN,LINE ‘DFT’,8 ‘TFT’,3 .AEDIT$ packet<br />

In example 2, the MASM procedure A$EPKTSFDT generates a 14-word packet for ASCII<br />

editing with date and time formats. AEDIT$ will store the generated ASCII string in the<br />

33-word data area at location LINE. AEDIT$ uses date format index 8 and time format<br />

index 3. AEDIT$ uses the default values for the msg, fps, dps, spc, and<br />

separator-character parameters.<br />

J.2. CONWRD$–MASM PROCs and Entry Points<br />

These entry points to the CONWRD$ routine are replaced by the C$ONWRD PROC<br />

(see Section 7). The common bank entry points are<br />

BCWSET$<br />

Sets bit 8 of the condition word; if bit 8 was already set, then set bit 7.<br />

BCWCLEAR$<br />

Clears bit 8 of the condition word; it does not affect bit 7.<br />

J–2 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!