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.

INCHSL [TTCALL 5,]<br />

22.65 INCHSL [TTCALL 5,]<br />

FUNCTION<br />

Inputs a character in line mode from the terminal's<br />

skipping on return if the input was terminated<br />

character such as carriage-return/line-feed.<br />

input buffer,<br />

by a line break<br />

CALLING SEQUENCE<br />

INCHSL addr<br />

return 1<br />

return 2<br />

In the calling sequence, the program supplies the following variables:<br />

RETURN<br />

o addr is the address of the word to receive the character<br />

(right-justified; the rest of the word is cleared) .<br />

o return 1 is the return instruction when a line break has not<br />

been input from the terminal<br />

o return 2 is the return instruction when a line break<br />

character has been input from the terminal.<br />

If a line break has been input from the terminal, the monitor returns<br />

at return ~ with the next character of the line, right-justified in<br />

addr; if not, it returns at return 1.<br />

RELATED CALLS<br />

o<br />

o<br />

TRMOP.<br />

TTCALL<br />

COMMON PROGRAMMING ERRORS<br />

Typing a comma after addr.<br />

22-179

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

Saved successfully!

Ooh no, something went wrong!