summaryrefslogtreecommitdiff
path: root/device/lib/stm8/_schar2fs.asm
diff options
context:
space:
mode:
Diffstat (limited to 'device/lib/stm8/_schar2fs.asm')
-rw-r--r--device/lib/stm8/_schar2fs.asm73
1 files changed, 0 insertions, 73 deletions
diff --git a/device/lib/stm8/_schar2fs.asm b/device/lib/stm8/_schar2fs.asm
deleted file mode 100644
index b07b0e5..0000000
--- a/device/lib/stm8/_schar2fs.asm
+++ /dev/null
@@ -1,73 +0,0 @@
-;--------------------------------------------------------
-; File Created by SDCC : free open source ANSI-C Compiler
-; Version 3.9.3 #11345 (Linux)
-;--------------------------------------------------------
- .module _schar2fs
- .optsdcc -mstm8
-
-;--------------------------------------------------------
-; Public variables in this module
-;--------------------------------------------------------
- .globl ___slong2fs
- .globl ___schar2fs
-;--------------------------------------------------------
-; ram data
-;--------------------------------------------------------
- .area DATA
-;--------------------------------------------------------
-; ram data
-;--------------------------------------------------------
- .area INITIALIZED
-;--------------------------------------------------------
-; absolute external ram data
-;--------------------------------------------------------
- .area DABS (ABS)
-
-; default segment ordering for linker
- .area HOME
- .area GSINIT
- .area GSFINAL
- .area CONST
- .area INITIALIZER
- .area CODE
-
-;--------------------------------------------------------
-; global & static initialisations
-;--------------------------------------------------------
- .area HOME
- .area GSINIT
- .area GSFINAL
- .area GSINIT
-;--------------------------------------------------------
-; Home
-;--------------------------------------------------------
- .area HOME
- .area HOME
-;--------------------------------------------------------
-; code
-;--------------------------------------------------------
- .area CODE
-; ../_schar2fs.c: 55: float __schar2fs (signed char sc) {
-; -----------------------------------------
-; function __schar2fs
-; -----------------------------------------
-___schar2fs:
-; ../_schar2fs.c: 56: return __slong2fs(sc);
- ld a, (0x03, sp)
- ld xl, a
- rlc a
- clr a
- sbc a, #0x00
- ld xh, a
- ld yl, a
- ld yh, a
- pushw x
- pushw y
- call ___slong2fs
- addw sp, #4
-; ../_schar2fs.c: 57: }
- ret
- .area CODE
- .area CONST
- .area INITIALIZER
- .area CABS (ABS)