/* EPC Imp to C Translation Release 4 Version Apr 95 */ #include "imptoc.h" #define YES 1 #define NO 0 /**/ /* THESE CODE ARE ARBITARY BUT THE TOP DECIMAL DIGIT GIVES THE NO OF BYTES */ /* IN THE UNIT OF ADDRESSABILITY. BYTE ADDRESSED HOSTS BEING 1N ( also 0N) AND*/ /* 16 BIT WORD ADDRESSED HOSTS BEING 2N ETC */ #define PENTIUM 4 /* PENTIUM chip Unix stack and completely swopped */ #define MIPS 5 /* Imp on MIPS (all variants) */ #define RS6 6 /* imp on IBM rs6000 */ #define M88K 7 /* Imp on all forms of 88k */ /* also serves for Sparc sinc there is a common b-e */ #define VAX 8 /* Imp on Vax using F & G formats */ #define UNISYS 9 /* Imp on UnisSys. Unix stack unswopped Vax reals */ #define EMAS 10 /* emas on 2900 (unsigned shorts) */ #define IBM 11 /* emas on 24 bit ibm hardware */ #define IBMXA 12 /* emas of XA 31 bit hardware */ #define WWC 13 /* WWc (Natsemi chip) completely swopped */ #define AMDAHL 14 /* Emas on Amdahls guess at Xa Minor differences fron IBM) */ #define PERQ3 15 /* ICL packaged 68k chip Unix stack but not swopped */ #define GOULD 16 /* Gould unswopped forward stack. Needs 4&8 byte alined */ #define VNS 17 /* Unix on 2900 unsigned shorts params as */ /* 2900. Long int available but not in Ecode */ #define EAMD 18 /* Amdahl via the Emachine */ #define DRS 19 /* Intel chip Unix stack and mostly swopped */ #define PERQ 20 /* Pos perq now obselete. Fully swopped forward stack */ #define PNX 21 /* ICL's perq2 Unix stack byte swopped (unsigned shorts) */ #define ACCENT 22 /* Perq 1 under accent. obsolete now */ /* ACCENT DIFFERS FROM PERQ ONLY IN */ /* ASSEMBLES SEQUENCES&SYNTAX */ /* AND GENERATOR */ #define ORN 23 #define UNSIGNEDSHORTS (((1<