1 /* Interprocedure convensions. In separate file: for math library 2 developers. */ 3 #ifndef _FP32DEF_H 4 #define _FP32DEF_H 5 6 #include "sectionname.h" 7 8 #define rB0 r18 9 #define rB1 r19 10 #define rB2 r20 11 #define rB3 r21 12 13 #define rA0 r22 14 #define rA1 r23 15 #define rA2 r24 16 #define rA3 r25 17 18 #define rBE r26 19 #define rAE r27 20 21 /* Put functions at this section. */ 22 #ifdef FUNCTION 23 # error "The FUNCTION macro must be defined after FUNC_SEGNAME" 24 #endif 25 #define FUNC_SEGNAME MLIB_SECTION 26 27 /* Put constant tables at low addresses in program memory, so they are 28 reachable for "lpm" without using RAMPZ on >64K devices. */ 29 #define PGM_SECTION .section .progmem.gcc_fplib, "a", @progbits 30 31 #endif /* !_FP32DEF_H */ 32