diff options
| author | Xavier ASUS <xavi92psx@gmail.com> | 2019-10-23 03:38:57 +0200 |
|---|---|---|
| committer | Xavier ASUS <xavi92psx@gmail.com> | 2019-10-23 03:38:57 +0200 |
| commit | 4df948b3c184864525e7fa7e26ab380a70d644cd (patch) | |
| tree | 1dcb5d0961ebe374b970bed721d39dae5e6eddd6 /device/lib/stm8-large/vprintf.asm | |
| parent | 2cece67cb5af0339e4ab1f18b0bce2f0b4e6ebdd (diff) | |
| download | sdcc-gas-4df948b3c184864525e7fa7e26ab380a70d644cd.tar.gz | |
Removed intermediate files
Diffstat (limited to 'device/lib/stm8-large/vprintf.asm')
| -rw-r--r-- | device/lib/stm8-large/vprintf.asm | 112 |
1 files changed, 0 insertions, 112 deletions
diff --git a/device/lib/stm8-large/vprintf.asm b/device/lib/stm8-large/vprintf.asm deleted file mode 100644 index 988fd6e..0000000 --- a/device/lib/stm8-large/vprintf.asm +++ /dev/null @@ -1,112 +0,0 @@ -;-------------------------------------------------------- -; File Created by SDCC : free open source ANSI-C Compiler -; Version 3.9.3 #11345 (Linux) -;-------------------------------------------------------- - .module vprintf - .optsdcc -mstm8 - -;-------------------------------------------------------- -; Public variables in this module -;-------------------------------------------------------- - .globl _putchar - .globl __print_format - .globl _vprintf - .globl _printf -;-------------------------------------------------------- -; 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 -; ../vprintf.c: 34: put_char_to_stdout (char c, void* p) _REENTRANT -; ----------------------------------------- -; function put_char_to_stdout -; ----------------------------------------- -_put_char_to_stdout: -; ../vprintf.c: 37: putchar (c); - clrw x - ld a, (0x04, sp) - ld xl, a - pushw x - callf _putchar - addw sp, #2 -; ../vprintf.c: 38: } - retf -; ../vprintf.c: 41: vprintf (const char *format, va_list ap) -; ----------------------------------------- -; function vprintf -; ----------------------------------------- -_vprintf: -; ../vprintf.c: 43: return _print_format (put_char_to_stdout, NULL, format, ap); - ldw x, (0x06, sp) - pushw x - ldw x, (0x06, sp) - pushw x - clrw x - pushw x - push #<(_put_char_to_stdout + 0) - push #((_put_char_to_stdout + 0) >> 8) - push #((_put_char_to_stdout + 0) >> 16) - callf __print_format - addw sp, #9 -; ../vprintf.c: 44: } - retf -; ../vprintf.c: 47: printf (const char *format, ...) -; ----------------------------------------- -; function printf -; ----------------------------------------- -_printf: -; ../vprintf.c: 52: va_start (arg, format); - ldw x, sp - addw x, #4 - incw x - incw x -; ../vprintf.c: 53: i = _print_format (put_char_to_stdout, NULL, format, arg); - pushw x - ldw x, (0x06, sp) - pushw x - clrw x - pushw x - push #<(_put_char_to_stdout + 0) - push #((_put_char_to_stdout + 0) >> 8) - push #((_put_char_to_stdout + 0) >> 16) - callf __print_format - addw sp, #9 -; ../vprintf.c: 56: return i; -; ../vprintf.c: 57: } - retf - .area CODE - .area CONST - .area INITIALIZER - .area CABS (ABS) |
