UNIVERS DCN SUBTTL Macros for DECnet CUSPS SEARCH JOBDAT,UUOSYM,MACTEN,SWIL F=:0 ;Flag register T4=:1+>> ;Temporary ACs P4=:1+>>;Permanent ACs S4=:1+>>;Saved ACs E=:S4+1 ;Opcode of LUUO. Used by dispatch routine. U=:E+1 ;LUUO itself. P=:17 ;Push down list pointer C==1+ ;SCAN acs OPDEF CALL [PUSHJ P,] ;instruction used to call all routines in here OPDEF RET [POPJ P,] ;Bad return OPDEF RETSKP [JRST .POPJ1##] ;good return from most routines OPDEF SKP [TRNA] ;skip over an instruction OPDEF NOOP [TRN] ;do nothing. Ignore skip returns OPDEF XMOVEI [SETMI] ;get full 30 bit immediate address OPDEF XHLLI [HLLI] ;get section number in left half OPDEF IFIW [1B0] ;Instruction formatted indirect word DEFINE $HISEG,> DEFINE $LOSEG,> SUBTTL Storage allocation macros DEFINE $BLOCK(LABEL,SIZE),< $LOSEG LABEL: BLOCK SIZE $HISEG > DEFINE $LVAR(LABEL),< $LOSEG LABEL: BLOCK 1 $HISEG > DEFINE $GVAR(LABEL),< $LOSEG LABEL:: BLOCK 1 $HISEG > DEFINE $ABS(LOCATION,VALUE,LABEL),< $$.ABS==$$.SEG IFG $$.ABS,<$LOSEG> IFL $$.ABS,<$HISEG> LOC IFNB