   1                     ; C Compiler for STM8 (COSMIC Software)
   2                     ; Parser V4.8.32 - 23 Mar 2010
   3                     ; Generator V4.3.4 - 23 Mar 2010
  58                     ; 8 char putchar (char c) 
  58                     ; 9 { 
  60                     .text:	section	.text,new
  61  0000               _putchar:
  63  0000 88            	push	a
  64       00000000      OFST:	set	0
  67                     ; 10 	UART2->DR = c;   
  69  0001 c75241        	ld	21057,a
  71  0004               L13:
  72                     ; 11 	while ((UART2->SR&UART2_FLAG_TXE)==0x00); 
  74  0004 c65240        	ld	a,21056
  75  0007 a580          	bcp	a,#128
  76  0009 27f9          	jreq	L13
  77                     ; 12   return (c);
  79  000b 7b01          	ld	a,(OFST+1,sp)
  82  000d 5b01          	addw	sp,#1
  83  000f 81            	ret
 118                     ; 27 int myprintf(char *format, ...)
 118                     ; 28 { 
 119                     .text:	section	.text,new
 120  0000               _myprintf:
 124                     ; 41 }
 127  0000 81            	ret
 150                     ; 44 void InitPrintf(void)
 150                     ; 45 { 
 151                     .text:	section	.text,new
 152  0000               _InitPrintf:
 156                     ; 50 }
 159  0000 81            	ret
 299                     	xdef	_InitPrintf
 300                     	xdef	_myprintf
 301                     	xdef	_putchar
 320                     	end
