mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-23 16:34:07 +00:00
14 lines
559 B
C
14 lines
559 B
C
#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*/
|