diff options
Diffstat (limited to 'device/lib/stm8/iscntrl.asm')
| -rw-r--r-- | device/lib/stm8/iscntrl.asm | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/device/lib/stm8/iscntrl.asm b/device/lib/stm8/iscntrl.asm deleted file mode 100644 index d9e9fed..0000000 --- a/device/lib/stm8/iscntrl.asm +++ /dev/null @@ -1,72 +0,0 @@ -;-------------------------------------------------------- -; File Created by SDCC : free open source ANSI-C Compiler -; Version 3.9.3 #11345 (Linux) -;-------------------------------------------------------- - .module iscntrl - .optsdcc -mstm8 - -;-------------------------------------------------------- -; Public variables in this module -;-------------------------------------------------------- - .globl _iscntrl -;-------------------------------------------------------- -; 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 -; ../iscntrl.c: 33: int iscntrl (int c) -; ----------------------------------------- -; function iscntrl -; ----------------------------------------- -_iscntrl: -; ../iscntrl.c: 35: return (c < ' ' || c == 0x7f); - ldw x, (0x03, sp) - cpw x, #0x0020 - jrslt 00104$ - cpw x, #0x007f - jreq 00104$ - clr a - .byte 0xc5 -00104$: - ld a, #0x01 -00105$: - clrw x - ld xl, a -; ../iscntrl.c: 36: } - ret - .area CODE - .area CONST - .area INITIALIZER - .area CABS (ABS) |
