diff options
Diffstat (limited to 'device/lib/stm8/isdigit.asm')
| -rw-r--r-- | device/lib/stm8/isdigit.asm | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/device/lib/stm8/isdigit.asm b/device/lib/stm8/isdigit.asm deleted file mode 100644 index ee3e7ec..0000000 --- a/device/lib/stm8/isdigit.asm +++ /dev/null @@ -1,73 +0,0 @@ -;-------------------------------------------------------- -; File Created by SDCC : free open source ANSI-C Compiler -; Version 3.9.3 #11345 (Linux) -;-------------------------------------------------------- - .module isdigit - .optsdcc -mstm8 - -;-------------------------------------------------------- -; Public variables in this module -;-------------------------------------------------------- - .globl _isdigit -;-------------------------------------------------------- -; 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: 60: inline int isdigit (int c) -; ----------------------------------------- -; function isdigit -; ----------------------------------------- -_isdigit: -; ./../../include/ctype.h: 62: return ((unsigned char)c >= '0' && (unsigned char)c <= '9'); - ld a, (0x04, sp) - cp a, #0x30 - jrc 00103$ - cp a, #0x39 - jrule 00104$ -00103$: - clr a - .byte 0xc5 -00104$: - ld a, #0x01 -00105$: - clrw x - ld xl, a -; ./../../include/ctype.h: 63: } - ret - .area CODE - .area CONST - .area INITIALIZER - .area CABS (ABS) |
