#define MSIZE 10 #define EMPTY 0 // Think of the above as if they were in memsim-decl.c and said: // const int MSIZE = 10; // const int EMPTY = 0; // For technical reasons, that doesn't work in C when we need to // use them in initializers for memory[] and free_list in memsim-decl.c, // so we must use the preprocessor commands instead. // MSIZE is set artificially low to facilitate "out of memory" testing. // This may be changed. extern int next_mem; extern int memory[]; extern int free_list;