1 /* architecture-dependent header for x86 */
2 #define LONGSZ 4 /* word size */
3 #define I_ARCH "__i386__"
5 #define N_REGS 8 /* number of registers */
6 #define N_TMPS 6 /* number of tmp registers */
7 #define N_ARGS 0 /* number of arg registers */
8 #define R_TMPS 0x00cf /* mask of tmp registers */
9 #define R_ARGS 0x0000 /* mask of arg registers */
10 #define R_PERM 0x00c8 /* mask of callee-saved registers */
12 #define REG_FP 5 /* frame pointer register */
13 #define REG_SP 4 /* stack pointer register */
15 #define I_ARG0 (-8) /* offset of the first argument from FP */
16 #define I_LOC0 0 /* offset of the first local from FP */