(****************************************
*                                       *
*     MODULA-2 Multi-Pass Compiler      *
*     ****************************      *
*                                       *
*       VAX/VMS Implementation          *
*                                       *
*                                       *
*     MVCMnemonicsAndTraps:             *
*                                       *
*     Mnemonics and trap addresses      *
*     used by Pass 4                    *
*                                       *
*     Version 3.1 of  1-FEB-1983        *
*                                       *
*                                       *
*                                       *
*     Based on PDP11 Implementation     *
*     Version M22 of 25.02.81           *
*                                       *
*     Institut fuer Informatik          *
*     ETH-Zentrum                       *
*     CH-8092 Zuerich                   *
*                                       *
****************************************)

(****************************************
* Updates: see implementation module    *
****************************************)

DEFINITION MODULE MVCMnemonicsAndTraps; (* J. Koch, EK *)

  FROM SYSTEM IMPORT WORD;

  EXPORT QUALIFIED Mnemos, Traps;

  TYPE

    Mnemos = 
    (HALt,  NOP,   REI,   BPT,   RET,   RSB,   LDPCTX,SVPCTX,
     CVTPS, CVTSP, INDEX, CRC,   PROBER,PROBEW,INSQUE,REMQUE,
     BSBB,  BRB,   BNEQ,  BEQL,  BGTR,  BLEQ,  JSB,   JMP,
     BGEQ,  BLSS,  BGTRU, BLEQU, BVC,   BVS,   BGEQU, BLSSU,
     ADDP4, ADDP6, SUBP4, SUBP6, CVTPT, MULP,  CVTTP, DIVP,
     MOVC3, CMPC3, SCANC, SPANC, MOVC5, CMPC5, MOVTC, MOCTUC,
     BSBW,  BRW,   CVTWL, CVTWB, MOVP,  CMPP3, CVTPL, CMPP4,
     EDITPC,MATCHC,LOCC,  SKPC,  MOVZWL,ACBW,  MOVAW, PUSHAW,
     ADDF2, ADDF3, SUBF2, SUBF3, MULF2, MULF3, DIVF2, DIVF3,
     CVTFB, CVTFW, CVTFL, CVTRFL,CVTCL, CVTWF, CVTLF, ACBF,
     MOVF,  CMPF,  MNEGF, TSTF,  EMODF, POLYF, CVTFD, RESV57,
     ADAWI, RESV59,RESV5A,RESV5B,INSQHI,INSQTI,REMQHI,REMQTI,
     ADDD2, ADDD3, SUBD2, SUBD3, MULD2, MULD3, DIVD2, DIVD3,
     CVTDB, CVTDW, CVTDL, CVTRDL,CVTBD, CVTWD, CVTLD, ACBD,
     MOVD,  CMPD,  MNEGD, TSTD,  EMODD, POLYD, CVTDF, RESV77,
     ASHL,  ASHQ,  EMUL,  EDIV,  CLRQ,  MOVQ,  MOVAQ, PUSHAQ,
     ADDB2, ADDB3, SUBB2, SUBB3, MULB2, MULB3, DIVB2, DIVB3,
     BISB2, BISB3, BICB2, BICB3, XORB2, XORB3, MNEGB, CASEB,
     MOVB,  CMPB,  MCOMB, BITB,  CLRB,  TSTB,  INCB,  DECB,
     CVTBL, CVTBW, MOVZBL,MOVZBW,ROTL,  ACBB,  MOVAB, PUSHAB,
     ADDW2, ADDW3, SUBW2, SUBW3, MULW2, MULW3, DIVW2, DIVW3,
     BISW2, BISW3, BICW2, BICW3, XORW2, XORW3, MNEGW, CASEW,
     MOVW,  CMPW,  MCOMW, BITW,  CLRW,  TSTW,  INCW,  DECW,
     BISPSW,BICPSW,POPR,  PUSHR, CHMK,  CHME,  CHMS,  CHMU,
     ADDL2, ADDL3, SUBL2, SUBL3, MULL2, MULL3, DIVL2, DIVL3,
     BISL2, BISL3, BICL2, BICL3, XORL2, XORL3, MNEGL, CASEL,
     MOVL,  CMPL,  MCOML, BITL,  CLRL,  TSTL,  INcL,  DECL,
     ADWC,  SBWC,  MTPR,  MFPR,  MOVPSL,PUSHL, MOVAL, PUSHAL,
     BBS,   BBC,   BBSS,  BBCS,  BBSC,  BBCC,  BBSSI, BBCCI,
     BLBS,  BLBC,  FFS,   FFC,   CMPV,  CMPZV, EXTV,  EXTZV,
     INSV,  ACBL,  AOBLSS,AOBLEQ,SOBGEQ,SOBGTR,CVTLB, CVTLW,
     ASHP,  CVTLP, CALLG, CALLS, XFC,   RESVFD,RESVFE,RESVFF);

    Traps = 
    (IllegalPointerError, IndexError, FunctionReturnError,
     HaltCode, NewProcessCode, TransferCode);

END MVCMnemonicsAndTraps.
