summaryrefslogtreecommitdiff
path: root/device/lib/stm8/_fs2uchar.lst
diff options
context:
space:
mode:
Diffstat (limited to 'device/lib/stm8/_fs2uchar.lst')
-rw-r--r--device/lib/stm8/_fs2uchar.lst79
1 files changed, 0 insertions, 79 deletions
diff --git a/device/lib/stm8/_fs2uchar.lst b/device/lib/stm8/_fs2uchar.lst
deleted file mode 100644
index 310f3ab..0000000
--- a/device/lib/stm8/_fs2uchar.lst
+++ /dev/null
@@ -1,79 +0,0 @@
- 1 ;--------------------------------------------------------
- 2 ; File Created by SDCC : free open source ANSI-C Compiler
- 3 ; Version 3.9.3 #11345 (Linux)
- 4 ;--------------------------------------------------------
- 5 .module _fs2uchar
- 6 .optsdcc -mstm8
- 7
- 8 ;--------------------------------------------------------
- 9 ; Public variables in this module
- 10 ;--------------------------------------------------------
- 11 .globl ___fs2ulong
- 12 .globl ___fs2uchar
- 13 ;--------------------------------------------------------
- 14 ; ram data
- 15 ;--------------------------------------------------------
- 16 .area DATA
- 17 ;--------------------------------------------------------
- 18 ; ram data
- 19 ;--------------------------------------------------------
- 20 .area INITIALIZED
- 21 ;--------------------------------------------------------
- 22 ; absolute external ram data
- 23 ;--------------------------------------------------------
- 24 .area DABS (ABS)
- 25
- 26 ; default segment ordering for linker
- 27 .area HOME
- 28 .area GSINIT
- 29 .area GSFINAL
- 30 .area CONST
- 31 .area INITIALIZER
- 32 .area CODE
- 33
- 34 ;--------------------------------------------------------
- 35 ; global & static initialisations
- 36 ;--------------------------------------------------------
- 37 .area HOME
- 38 .area GSINIT
- 39 .area GSFINAL
- 40 .area GSINIT
- 41 ;--------------------------------------------------------
- 42 ; Home
- 43 ;--------------------------------------------------------
- 44 .area HOME
- 45 .area HOME
- 46 ;--------------------------------------------------------
- 47 ; code
- 48 ;--------------------------------------------------------
- 49 .area CODE
- 50 ; ../_fs2uchar.c: 51: unsigned char __fs2uchar (float f)
- 51 ; -----------------------------------------
- 52 ; function __fs2uchar
- 53 ; -----------------------------------------
- 000000 54 ___fs2uchar:
- 55 ; ../_fs2uchar.c: 53: unsigned long ul=__fs2ulong(f);
- 000000 1E 05 [ 2] 56 ldw x, (0x05, sp)
- 000002 89 [ 2] 57 pushw x
- 000003 1E 05 [ 2] 58 ldw x, (0x05, sp)
- 000005 89 [ 2] 59 pushw x
- 000006 CDr00r00 [ 4] 60 call ___fs2ulong
- 000009 5B 04 [ 2] 61 addw sp, #4
- 62 ; ../_fs2uchar.c: 54: if (ul>=UCHAR_MAX) return UCHAR_MAX;
- 00000B A3 00 FF [ 2] 63 cpw x, #0x00ff
- 00000E 90 9F [ 1] 64 ld a, yl
- 000010 A2 00 [ 1] 65 sbc a, #0x00
- 000012 90 9E [ 1] 66 ld a, yh
- 000014 A2 00 [ 1] 67 sbc a, #0x00
- 000016 25 03 [ 1] 68 jrc 00102$
- 000018 A6 FF [ 1] 69 ld a, #0xff
- 00001A 81 [ 4] 70 ret
- 00001B 71 00102$:
- 72 ; ../_fs2uchar.c: 55: return ul;
- 00001B 9F [ 1] 73 ld a, xl
- 74 ; ../_fs2uchar.c: 56: }
- 00001C 81 [ 4] 75 ret
- 76 .area CODE
- 77 .area CONST
- 78 .area INITIALIZER
- 79 .area CABS (ABS)