mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-26 09:54:20 +00:00
Upload
Digital Research
This commit is contained in:
46
ASSEMBLY & COMPILE TOOLS/PLM VAX COMPILER/util86/rscan.mar
Normal file
46
ASSEMBLY & COMPILE TOOLS/PLM VAX COMPILER/util86/rscan.mar
Normal file
@@ -0,0 +1,46 @@
|
||||
.TITLE RSCAN. (UTIL-VAX Library Routines RSCANA,RSCANB)
|
||||
;-----------------------------------------------------------------------
|
||||
;
|
||||
; D I S C L A I M E R N O T I C E
|
||||
; ------------------- -----------
|
||||
;
|
||||
; This document and/or portions of the material and data furnished
|
||||
; herewith, was developed under sponsorship of the U. S. Government.
|
||||
; Neither the U.S. nor the U.S.D.O.E., nor the Leland Stanford Junior
|
||||
; University, nor their employees, nor their respective contractors,
|
||||
; subcontractors, or their employees, makes any warranty, express or
|
||||
; implied, or assumes any liability or responsibility for accuracy,
|
||||
; completeness or usefulness of any information, apparatus, product
|
||||
; or process disclosed, or represents that its use will not infringe
|
||||
; privately-owned rights. Mention of any product, its manufacturer,
|
||||
; or suppliers shall not, nor is it intended to, imply approval, dis-
|
||||
; approval, or fitness for any particular use. The U. S. and the
|
||||
; University at all times retain the right to use and disseminate same
|
||||
; for any purpose whatsoever. Such distribution shall be made by the
|
||||
; National Energy Software Center at the Argonne National Laboratory
|
||||
; and only subject to the distributee furnishing satisfactory proof
|
||||
; that he has a valid license from the Intel Corporation in effect.
|
||||
;
|
||||
;-----------------------------------------------------------------------
|
||||
|
||||
.PSECT UTIL_CODE,RD,NOWRT,EXE,GBL,CON,LONG
|
||||
|
||||
; RSCANB: PROCEDURE BYTE PUBLIC;
|
||||
; <RETURN SCANBYTE AND SET SCANP=SCANP+1>
|
||||
; END RSCANB;
|
||||
|
||||
.ENTRY RSCANB,^M<>
|
||||
MOVZBL @SCANP,R0
|
||||
INCL SCANP
|
||||
RET
|
||||
|
||||
; RSCANA: PROCEDURE ADDRESS PUBLIC;
|
||||
; <RETURN SCANADDR AND SET SCANP=SCANP+2>
|
||||
; END RSCANA;
|
||||
|
||||
.ENTRY RSCANA,^M<>
|
||||
MOVZWL @SCANP,R0
|
||||
ADDL2 #2,SCANP
|
||||
RET
|
||||
|
||||
.END
|
||||
Reference in New Issue
Block a user