1987-11-20 10:41:03 +00:00
|
|
|
#include <em.h>
|
|
|
|
#include <system.h>
|
|
|
|
|
1988-11-18 17:52:39 +00:00
|
|
|
#define codefile _codefile
|
|
|
|
#define cur_seg _cur_seg
|
|
|
|
#define saved _saved
|
|
|
|
#define labeltje _labeltje
|
|
|
|
#define name _name
|
|
|
|
#define output_back _output_back
|
|
|
|
|
1987-11-20 10:41:03 +00:00
|
|
|
extern File *codefile;
|
|
|
|
|
|
|
|
extern char *extnd_name(), *extnd_dnam(), *extnd_dlb(), *extnd_ilb(),
|
1988-09-08 10:01:32 +00:00
|
|
|
*extnd_hol(), *extnd_ext(), *extnd_pro(), *extnd_start(),
|
|
|
|
*extnd_part(), *extnd_cont();
|
1987-11-20 10:41:03 +00:00
|
|
|
|
|
|
|
#define swtxt() switchseg( SEGTXT)
|
1989-01-20 15:19:33 +00:00
|
|
|
#define bss(n) fprint(codefile, BSS_FMT, (long)(n))
|
1987-11-20 10:41:03 +00:00
|
|
|
|
|
|
|
#define SEGTXT 0
|
|
|
|
#define SEGROM 1
|
|
|
|
#define SEGCON 2
|
|
|
|
#define SEGBSS 3
|
1988-09-08 10:01:32 +00:00
|
|
|
#define SEGHOL -1 /* Does not exist */
|
1987-11-20 10:41:03 +00:00
|
|
|
|
|
|
|
#define ABSOLUTE 1
|