.TITLE ASKLCD ; ; .IDENT /Y07.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: Y07 ; ; ; Author: R J Carpenter 06-Jan-84 ; ; ; Revised: Ray Carpenter 29-Feb-84 ; ; .page .sbttl code ; ; .psect $ask$ ; asklcd:: tst (r5) ;any arguments supplied ? beq exit ;br if not cmp 2(r5),#-1 ;valid addr. ? beq exit ;br if not movb @2(r5),qclc ;copy value to common area exit: return ;return to caller ; ; .end