1 #define SECSIZE (1 << 12)
2 #define MAXTMP (1 << 12)
5 #define BT_SZMASK 0x00ff
6 #define BT_SIGNED 0x0100
7 #define BT_FLOAT 0x0200
8 #define BT_SZ(bt) ((bt) & BT_SZMASK)
10 void o_func_beg(char *name
);
11 void o_func_end(void);
12 void o_ret(unsigned bt
);
14 void o_num(int n
, unsigned bt
);
15 void o_local(long addr
, unsigned bt
);
16 void o_assign(unsigned bt
);
17 void o_deref(unsigned bt
);
18 void o_arrayderef(unsigned bt
);
20 void o_symaddr(char *name
, unsigned bt
);
21 void o_call(int argc
, unsigned *bt
, unsigned ret_vs
);
28 long o_mklocal(int size
);
29 long o_arg(int i
, unsigned bt
);
30 void o_droptmp(int n
);
34 void o_jmp(long addr
);
37 void o_filljmp(long addr
);
40 void out_write(int fd
);
41 void out_func_beg(char *name
);
42 void out_func_end(char *buf
, int len
);
43 void out_rela(char *name
, int off
);