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.

RUN [CALLI 35]<br />

ERROR RETURN<br />

The error return is taken if any errors are detected; the monitor<br />

returns an error code in the ac. Your program can attempt to recover<br />

from an error and continue the-Program's execution. If you set the<br />

left half of the error return location to a HALT, the monitor will not<br />

return to the program but will print an error message. Your terminal<br />

will be at monitor level.<br />

If you do not include a HALT in the left half of the error return<br />

location, your program can analyze the error code returned in the ac.<br />

If the error code indicates an error from which you can recover, your<br />

program can issue another RUN monitor call, possibly including a HALT<br />

instruction in the error return location.<br />

If your program is using overlays, the monitor will not attempt to<br />

return to your program. Therefore, you should place the RUN monitor<br />

call in the low segment of your program, in case the error is<br />

discovered after the high segment has been released. If the call is<br />

issued from the low segment and an error occurs, the high segment of<br />

the program is cleared and must be re-initialized.<br />

If the call is issued from the high segment and an error occurs,<br />

monitor may halt the job and print the following message:<br />

?Illegal address in UUO at user PC xxxxxx<br />

the<br />

For this reason, the RUN call should be given from the low segment.<br />

See Section 11.14 for a list of error codes.<br />

RELATED CALLS<br />

o<br />

o<br />

o<br />

GETSEG<br />

MERGE.<br />

SEGOP.<br />

22-357

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

Saved successfully!

Ooh no, something went wrong!