7 static void dummy(void) _naked
9 // arg1: passed in a,b,dph,dpl
10 // arg2: passed on stack
14 // extract the two inputs, placing them into:
15 // sign exponent mantiassa
16 // ---- -------- ---------
17 // a: sign_a exp_a r4/r3/r2
18 // b: sign_b exp_b r7/r6/r5
30 // now extract the 2nd parameter from the stack
60 // This old version was designed before the change to make all this
61 // code fully reentrant. What a mess the 2nd parameter turns out to
64 void __fsgetargs (float a, float b)
66 a; // passed in a,b,dph,dpl
70 // extract the two inputs, placing them into:
71 // sign exponent mantiassa
72 // ---- -------- ---------
73 // a: sign_a exp_a r4/r3/r2
74 // b: sign_b exp_b r7/r6/r5
86 #ifdef SDCC_MODEL_SMALL
87 mov r5, (___fsadd_PARM_2 + 0)
88 mov r6, (___fsadd_PARM_2 + 1)
89 mov b, (___fsadd_PARM_2 + 2)
90 mov a, (___fsadd_PARM_2 + 3)
104 #ifdef SDCC_MODEL_LARGE
105 void __fsgetarglarge2 (void)