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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SNOOP. [CALLI 176]<br />

4 .SONUL<br />

Null function. This function allows you to<br />

execute code inserted at label BP$OOO, after<br />

ensuring that your job owns the SNOOP resource.<br />

This may be used by a program that must execute<br />

code in monitor context and wants to ensure that<br />

only this program can invoke the inserted code.<br />

If you do not own the SNOOP resource, the<br />

instruction at BP$OOO is not executed, and the<br />

error code SOSAS% is returned.<br />

SKIP RETURN<br />

The indicated function has been performed.<br />

ERROR RETURN<br />

One of the following error codes is returned in the ac:<br />

Code<br />

1<br />

2<br />

3<br />

4<br />

5<br />

6<br />

7<br />

<strong>10</strong><br />

11<br />

EXAMPLES<br />

Symbol<br />

SOIAL%<br />

SONPV%<br />

SOSAS%<br />

SOMBX%<br />

SOIBI%<br />

SONFS%<br />

SOADC%<br />

SOINL%<br />

SOWMS%<br />

Error<br />

Illegal argument list.<br />

Not enough privileges.<br />

Another program already snooping.<br />

Maximum number of breakpoints exceeded.<br />

Breakpoints already inserted.<br />

No monitor free core available.<br />

Address check.<br />

Program not locked in contiguous executive virtual<br />

memory.<br />

<strong>Monitor</strong> symbol table checksum does not match.<br />

The monitor computes the symbol table checksum in the following<br />

manner:<br />

LOOP:<br />

MOVE<br />

SETZM<br />

MOVE<br />

EXCH<br />

ROT<br />

ADD<br />

EXCH<br />

AOBJN<br />

T1, .JBSYM<br />

CHKSUM<br />

T2, (T1)<br />

T2,CHKSUM<br />

T2,1<br />

T2,CHKSUM<br />

T2,CHKSUM<br />

T1,LOOP<br />

MOVE<br />

SNOOP.<br />

JRST<br />

MOVE<br />

SNOOP.<br />

JRST<br />

T1, [XWD .SODBP,PUTEM]<br />

T1,<br />

NOGOOD<br />

T1, [XWD .SOIBP,O]<br />

T1,<br />

NOBTTR<br />

PUTEM:<br />

EXP<br />

EXP<br />

EXP<br />

JRST<br />

EXP<br />

JRST<br />

6<br />

MONITOR-CHECKSUM<br />

12345<br />

HOOK1<br />

12355<br />

HOOK2<br />

22-402

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

Saved successfully!

Ooh no, something went wrong!