summaryrefslogtreecommitdiff
path: root/device/lib/stm8/isblank.asm
diff options
context:
space:
mode:
Diffstat (limited to 'device/lib/stm8/isblank.asm')
-rw-r--r--device/lib/stm8/isblank.asm72
1 files changed, 0 insertions, 72 deletions
diff --git a/device/lib/stm8/isblank.asm b/device/lib/stm8/isblank.asm
deleted file mode 100644
index bb22a30..0000000
--- a/device/lib/stm8/isblank.asm
+++ /dev/null
@@ -1,72 +0,0 @@
-;--------------------------------------------------------
-; File Created by SDCC : free open source ANSI-C Compiler
-; Version 3.9.3 #11345 (Linux)
-;--------------------------------------------------------
- .module isblank
- .optsdcc -mstm8
-
-;--------------------------------------------------------
-; Public variables in this module
-;--------------------------------------------------------
- .globl _isblank
-;--------------------------------------------------------
-; 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
-; ./../../include/ctype.h: 51: inline int isblank (int c)
-; -----------------------------------------
-; function isblank
-; -----------------------------------------
-_isblank:
-; ./../../include/ctype.h: 53: return ((unsigned char)c == ' ' || (unsigned char)c == '\t');
- ld a, (0x04, sp)
- cp a, #0x20
- jreq 00104$
- cp a, #0x09
- jreq 00104$
- clr a
- .byte 0xc5
-00104$:
- ld a, #0x01
-00105$:
- clrw x
- ld xl, a
-; ./../../include/ctype.h: 54: }
- ret
- .area CODE
- .area CONST
- .area INITIALIZER
- .area CABS (ABS)