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.

DVPHY. [CALLI 164]<br />

EXAMPLE<br />

The following example shows how to obtain the physical names<br />

line printers on the system:<br />

of all<br />

TAG1:<br />

TAG2:<br />

NLPT:<br />

LPTNAM:<br />

ADDR:<br />

CONTIN:<br />

SETZB<br />

MOVE<br />

DVPHY.<br />

JRST<br />

SKIPN<br />

JRST<br />

MOVEM<br />

AOJA<br />

MOVEM<br />

JRST<br />

BLOCK<br />

BLOCK<br />

EXP<br />

EXP<br />

T1,ADDR+1 ;Initialize counter and device name<br />

T2, [XWD 2,ADDR] ;Set ,up call<br />

T2, ;Get name<br />

ERROR ;Error<br />

T3,ADDR+1 ;Get name, skip if not at end<br />

TAG2 ;0 means we're done<br />

T3,LPTNAM(T1) ;Save in next block-slot<br />

T1,TAG1 ;Increment count and loop<br />

T1,NLPT<br />

CONTIN<br />

1<br />

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

.TYLPT<br />

o<br />

;Save count<br />

;Type is LPT<br />

;Start with first device<br />

RELATED CALLS<br />

o<br />

o<br />

SYSPHY<br />

SYSSTR<br />

COMMON PROGRAMMING ERRORS<br />

Using a SIXBIT name for device type.<br />

22-<strong>10</strong>6

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

Saved successfully!

Ooh no, something went wrong!