COMMENT * SIMULA specification; OPTIONS(/E:QUICK,adjptr); INTEGER PROCEDURE adjptr(bp,incr); INTEGER bp, incr; COMMENT Adjust the byte pointer BP by INCR bytes, using ADJBP (works only on KL-10/20). The value of ADJPTR is the adjusted pointer. ; !*;! MACRO-10 code !*;! TITLE adjptr ENTRY adjptr SUBTTL SIMULA utility, Lars Enderin Jan 1978 ;!*** Copyright 1978 by the Swedish Defence Research Institute. *** ;!*** Copying is allowed. *** sall search simmac,simmcr,simrpa macinit ;! Local definitions ;! incr==>+1 adjptr: PROC LD bp(XTAC) IF JUMPE X1,FALSE THEN ADJBP X1,bp(XTAC) ST X1,result(XTAC) FI RET EPROC LIT END;