Trailing-Edge
-
PDP-10 Archives
-
decuslib20-03
-
decus/20-0078/libsim/lastlo.mac
There is 1 other file named lastlo.mac in the archive. Click here to see a list.
COMMENT * SIMULA specification;
OPTIONS(/E:QUICK,lastloc);
INTEGER PROCEDURE lastloc(df); REF(Directfile)df;
COMMENT Returns Location of highest numbered image written on the file
df at any time.
;
!*;! MACRO-10 code !*;!
TITLE lastloc
ENTRY lastloc
SUBTTL SIMULA utility, Lars Enderin Nov 1975
;! *** Copyright 1975 by the Swedish Defence Research Institute.***
;! *** Copying allowed. ***
sall
search simmac,simmcr,simrpa
macinit
lastloc:PROC
L X1,(XTAC)
SETZ
CAIE X1,NONE
LF ,ZDFLIM(X1)
ST (XTAC)
RETURN
EPROC
LIT
END;