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.

Extended Mode Interface to <strong>SYSLIB</strong><br />

I.2. Interface to the AEDIT$ Package<br />

All of the routines in the AEDIT$ package are called with the EM$EDIT PROC. The<br />

packet for the AEDIT$ package is generated with the EM$EDITPKT PROC.<br />

The EM$EDIT PROC calls the ASCII editing routines in the <strong>SYSLIB</strong> common bank.<br />

Calling Sequence:<br />

EM$EDIT pkt,b-reg [func,param1,param2]<br />

where:<br />

pkt<br />

b-reg<br />

func<br />

The label (18-bit offset from zero) of the packet generated by the EM$EDITPKT<br />

PROC.<br />

The B-register describing the bank containing the packet generated by the<br />

EM$EDITPKT PROC.<br />

The code for which ASCII editing function to perform. See Table I–1 for a list of all<br />

function codes.<br />

param1<br />

The first additional parameter for the EM$EDIT call. This parameter varies<br />

depending on which function code is used. See Table I–2 for a list of first parameter<br />

values.<br />

param2<br />

The second additional parameter for the EM$EDIT call. This parameter varies<br />

depending on which function code is used. See Table I–3 for a list of second<br />

parameter values.<br />

The func, param1, param2 parameters are optional. If they are omitted, EM$EDIT uses<br />

the values contained in registers A1, A2, and A3, respectively. Since the EM$EDIT<br />

PROC does not handle all combinations, either supply all parameters or all registers.<br />

I–2 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!