* src/pic16/gen.c (pic16_freeAsmop): avoid NULL pointer dereference,
[fw/sdcc] / device / lib / _fsget1arg.c
index abf17260ef0cca4a97555ad83d87be9fbc33ac19..eec67af47171396694741b8164fa232984382f0e 100644 (file)
 #include <float.h>
 
 
-static void dummy(void) _naked
+#ifdef FLOAT_ASM_MCS51
+
+static void dummy(void) __naked
 {
        // input passed in a,b,dph,dpl
-       _asm
+       __asm
        .globl  fsgetarg
 fsgetarg:
        // extract the input, placing it into:
@@ -43,9 +45,7 @@ fsgetarg:
        mov     exp_a, a
        mov     r4, b
        ret
-       _endasm;
+       __endasm;
 }
 
-
-
-
+#endif