24.12.2013 Views

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SNOOP. [CALLI 176]<br />

22.159 SNOOP. [CALLI 176]<br />

FUNCTION<br />

Allows privileged programs to insert breakpoints in the monitor<br />

trap to a user program. The user program must be locked in core<br />

the trap occurs (refer to LOCK monitor call). This feature is<br />

for fault insertion, performance analysis, and trace functions.<br />

one job can use SNOOP. at any time.<br />

that<br />

when<br />

used<br />

Only<br />

CAUTION<br />

Improper use of the SNOOP. call can cause the system<br />

to fail in a number of ways. User programs may<br />

require special code for multiprocessor systems<br />

because the monitor may be executing the same code<br />

simultaneously on several systems and at different<br />

interrupt levels.<br />

Refer to Chapter <strong>10</strong> for more information about the SNOOP. monitor<br />

call. Do not attempt to use this call until you are familiar with its<br />

operation.<br />

CALLING SEQUENCE<br />

MOVE ac, [XWD fcncode,addr]<br />

SNOOP. ac,<br />

error return<br />

skip return<br />

addr:<br />

argument list<br />

In the calling sequence, the program supplies the following variables:<br />

o<br />

o<br />

fcncode is one of the function codes described below.<br />

addr is the address of the argument list. The words at addr<br />

depend on the given function.<br />

The function codes and their meanings are:<br />

Code<br />

o<br />

Symbol<br />

.SODBP<br />

Function<br />

Defines breakpoints. This function is illegal if<br />

breakpoints have been inserted.<br />

The argument list for the .SODPB function is:<br />

arglst: EXP arglength<br />

EXP symbol checksum<br />

EXP address<br />

instruction<br />

EXP address<br />

instruction<br />

In the argument word:<br />

o arglength is the length of the argument list.<br />

This must be 2 + the number of<br />

address-instruction pairs in the argument list<br />

times 2 .<br />

22-400

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

Saved successfully!

Ooh no, something went wrong!