home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
historic
/
v941.tgz
/
icon.v941src.tar
/
icon.v941src
/
src
/
h
/
header.h
< prev
next >
Wrap
C/C++ Source or Header
|
2001-12-12
|
1KB
|
29 lines
/*
* Interpreter code file header - this is written at the start of
* an icode file after the start-up program.
*/
struct header {
word hsize; /* size of interpreter code */
word trace; /* initial value of &trace */
word Records;
word Ftab; /* location of record/field table */
word Fnames; /* location of names of fields */
word Globals; /* location of global variables */
word Gnames; /* location of names of globals */
word Statics; /* location of static variables */
word Strcons; /* location of identifier table */
word Filenms; /* location of ipc/file name table */
#ifdef FieldTableCompression
short FtabWidth; /* width of field table entries, 1 | 2 | 4 */
short FoffWidth; /* width of field offset entries, 1 | 2 | 4 */
word Nfields; /* number of field names */
word Fo; /* The start of the Fo array */
word Bm; /* The start of the Bm array */
#endif /* FieldTableCompression */
word linenums; /* location of ipc/line number table */
word config[16]; /* icode version */
};