/********************************************************************
   Program :  Recursive Descent Compiler for PL/0
   Modul   :  PL0CODE - Intermediate code generator
   File    :  pl0code.h
   Compiler:  Borland C 3.1 -  4.5, GNU C 2.7.1
   Author  :  H. Weber
   Revision:  Aug. 1998
********************************************************************/

#define  NUL    0             /* opcodes for intermediate code */
#define  ADD    1
#define  SUB    2
#define  MPY    3
#define  DVD    4
#define  NEG    5
#define  ODD    6
#define  EQL    7
#define  NEQ    8
#define  LSS    9
#define  GTR   10
#define  LEQ   11
#define  GEQ   12
#define	 LIT   13
#define  RET   14
#define  CAL   15
#define  LOD   16
#define  STO   17
#define  INT   18
#define  JPU   19
#define  JPC   20
#define  INP   21
#define  PRN   22
#define  ASC   23
#define  PRS   24
#define  PRL   25

void emit();
void fixup();
int  cdindex();
void writecode();
