home *** CD-ROM | disk | FTP | other *** search
/ cs.rhul.ac.uk / www.cs.rhul.ac.uk.zip / www.cs.rhul.ac.uk / pub / rdp / rdp_cs3470.tar / mvm_aux.h < prev    next >
C/C++ Source or Header  |  1998-05-07  |  996b  |  34 lines

  1. /****************************************************************************
  2. *
  3. * RDP release 1.50 by Adrian Johnstone (A.Johnstone@rhbnc.ac.uk) 20 December 1997
  4. *
  5. * mvm_aux.h - MVM assembler semantic routines
  6. *
  7. * This file may be freely distributed. Please mail improvements to the author.
  8. *
  9. ****************************************************************************/
  10.  
  11. extern int emit_code; 
  12. extern int execute_sim; 
  13.  
  14. extern unsigned long * location; 
  15. extern unsigned long code_location; 
  16. extern unsigned long data_location; 
  17. extern unsigned long transfer; 
  18.  
  19. extern void * last_label; 
  20. extern void * dummy_label; 
  21.  
  22. void * current_label(void); 
  23.  
  24. void emit_transfer(void); 
  25. void emit_eoln(void); 
  26. void emit_fill(void); 
  27. void emit_loc(void); 
  28. void emit_op(int op, unsigned long oper1, unsigned long oper2, unsigned long oper3, int mode1, int mode2, int opers); 
  29. void emit1(unsigned long val); 
  30. void emit2(unsigned long val); 
  31.  
  32. void init(char * outputfilename); 
  33. int quit(char * outputfilename); 
  34.