Pristine Ack-5.5
[Ack-5.5.git] / mach / vax4 / ce / mach.h
1 #define ONE_BYTE        int
2 #define TWO_BYTES       int
3 #define FOUR_BYTES      long
4
5 #define EM_WSIZE        4
6 #define EM_PSIZE        4
7 #define EM_BSIZE        0
8
9 #define BSS_INIT        0
10
11 #define NAME_FMT        "_%s"
12 #define DNAM_FMT        "_%s"
13 #define DLB_FMT         "I_%ld"
14 #define ILB_FMT         "I%03d%ld"
15 #define HOL_FMT         "hol%d"
16
17 #define GENLAB          'I'     /* compiler generated labels start with I */
18
19 #define ALIGN_FMT       ""
20
21 #define BYTE_FMT                ".byte %ld\n"
22 #define WORD_FMT                ".word %ld\n"
23 #define LONG_FMT                ".long %ld\n"
24 #define BSS_FMT                 ".space %ld\n"
25
26 #define SEGTXT_FMT              ".text\n"
27 #define SEGDAT_FMT              ".data\n"
28 #define SEGBSS_FMT              ".data\n"
29
30 #define SYMBOL_DEF_FMT          "%s :"
31 #define GLOBAL_FMT              ".globl %s\n"
32 #define LOCAL_FMT               ""
33
34 #define RELOC1_FMT              ".byte %s + %ld\n"
35 #define RELOC2_FMT              ".word %s + %ld\n"
36 #define RELOC4_FMT              ".long %s + %ld\n"
37
38 #define fit_6bits(val)          ((unsigned long)(val) < 64)
39 #define fit_byte(val)           ((unsigned long)((val)+128) < 256)
40 #define fit_word(val)           ((unsigned long)((val)+32768L) < 65536L)
41  
42 #ifndef DEBUG
43 #define arg_error(s, i)
44 #endif