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.

PEEK [CALLI 33]<br />

22.120 PEEK [CALLI 33]<br />

FUNCTION<br />

Returns the contents of any location in the monitor. The PEEK monitor<br />

call requires that your program have bit 16 (JP.SPA) or bit 17<br />

(JP.SPM) set in the GETTAB table .GTPRV, or your program must have<br />

JACCT privileges. If you do not have the proper privileges, the ac is<br />

cleared.<br />

CALLING SEQUENCE<br />

MOVE<br />

PEEK<br />

return<br />

ac,addr<br />

ac,<br />

In the calling sequence, the program supplies the addr, which is the<br />

30 bit address of the word in the monitor virtual address space to be<br />

returned.<br />

If you set UU.PHY in this call, using the instruction:<br />

PEEK ac,UU.PHY<br />

the specified address is assumed to be a physical memory address<br />

instead of a virtual address.<br />

RETURN<br />

On return, the contents of the monitor location given by addr is<br />

returned in the ac. If the calling job does not have the required<br />

privileges, the monitor clears the ac.<br />

RELATED CALLS<br />

o<br />

o<br />

o<br />

PAGE.<br />

POKE.<br />

Spy<br />

22-302

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

Saved successfully!

Ooh no, something went wrong!