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.

SEGOP. [CALLI 230]<br />

22.148 SEGOP. [CALLI 230]<br />

FUNCTION<br />

Provides functions by which an assembly-language program<br />

manipulate high segments in the program's address<br />

Specifically, the SEGOP. UUO allows you to:<br />

can<br />

space.<br />

o<br />

Put multiple high segments into a single program section.<br />

o Remove some or all of the high segments in the program's<br />

address space.<br />

o Read and write monitor data about high segments in sections<br />

other than that which is the PC origin. The monitor data<br />

describes the size of the segments, their origin sections,<br />

their sharable characteristics, and their write-only<br />

protection status.<br />

o Read and set writable characteristics of any high segment in<br />

the program's address space~<br />

o Translate segment names to segment numbers or numbers to<br />

names.<br />

o Change the size of any high segment in the program's address<br />

space.<br />

o<br />

o<br />

List all of the high segments in the program's address space.<br />

Remaps program segments in the program's address space.<br />

CALLING SEQUENCE<br />

addr:<br />

XMOVEI ac,addr<br />

SEGOP. ac,<br />

error return<br />

skip return<br />

length"function<br />

flags word<br />

segment-number<br />

segment-name<br />

segment-origin<br />

segment-size<br />

filespec-pointer<br />

For the SEGOP. UUO, store the address of the argument list in the<br />

accumulator. The argument list (beginning at addr above), is<br />

formatted differently depending on the function. The--functions and<br />

their appropriate argument lists are described below.<br />

The flags-word contains the SEGOP. fla.gs and f~elds appropriate to<br />

the function. The following table shows the flags that can be set for<br />

each function and which flags may be returned by the monitor.<br />

22-374

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

Saved successfully!

Ooh no, something went wrong!