projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/pic16/gen.c (pic16_freeAsmop): avoid NULL pointer dereference,
[fw/sdcc]
/
device
/
lib
/
_fsget1arg.c
diff --git
a/device/lib/_fsget1arg.c
b/device/lib/_fsget1arg.c
index abf17260ef0cca4a97555ad83d87be9fbc33ac19..eec67af47171396694741b8164fa232984382f0e 100644
(file)
--- a/
device/lib/_fsget1arg.c
+++ b/
device/lib/_fsget1arg.c
@@
-21,10
+21,12
@@
#include <float.h>
#include <float.h>
-static void dummy(void) _naked
+#ifdef FLOAT_ASM_MCS51
+
+static void dummy(void) __naked
{
// input passed in a,b,dph,dpl
{
// input passed in a,b,dph,dpl
- _asm
+ _
_
asm
.globl fsgetarg
fsgetarg:
// extract the input, placing it into:
.globl fsgetarg
fsgetarg:
// extract the input, placing it into:
@@
-43,9
+45,7
@@
fsgetarg:
mov exp_a, a
mov r4, b
ret
mov exp_a, a
mov r4, b
ret
- _endasm;
+ _
_
endasm;
}
}
-
-
-
+#endif