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.

PIFLG. [CALLI 216]<br />

22.123 PIFLG. [CALLI 216]<br />

FUNCTION<br />

The PIFLG. monitor call allows you to retrieve the PC flags of the<br />

highest level pending interrupt that have been stored in the monitor.<br />

Flags are stored in the monitor if you are using extended addressing<br />

format, set by the PS.IEA bit of the PIINI. monitor call.<br />

This call does not cause an interrupt when UUO interrupts are enabled.<br />

CALLING SEQUENCE<br />

/ MOVEI ac, .PSFRD \<br />

\ MOVE ac, [flags" .PSFWT] /<br />

PIFLG. ac,<br />

error return<br />

skip return<br />

In the calling sequence, the program supplies the flags, which are one<br />

or more of the interrupt PC flags. The function codes are:<br />

Code<br />

o<br />

1<br />

Symbol<br />

.PSFRD<br />

. PSFWT<br />

Function<br />

Read interrupt flags.<br />

write interrupt flags .<br />

SKIP RETURN<br />

The requested action is performed.<br />

Flags, are returned in the ac.<br />

ERROR RETURN<br />

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

Code Symbol Error<br />

0 PSFNI% PSI system not initialized.<br />

1 PSFNP% No interrupt in progress.<br />

2 PSFEA% Extended addressing format for PI system not<br />

use.<br />

3 PSFIF% Illegal function code.<br />

in<br />

RELATED CALLS<br />

0 DEBRK.<br />

0 PIBLK.<br />

0 PIINI.<br />

0 PIJBI.<br />

0 PIRST.<br />

0 PISAV.<br />

0 PISYS.<br />

0 PITMR.<br />

22-308

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

Saved successfully!

Ooh no, something went wrong!