Trailing-Edge
-
PDP-10 Archives
-
decuslib20-03
-
decus/20-0078/libsim/loadwo.mac
There is 1 other file named loadwo.mac in the archive. Click here to see a list.
COMMENT * SIMULA specification;
OPTIONS(/E:QUICK,loadword);
INTEGER PROCEDURE loadword(adr); INTEGER adr;
COMMENT Get the 36-bit word at memory address adr.
;
!*;! MACRO-10 code !*;!
TITLE loadword
ENTRY loadword
SUBTTL SIMULA utility, Lars Enderin Oct 1977
;!*** Copyright 1977 by the Swedish Defence Research Institute. ***
;!*** Copying is allowed. ***
sall
;! Local definitions ;!
adr==<result==0>
XTAC==2
OPDEF RET [POPJ 17,]
loadword:
MOVE @adr(XTAC)
MOVEM result(XTAC)
RET
END;