summaryrefslogtreecommitdiff
path: root/device/lib/stm8/_uint2fs.lst
diff options
context:
space:
mode:
authorXavier ASUS <xavi92psx@gmail.com>2019-10-18 00:31:54 +0200
committerXavier ASUS <xavi92psx@gmail.com>2019-10-18 00:31:54 +0200
commit268a53de823a6750d6256ee1fb1e7707b4b45740 (patch)
tree42c1799a9a82b2f7d9790ee9fe181d72a7274751 /device/lib/stm8/_uint2fs.lst
downloadsdcc-gas-268a53de823a6750d6256ee1fb1e7707b4b45740.tar.gz
sdcc-3.9.0 fork implementing GNU assembler syntax
This fork aims to provide better support for stm8-binutils
Diffstat (limited to 'device/lib/stm8/_uint2fs.lst')
-rw-r--r--device/lib/stm8/_uint2fs.lst67
1 files changed, 67 insertions, 0 deletions
diff --git a/device/lib/stm8/_uint2fs.lst b/device/lib/stm8/_uint2fs.lst
new file mode 100644
index 0000000..a87c4c2
--- /dev/null
+++ b/device/lib/stm8/_uint2fs.lst
@@ -0,0 +1,67 @@
+ 1 ;--------------------------------------------------------
+ 2 ; File Created by SDCC : free open source ANSI-C Compiler
+ 3 ; Version 3.9.3 #11345 (Linux)
+ 4 ;--------------------------------------------------------
+ 5 .module _uint2fs
+ 6 .optsdcc -mstm8
+ 7
+ 8 ;--------------------------------------------------------
+ 9 ; Public variables in this module
+ 10 ;--------------------------------------------------------
+ 11 .globl ___ulong2fs
+ 12 .globl ___uint2fs
+ 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 ; ../_uint2fs.c: 54: float __uint2fs (unsigned int ui) {
+ 51 ; -----------------------------------------
+ 52 ; function __uint2fs
+ 53 ; -----------------------------------------
+ 000000 54 ___uint2fs:
+ 55 ; ../_uint2fs.c: 55: return __ulong2fs(ui);
+ 000000 16 03 [ 2] 56 ldw y, (0x03, sp)
+ 000002 5F [ 1] 57 clrw x
+ 000003 90 89 [ 2] 58 pushw y
+ 000005 89 [ 2] 59 pushw x
+ 000006 CDr00r00 [ 4] 60 call ___ulong2fs
+ 000009 5B 04 [ 2] 61 addw sp, #4
+ 62 ; ../_uint2fs.c: 56: }
+ 00000B 81 [ 4] 63 ret
+ 64 .area CODE
+ 65 .area CONST
+ 66 .area INITIALIZER
+ 67 .area CABS (ABS)