1File: COUT.H Page 1 1 #define HDSIZE (sizeof couthd) /**.o file header size*/ 2 struct hdr { 3 short ch_magic; /*c.out magic number 060016 = $600E*/ 4 long ch_tsize; /*text size*/ 5 long ch_dsize; /*data size*/ 6 long ch_bsize; /*bss size*/ 7 long ch_ssize; /*symbol table size*/ 8 long ch_stksize; /*stack size*/ 9 long ch_entry; /*entry point*/ 10 short ch_rlbflg; /*relocation bits suppressed flag*/ 11 } couthd; 12 13 #define MAGIC 0x601a /* bra .+26 instruction*/