#define HDSIZE (sizeof couthd) /**.o file header size*/ struct hdr { short ch_magic; /*c.out magic number 060016 = $600E*/ long ch_tsize; /*text size*/ long ch_dsize; /*data size*/ long ch_bsize; /*bss size*/ long ch_ssize; /*symbol table size*/ long ch_stksize; /*stack size*/ long ch_entry; /*entry point*/ short ch_rlbflg; /*relocation bits suppressed flag*/ } couthd={0}; #define MAGIC 0x601a /* bra .+26 instruction*/