/*
    Very Simple Compiler
	$Id: s-compile.h,v 1.1 96/11/16 01:15:22 kono Exp Locker: kono $
 */

#include < stdio.h>

extern char *ptr,*last_ptr,*before;
extern int  value,lvalue;
extern int  last_token;
extern int  label;
extern char *comments;

extern void emit_push();
extern void emit_compare() ;
extern void emit_store(int);
extern void emit_push();
extern void emit_calc(int);
extern void emit_calc(int);
extern void emit_value(int) ;
extern void emit_load(int);
extern void emit_comment();
extern void emit_intro();
extern void emit_ending();

#define O_SUB  1
#define O_ADD  2
#define O_MUL  3
#define O_DIV  4

#define O_MOD  5
#define O_AND  6
#define O_OR   7
#define O_XOR  8

#define O_SUB_R  9
#define O_DIV_R  10