Trailing-Edge
-
PDP-10 Archives
-
decuslib10-05
-
43,50337/12/cgsa.mac
There are 2 other files named cgsa.mac in the archive. Click here to see a list.
00100 SUBTTL CODE GENERATION
00200 SALL
00300 COMMENT;
00400 AUTHORS: STEFAN ARNBORG, LARS ENDERIN 1-AUG-73
00500
00600 VERSION: 4 [11,14,20,26,32,33,56,65,142,210,251,321]
00700
00800 PURPOSE: CODE GENERATION
00900
01000 CONTENTS: GENERATORS FOR NODES IN EXPRESSION TREE:
01100 ZID, ZCN AND ZNS NODES EXCEPT %PCALL, %NEW, %BEGPB, ETC.
01200 ;
01300 SEARCH SIMMAC,SIMMC2,SIMMCR,SIMRPA
01400 CTITLE CGSA
01500 ; COMPILE OPDEFS
01600 EXTERN CADS,CAUD,CGACSA,CGPD,CGRA
01700 EXTERN CGAS,CGG1,CGG2,CGG3,CGG4,CGG5,CGG7,CGR2,CGR3,CGR4
01800 EXTERN CGIACT ;[14]
01900 EXTERN CGAC
02000 IFN QDEBUG,<
02100 EXTERN DBDT
02200 >
02300 EXTERN O2AD,O2AF,O2GI
02400 EXTERN CGIM,CGMO1,CGIM1,CGMO
02500 EXTERN O2CF,O2DF,O2GA,O2GF,O2GR,O2GW,O2GWD,O2IV
02600 EXTERN QOPSTZ
02700 EXTERN YBKSTP,YELIN2,YGAP,YCGXAC,YCGSWC,YLXIAC,YCGACT,YEXPL,YEXPP,YOPST
02800 EXTERN YCGFX1,YACTAB,YCGFX2,YFORSI,YO2ADI,YO2ADF,YOPCOD,YO2FIX
02900 EXTERN YOPSTB,YOPSTP,YORFOR,YQRELR,YQRELT,YRELPT,YZHET,YRELCD
03000 EXTERN YSYSI,YWARCT
03100 EXTERN .AND,.DEQ,.DIV,.EQ,.EQV,.GRT,.IDIV,.IMP,.LESS,.MINUS
03200 EXTERN .MULT,.NDEQ,.NGRT,.NLESS,.POW,.OR,.PLUS,.UNMIN,.NEQ
03300 EXTERN .BEGPB,.NEW,.PCALL,.IN,.IS,.QUA,.QUAL
03400 EXTERN YCGINS,YORACT,YORFX,YTAC,YZHBXC
03500 INTERN CGAA,CGCCCH,CGEN,CGVA,CGCC,CGCO,CGAD,CGCA,CGPU,CGRN,CGRD,CGLO,CGLO1
03600 IFN QDEBUG,<INTERN CGDB>
03700
03800 EXTERN YCGFOX,YCGICR,YCGISG
03900 DSW SCGFOX,YCGFOX,36
04000 OPDEF ALFIX [PUSHJ XPDP,O2AF]
04100 OPDEF GENRLD [PUSHJ XPDP,CGRD]
04200 OPDEF IFLR [CAIN X6,QLREAL]
04300 OPDEF LR [CAIE X6,QLREAL]
04400 ; MACROS
04500 DEFINE FIRSTOP=<LF XP1,ZNSZNO(XCUR)>
04600 MACINIT
04700 CGINIT
04800 TWOSEG
04900 RELOC 400K