home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / CROSSASM / 68ASMSIM.ZIP / simsrc / extern.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-04-09  |  1.3 KB  |  47 lines

  1.  
  2. /***************************** 68000 SIMULATOR ****************************
  3.  
  4. File Name: EXTERN.H
  5. Version: 1.0
  6.  
  7. This file contains all extern global variable definitions for the 
  8. simulator program.  It is included in all modules other than the module
  9. "sim.c" which contains the main() function.
  10.  
  11.  
  12.         BE CAREFUL TO KEEP THESE DECLARATIONS IDENTICAL TO THE GLOBAL
  13.         VARIABLE DECLARATIONS IN "VAR.H"
  14.  
  15.  
  16. ***************************************************************************/
  17.  
  18.  
  19. #include "def.h"            /* constant declarations */
  20. #include "proto.h"        /* function prototypes */
  21.  
  22.  
  23. extern long            D[D_REGS], OLD_D[D_REGS], A[A_REGS], OLD_A[A_REGS];
  24. extern long            PC, OLD_PC;
  25. extern short        SR, OLD_SR;
  26.  
  27. extern char            memory[MEMSIZE];
  28. extern char            bpoints;
  29. extern char            lbuf[82], *wordptr[20], buffer[40];
  30. extern int            cycles, old_cycles;
  31. extern int            brkpt[100];
  32. extern char            p1dif;
  33. extern char            *gettext();
  34. extern int            wcount;
  35. extern unsigned    int port1[4];
  36. extern char            p1dif;
  37. extern int            errflg;
  38. extern int            trace, sstep, old_trace, old_sstep, exceptions;
  39. extern int            inst;
  40. extern long            *EA1, *EA2;
  41. extern long            EV1, EV2;
  42.  
  43. extern long            source, dest, result;
  44.  
  45. extern long            global_temp;        /* to hold an immediate data operand */
  46.  
  47.