summaryrefslogtreecommitdiff
path: root/device/lib/stm8/_mulint.lst
diff options
context:
space:
mode:
Diffstat (limited to 'device/lib/stm8/_mulint.lst')
-rw-r--r--device/lib/stm8/_mulint.lst55
1 files changed, 0 insertions, 55 deletions
diff --git a/device/lib/stm8/_mulint.lst b/device/lib/stm8/_mulint.lst
deleted file mode 100644
index 9552df6..0000000
--- a/device/lib/stm8/_mulint.lst
+++ /dev/null
@@ -1,55 +0,0 @@
- 1 ;--------------------------------------------------------------------------
- 2 ; _mulint.s
- 3 ;
- 4 ; Copyright (C) 2014-2015, Krzysztof Nikiel, Ben Shi, Philipp Klaus Krause
- 5 ;
- 6 ; This library is free software; you can redistribute it and/or modify it
- 7 ; under the terms of the GNU General Public License as published by the
- 8 ; Free Software Foundation; either version 2, or (at your option) any
- 9 ; later version.
- 10 ;
- 11 ; This library is distributed in the hope that it will be useful,
- 12 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
- 13 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- 14 ; GNU General Public License for more details.
- 15 ;
- 16 ; You should have received a copy of the GNU General Public License
- 17 ; along with this library; see the file COPYING. If not, write to the
- 18 ; Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- 19 ; MA 02110-1301, USA.
- 20 ;
- 21 ; As a special exception, if you link this library with other files,
- 22 ; some of which are compiled with SDCC, to produce an executable,
- 23 ; this library does not by itself cause the resulting executable to
- 24 ; be covered by the GNU General Public License. This exception does
- 25 ; not however invalidate any other reasons why the executable file
- 26 ; might be covered by the GNU General Public License.
- 27 ;--------------------------------------------------------------------------
- 28
- 29 .globl __mulint
- 30
- 31 .area CODE
- 32
- 000000 33 __mulint:
- 34
- 000000 1E 03 [ 2] 35 ldw x, (#3, sp)
- 000002 7B 06 [ 1] 36 ld a, (#6, sp)
- 000004 42 [ 4] 37 mul x, a
- 000005 89 [ 2] 38 pushw x
- 39
- 000006 1E 04 [ 2] 40 ldw x, (#4, sp)
- 000008 42 [ 4] 41 mul x, a
- 000009 9F [ 1] 42 ld a, xl
- 00000A 1B 01 [ 1] 43 add a, (#1, sp)
- 00000C 6B 01 [ 1] 44 ld (#1, sp), a
- 45
- 00000E 1E 05 [ 2] 46 ldw x, (#5, sp)
- 000010 7B 07 [ 1] 47 ld a, (#7, sp)
- 000012 42 [ 4] 48 mul x, a
- 000013 9F [ 1] 49 ld a, xl
- 000014 1B 01 [ 1] 50 add a, (#1, sp)
- 000016 85 [ 2] 51 popw x
- 000017 95 [ 1] 52 ld xh, a
- 53
- 000018 81 [ 4] 54 ret
- 55