summaryrefslogtreecommitdiff
path: root/device/lib/stm8/c32rtomb.asm
diff options
context:
space:
mode:
Diffstat (limited to 'device/lib/stm8/c32rtomb.asm')
-rw-r--r--device/lib/stm8/c32rtomb.asm69
1 files changed, 0 insertions, 69 deletions
diff --git a/device/lib/stm8/c32rtomb.asm b/device/lib/stm8/c32rtomb.asm
deleted file mode 100644
index 075fd67..0000000
--- a/device/lib/stm8/c32rtomb.asm
+++ /dev/null
@@ -1,69 +0,0 @@
-;--------------------------------------------------------
-; File Created by SDCC : free open source ANSI-C Compiler
-; Version 3.9.3 #11345 (Linux)
-;--------------------------------------------------------
- .module c32rtomb
- .optsdcc -mstm8
-
-;--------------------------------------------------------
-; Public variables in this module
-;--------------------------------------------------------
- .globl _wctomb
- .globl _c32rtomb
-;--------------------------------------------------------
-; 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
-; ../c32rtomb.c: 33: size_t c32rtomb(char *restrict s, char32_t c32, mbstate_t *restrict ps)
-; -----------------------------------------
-; function c32rtomb
-; -----------------------------------------
-_c32rtomb:
-; ../c32rtomb.c: 36: return(wctomb(s, c32));
- ldw x, (0x07, sp)
- pushw x
- ldw x, (0x07, sp)
- pushw x
- ldw x, (0x07, sp)
- pushw x
- call _wctomb
- addw sp, #6
-; ../c32rtomb.c: 37: }
- ret
- .area CODE
- .area CONST
- .area INITIALIZER
- .area CABS (ABS)