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.

F.2.4. EM$SNAPPKT<br />

Interface to Selected Extended Mode Executive Requests<br />

The EM$SNAPPKT PROC generates the packet for the EM$SNAP PROC.<br />

Calling Sequence<br />

label EM$SNAPPKT snap-id,xar,len,address<br />

Parameters<br />

snap-id<br />

xar<br />

len<br />

address<br />

The snapshot identifier, from 1 to 6 characters (in quotes).<br />

The bits identifying which registers to dump (same as for L$SNAP PROC).<br />

The number of words to dump.<br />

The address (18-bit offset from zero) to start dumping words from.<br />

All of the parameters may also be set at execution time. The snap-id parameter is<br />

located at word 2 of the packet (packet address + 1). The xar parameter is located in bits<br />

35 to 33 of word 3 of the packet. The len and address parameters are located in bits 32<br />

to 18 and in H2 of word 3, respectively.<br />

The dump address must be in either the same bank that contains the packet or in a bank<br />

that is based on B15 when EM$SNAP is called.<br />

The value given for address must be greater than the highest address of the <strong>SYSLIB</strong>$1<br />

common bank rounded up to the next highest 01000. The highest address of the<br />

<strong>SYSLIB</strong>$1 common bank is given in Table D–2. This is necessary because common bank<br />

<strong>SYSLIB</strong>$1 is based to perform the ER SNAP$ and any address to be dumped that<br />

overlaps the <strong>SYSLIB</strong>$1 address limits will give incorrect results.<br />

7833 1733–004 F–5

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

Saved successfully!

Ooh no, something went wrong!