.TITLE ASKSLC ; ; .IDENT /Y06.00/ ; ; ; .ENABL LC ; ; ; Copyright (C) Shell Research Ltd. 1983 ; ; ; The copyright in this computer program and associated user ; instructions contained in this document is the property of ; Shell Research Ltd.. No guarantee is given or may be implied ; as to the adequacy of the program or its suitability for any ; particular purpose and no liability is accepted for any loss ; or damage arising out of its use. ; ; ; ; Version: Y06 ; ; ; Author: R J Carpenter 06-Jan-84 ; ; ; Revised: ; ; .page .sbttl code ; ; .psect $ask$ ; askslc:: tst (r5) ;any arguments supplied ? beq exit ;br if not cmp 2(r5),#-1 ;invalid arg ? beq exit ;exit if yes movb @2(r5),qclc ;copy value to common area exit: return ;return to caller ; ; .end