1 /*#define DEBUG 1 /* define when debugging */
7 #define WINDOWSIZE (16*4)
12 #define FOUR_BYTES long
18 #define EM_BSIZE REGSAV
23 #define NAME_FMT "$%s"
24 #define DNAM_FMT "$%s"
25 #define DLB_FMT ".L_%ld"
26 #define ILB_FMT ".L%x_%lx"
29 #define NAME_FMT "_%s"
30 #define DNAM_FMT "_%s"
31 #define DLB_FMT "L_%ld"
32 #define ILB_FMT "L%x_%lx"
35 #define HOL_FMT "hol%d"
36 #define STR_FMT ".ascii\t"
39 #define ALIGN_FMT ".align 4\n"
41 #define BYTE_FMT ".byte %ld\n"
42 #define WORD_FMT ".half %ld\n"
43 #define LONG_FMT ".word %ld\n"
44 #define BSS_FMT ".skip %ld\n"
47 #define SEGTXT_FMT ".section \".text\"\n"
48 #define SEGDAT_FMT ".section \".data\"\n"
49 #define SEGBSS_FMT ".section \".bss\"\n"
51 #define SEGTXT_FMT ".seg \"text\"\n"
52 #define SEGDAT_FMT ".seg \"data\"\n"
53 #define SEGBSS_FMT ".seg \"bss\"\n"
56 #define SYMBOL_DEF_FMT "%s:\n"
57 #define GLOBAL_FMT ".global %s\n"
59 #define COMM_FMT ".reserve %s, %ld, \".bss\"\n"
61 #define COMM_FMT ".reserve %s, %ld, \"bss\"\n"
65 #define RELOC1_FMT "ONLY LONGS CAN BE RELOCATED!"
66 #define RELOC2_FMT "ONLY LONGS CAN BE RELOCATED!"
68 #define RELOC4_FMT ".section \".data\"\n.align 4\n.word %s+%d\n"
70 #define RELOC4_FMT ".seg \"data\"\n.align 4\n.word %s+%d\n"
75 #define MAX_NR_FLT_REGS 16
76 #define FLTSAV (MAX_NR_FLT_REGS * 4)
77 #define FLTSAV_OFFSET (WINDOWSIZE + FLOATTRANS)
78 #define REGSAV (WINDOWSIZE + FLOATTRANS + ALIGN_GAP + FLTSAV)
80 /*#define MATH_DIVIDE 1 /* define when using mathematical def of / */
84 #define arg_error(s,i)
85 #define RESOLV_debug 1