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