;--------------------------------------------------------
; File Created by SDCC : FreeWare ANSI-C Compiler
; Version 2.6.0 #4309 (Apr  4 2007)
; This file generated Wed Apr  4 16:15:51 2007
;--------------------------------------------------------
	.module printf_large
	.optsdcc -mmcs51 --model-medium
	
;--------------------------------------------------------
; Public variables in this module
;--------------------------------------------------------
	.globl __print_format_PARM_4
	.globl __print_format_PARM_3
	.globl __print_format_PARM_2
	.globl __print_format
;--------------------------------------------------------
; special function registers
;--------------------------------------------------------
	.area RSEG    (DATA)
;--------------------------------------------------------
; special function bits
;--------------------------------------------------------
	.area RSEG    (DATA)
;--------------------------------------------------------
; overlayable register banks
;--------------------------------------------------------
	.area REG_BANK_0	(REL,OVR,DATA)
	.ds 8
;--------------------------------------------------------
; internal ram data
;--------------------------------------------------------
	.area DSEG    (DATA)
__print_format_sloc1_1_0:
	.ds 3
;--------------------------------------------------------
; overlayable items in internal ram 
;--------------------------------------------------------
	.area	OSEG    (OVR,DATA)
_calculate_digit_ul_1_1::
	.ds 4
;--------------------------------------------------------
; indirectly addressable internal ram data
;--------------------------------------------------------
	.area ISEG    (DATA)
;--------------------------------------------------------
; bit data
;--------------------------------------------------------
	.area BSEG    (BIT)
_lower_case:
	.ds 1
__print_format_left_justify_1_1:
	.ds 1
__print_format_zero_padding_1_1:
	.ds 1
__print_format_prefix_sign_1_1:
	.ds 1
__print_format_prefix_space_1_1:
	.ds 1
__print_format_signed_argument_1_1:
	.ds 1
__print_format_char_argument_1_1:
	.ds 1
__print_format_long_argument_1_1:
	.ds 1
__print_format_float_argument_1_1:
	.ds 1
__print_format_lsd_1_1:
	.ds 1
;--------------------------------------------------------
; paged external ram data
;--------------------------------------------------------
	.area PSEG    (PAG,XDATA)
_output_char:
	.ds 2
_p:
	.ds 3
_value:
	.ds 5
_charsOutputted:
	.ds 2
__print_format_PARM_2:
	.ds 3
__print_format_PARM_3:
	.ds 3
__print_format_PARM_4:
	.ds 1
__print_format_radix_1_1:
	.ds 1
__print_format_width_1_1:
	.ds 1
__print_format_store_4_22:
	.ds 6
;--------------------------------------------------------
; external ram data
;--------------------------------------------------------
	.area XSEG    (XDATA)
;--------------------------------------------------------
; external initialized ram data
;--------------------------------------------------------
	.area XISEG   (XDATA)
	.area HOME    (CODE)
	.area GSINIT0 (CODE)
	.area GSINIT1 (CODE)
	.area GSINIT2 (CODE)
	.area GSINIT3 (CODE)
	.area GSINIT4 (CODE)
	.area GSINIT5 (CODE)
	.area GSINIT  (CODE)
	.area GSFINAL (CODE)
	.area CSEG    (CODE)
;--------------------------------------------------------
; global & static initialisations
;--------------------------------------------------------
	.area HOME    (CODE)
	.area GSINIT  (CODE)
	.area GSFINAL (CODE)
	.area GSINIT  (CODE)
;--------------------------------------------------------
; Home
;--------------------------------------------------------
	.area HOME    (CODE)
	.area CSEG    (CODE)
;--------------------------------------------------------
; code
;--------------------------------------------------------
	.area CSEG    (CODE)
;------------------------------------------------------------
;Allocation info for local variables in function '_output_char'
;------------------------------------------------------------
;------------------------------------------------------------
;	printf_large.c:88: static void _output_char( unsigned char c )
;	-----------------------------------------
;	 function _output_char
;	-----------------------------------------
__output_char:
	ar2 = 0x02
	ar3 = 0x03
	ar4 = 0x04
	ar5 = 0x05
	ar6 = 0x06
	ar7 = 0x07
	ar0 = 0x00
	ar1 = 0x01
;	genReceive
	mov	r2,dpl
;	printf_large.c:90: output_char( c, p );
;	genIpush
	mov	r0,#_p
	movx	a,@r0
	push	acc
	inc	r0
	movx	a,@r0
	push	acc
	inc	r0
	movx	a,@r0
	push	acc
;	genPcall
	mov	a,#00103$
	push	acc
	mov	a,#(00103$ >> 8)
	push	acc
	mov	r0,#_output_char
	movx	a,@r0
	push	acc
	inc	r0
	movx	a,@r0
	push	acc
	mov	dpl,r2
	ret
00103$:
	dec	sp
	dec	sp
	dec	sp
;	printf_large.c:91: charsOutputted++;
;	genPlus
	mov	r0,#_charsOutputted
	movx	a,@r0
	add	a,#0x01
	movx	@r0,a
	inc	r0
	movx	a,@r0
	addc	a,#0x00
	movx	@r0,a
;	Peephole 300	removed redundant label 00101$
	ret
;------------------------------------------------------------
;Allocation info for local variables in function 'output_digit'
;------------------------------------------------------------
;c                         Allocated to registers r2 
;------------------------------------------------------------
;	printf_large.c:111: static void output_digit( unsigned char n )
;	-----------------------------------------
;	 function output_digit
;	-----------------------------------------
_output_digit:
;	genReceive
	mov	r2,dpl
;	printf_large.c:113: register unsigned char c = n + (unsigned char)'0';
;	genPlus
;     genPlusIncr
	mov	a,#0x30
;	Peephole 236.a	used r2 instead of ar2
	add	a,r2
;	printf_large.c:115: if (c > (unsigned char)'9')
;	genCmpGt
;	genCmp
;	genIfxJump
;	Peephole 108.a	removed ljmp by inverse jump logic
;	Peephole 132.b	optimized genCmpGt by inverse logic (acc differs)
	mov  r2,a
;	Peephole 177.a	removed redundant mov
	add	a,#0xff - 0x39
	jnc	00104$
;	Peephole 300	removed redundant label 00109$
;	printf_large.c:117: c += (unsigned char)('A' - '0' - 10);
;	genPlus
;     genPlusIncr
	mov	a,#0x07
;	Peephole 236.a	used r2 instead of ar2
	add	a,r2
	mov	r2,a
;	printf_large.c:118: if (lower_case)
;	genIfx
;	genIfxJump
;	Peephole 108.d	removed ljmp by inverse jump logic
	jnb	_lower_case,00104$
;	Peephole 300	removed redundant label 00110$
;	printf_large.c:119: c = tolower(c);
;	genOr
	orl	ar2,#0x20
00104$:
;	printf_large.c:121: _output_char( c );
;	genCall
	mov	dpl,r2
;	Peephole 253.b	replaced lcall/ret with ljmp
	ljmp	__output_char
;
;------------------------------------------------------------
;Allocation info for local variables in function 'output_2digits'
;------------------------------------------------------------
;------------------------------------------------------------
;	printf_large.c:136: static void output_2digits( unsigned char b )
;	-----------------------------------------
;	 function output_2digits
;	-----------------------------------------
_output_2digits:
;	genReceive
;	printf_large.c:138: output_digit( b>>4   );
;	genRightShift
;	genRightShiftLiteral
;	genrshOne
;	peephole 177.g	optimized mov sequence
	mov	a,dpl
	mov	r2,a
	swap	a
	anl	a,#0x0f
;	genCall
	mov	r3,a
;	Peephole 244.c	loading dpl from a instead of r3
	mov	dpl,a
	push	ar2
	lcall	_output_digit
	pop	ar2
;	printf_large.c:139: output_digit( b&0x0F );
;	genAnd
	anl	ar2,#0x0F
;	genCall
	mov	dpl,r2
;	Peephole 253.b	replaced lcall/ret with ljmp
	ljmp	_output_digit
;
;------------------------------------------------------------
;Allocation info for local variables in function 'calculate_digit'
;------------------------------------------------------------
;ul                        Allocated with name '_calculate_digit_ul_1_1'
;b4                        Allocated to registers r7 
;i                         Allocated to registers r3 
;------------------------------------------------------------
;	printf_large.c:166: static void calculate_digit( unsigned char radix )
;	-----------------------------------------
;	 function calculate_digit
;	-----------------------------------------
_calculate_digit:
;	genReceive
	mov	r2,dpl
;	printf_large.c:168: register unsigned long ul = value.ul;
;	genPointerGet
;	genPagedPointerGet
	mov	r0,#_value
	movx	a,@r0
	mov	_calculate_digit_ul_1_1,a
	inc	r0
	movx	a,@r0
	mov	(_calculate_digit_ul_1_1 + 1),a
	inc	r0
	movx	a,@r0
	mov	(_calculate_digit_ul_1_1 + 2),a
	inc	r0
	movx	a,@r0
	mov	(_calculate_digit_ul_1_1 + 3),a
;	printf_large.c:169: register unsigned char b4 = value.byte[4];
;	genPointerGet
;	genPagedPointerGet
	mov	r0,#(_value + 0x0004)
	movx	a,@r0
	mov	r7,a
;	printf_large.c:172: do
;	genAssign
	mov	r3,#0x20
00103$:
;	printf_large.c:174: b4 = (b4 << 1);
;	genLeftShift
;	genLeftShiftLiteral
;	genlshOne
	mov	a,r7
;	Peephole 254	optimized left shift
	add	a,r7
	mov	r7,a
;	printf_large.c:175: b4 |= (ul >> 31) & 0x01;
;	genGetHbit
	mov	a,(_calculate_digit_ul_1_1 + 3)
	rl	a
	anl	a,#0x01
;	genOr
	mov	r4,a
;	Peephole 105	removed redundant mov
	orl	ar7,a
;	printf_large.c:176: ul <<= 1;
;	genLeftShift
;	genLeftShiftLiteral
;	genlshFour
	mov	a,_calculate_digit_ul_1_1
;	Peephole 254	optimized left shift
	add	a,_calculate_digit_ul_1_1
	mov	_calculate_digit_ul_1_1,a
	mov	a,(_calculate_digit_ul_1_1 + 1)
	rlc	a
	mov	(_calculate_digit_ul_1_1 + 1),a
	mov	a,(_calculate_digit_ul_1_1 + 2)
	rlc	a
	mov	(_calculate_digit_ul_1_1 + 2),a
	mov	a,(_calculate_digit_ul_1_1 + 3)
	rlc	a
	mov	(_calculate_digit_ul_1_1 + 3),a
;	printf_large.c:178: if (radix <= b4 )
;	genCmpGt
;	genCmp
	clr	c
	mov	a,r7
	subb	a,r2
;	genIfxJump
;	Peephole 112.b	changed ljmp to sjmp
;	Peephole 160.a	removed sjmp by inverse jump logic
	jc	00104$
;	Peephole 300	removed redundant label 00112$
;	printf_large.c:180: b4 -= radix;
;	genMinus
	mov	a,r7
	clr	c
;	Peephole 236.l	used r2 instead of ar2
	subb	a,r2
	mov	r7,a
;	printf_large.c:181: ul |= 1;
;	genOr
	orl	_calculate_digit_ul_1_1,#0x01
00104$:
;	printf_large.c:183: } while (--i);
;	genDjnz
;	Peephole 112.b	changed ljmp to sjmp
;	Peephole 205	optimized misc jump sequence
	djnz	r3,00103$
;	Peephole 300	removed redundant label 00113$
;	Peephole 300	removed redundant label 00114$
;	printf_large.c:184: value.ul = ul;
;	genPointerSet
;	genPagedPointerSet
	mov	r0,#_value
	mov	a,_calculate_digit_ul_1_1
	movx	@r0,a
	inc	r0
	mov	a,(_calculate_digit_ul_1_1 + 1)
	movx	@r0,a
	inc	r0
	mov	a,(_calculate_digit_ul_1_1 + 2)
	movx	@r0,a
	inc	r0
	mov	a,(_calculate_digit_ul_1_1 + 3)
	movx	@r0,a
;	printf_large.c:185: value.byte[4] = b4;
;	genPointerSet
;	genPagedPointerSet
	mov	r0,#(_value + 0x0004)
;	Peephole 236.g	used r7 instead of ar7
	mov	a,r7
	movx	@r0,a
;	Peephole 300	removed redundant label 00106$
	ret
;------------------------------------------------------------
;Allocation info for local variables in function '_print_format'
;------------------------------------------------------------
;sloc0                     Allocated with name '__print_format_sloc0_1_0'
;sloc1                     Allocated with name '__print_format_sloc1_1_0'
;sloc2                     Allocated with name '__print_format_sloc2_1_0'
;------------------------------------------------------------
;	printf_large.c:385: int _print_format (pfn_outputchar pfn, void* pvoid, const char *format, va_list ap)
;	-----------------------------------------
;	 function _print_format
;	-----------------------------------------
__print_format:
;	genReceive
	mov	r2,dpl
	mov	r3,dph
;	printf_large.c:412: output_char = pfn;
;	genAssign
	mov	r0,#_output_char
	mov	a,r2
	movx	@r0,a
	inc	r0
	mov	a,r3
	movx	@r0,a
;	printf_large.c:413: p = pvoid;
;	genAssign
	mov	r0,#__print_format_PARM_2
	movx	a,@r0
	mov	r2,a
	inc	r0
	movx	a,@r0
	mov	r3,a
	inc	r0
	movx	a,@r0
	mov	r4,a
;	genAssign
	mov	r0,#_p
	mov	a,r2
	movx	@r0,a
	inc	r0
	mov	a,r3
	movx	@r0,a
	inc	r0
	mov	a,r4
	movx	@r0,a
;	printf_large.c:417: charsOutputted = 0;
;	genAssign
	mov	r0,#_charsOutputted
	clr	a
	movx	@r0,a
	inc	r0
	movx	@r0,a
;	printf_large.c:425: while( c=*format++ )
00234$:
;	genAssign
	mov	r0,#__print_format_PARM_3
	movx	a,@r0
	mov	r2,a
	inc	r0
	movx	a,@r0
	mov	r3,a
	inc	r0
	movx	a,@r0
	mov	r4,a
;	genPointerGet
;	genGenPointerGet
	mov	dpl,r2
	mov	dph,r3
	mov	b,r4
	lcall	__gptrget
	mov	r5,a
;	genPlus
	mov	r0,#__print_format_PARM_3
;     genPlusIncr
	mov	a,#0x01
;	Peephole 236.a	used r2 instead of ar2
	add	a,r2
	movx	@r0,a
;	Peephole 181	changed mov to clr
	clr	a
;	Peephole 236.b	used r3 instead of ar3
	addc	a,r3
	inc	r0
	movx	@r0,a
	inc	r0
	mov	a,r4
	movx	@r0,a
;	genAssign
;	genIfx
;	peephole 177.h	optimized mov sequence
	mov	a,r5
;	Peephole 236.i	used r2 instead of ar2
	mov	r2,a
;	genIfxJump
	jnz	00320$
	ljmp	00236$
00320$:
;	printf_large.c:427: if ( c=='%' )
;	genCmpEq
;	gencjneshort
	cjne	r2,#0x25,00321$
	sjmp	00322$
00321$:
	ljmp	00232$
00322$:
;	printf_large.c:429: left_justify    = 0;
;	genAssign
	clr	__print_format_left_justify_1_1
;	printf_large.c:430: zero_padding    = 0;
;	genAssign
	clr	__print_format_zero_padding_1_1
;	printf_large.c:431: prefix_sign     = 0;
;	genAssign
	clr	__print_format_prefix_sign_1_1
;	printf_large.c:432: prefix_space    = 0;
;	genAssign
	clr	__print_format_prefix_space_1_1
;	printf_large.c:433: signed_argument = 0;
;	genAssign
	clr	__print_format_signed_argument_1_1
;	printf_large.c:434: char_argument   = 0;
;	genAssign
	clr	__print_format_char_argument_1_1
;	printf_large.c:435: long_argument   = 0;
;	genAssign
	clr	__print_format_long_argument_1_1
;	printf_large.c:436: float_argument  = 0;
;	genAssign
	clr	__print_format_float_argument_1_1
;	printf_large.c:437: radix           = 0;
;	genAssign
	mov	r0,#__print_format_radix_1_1
;	Peephole 181	changed mov to clr
	clr	a
	movx	@r0,a
;	printf_large.c:438: width           = 0;
;	genAssign
	mov	r0,#__print_format_width_1_1
;	Peephole 181	changed mov to clr
	clr	a
	movx	@r0,a
;	printf_large.c:439: decimals        = -1;
;	genAssign
	mov	r5,#0xFF
;	printf_large.c:441: get_conversion_spec:
;	genAssign
	mov	r0,#__print_format_PARM_3
	movx	a,@r0
	mov	r6,a
	inc	r0
	movx	a,@r0
	mov	r7,a
	inc	r0
	movx	a,@r0
	mov	r3,a
00101$:
;	printf_large.c:443: c = *format++;
;	genPointerGet
;	genGenPointerGet
	mov	dpl,r6
	mov	dph,r7
	mov	b,r3
	lcall	__gptrget
	mov	r2,a
	inc	dptr
	mov	r6,dpl
	mov	r7,dph
;	genAssign
	mov	r0,#__print_format_PARM_3
	mov	a,r6
	movx	@r0,a
	inc	r0
	mov	a,r7
	movx	@r0,a
	inc	r0
	mov	a,r3
	movx	@r0,a
;	printf_large.c:445: if (c=='%') {
;	genCmpEq
;	gencjneshort
;	Peephole 112.b	changed ljmp to sjmp
;	Peephole 198.b	optimized misc jump sequence
	cjne	r2,#0x25,00103$
;	Peephole 200.b	removed redundant sjmp
;	Peephole 300	removed redundant label 00323$
;	Peephole 300	removed redundant label 00324$
;	printf_large.c:446: OUTPUT_CHAR(c, p);
;	genCall
	mov	dpl,r2
	lcall	__output_char
;	printf_large.c:447: continue;
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00234$
00103$:
;	printf_large.c:450: if (isdigit(c)) {
;	genIpush
	push	ar5
;	genAssign
	mov	ar5,r2
;	genCmpLt
;	genCmp
	cjne	r5,#0x30,00325$
00325$:
;	genIpop
;	genIfx
;	genIfxJump
;	Peephole 108.b	removed ljmp by inverse jump logic
;	Peephole 129.b	optimized condition
	pop	ar5
	jc	00110$
;	Peephole 300	removed redundant label 00326$
;	genIpush
	push	ar5
;	genAssign
	mov	ar5,r2
;	genCmpGt
;	genCmp
	clr	c
	mov	a,#0x39
	subb	a,r5
;	genIpop
;	genIfx
;	genIfxJump
;	Peephole 108.b	removed ljmp by inverse jump logic
;	Peephole 129.b	optimized condition
	pop	ar5
	jc	00110$
;	Peephole 300	removed redundant label 00327$
;	printf_large.c:451: if (decimals==-1) {
;	genCmpEq
;	gencjneshort
;	Peephole 112.b	changed ljmp to sjmp
;	Peephole 198.b	optimized misc jump sequence
	cjne	r5,#0xFF,00107$
;	Peephole 200.b	removed redundant sjmp
;	Peephole 300	removed redundant label 00328$
;	Peephole 300	removed redundant label 00329$
;	printf_large.c:452: width = 10*width + (c - '0');
;	genIpush
	push	ar5
;	genMult
	mov	r0,#__print_format_width_1_1
;	genMultOneByte
	movx	a,@r0
	mov	b,#0x0A
	mul	ab
	mov	r5,a
;	genMinus
	mov	a,r2
	add	a,#0xd0
;	genPlus
	mov	r0,#__print_format_width_1_1
;	Peephole 236.a	used r5 instead of ar5
	add	a,r5
	movx	@r0,a
;	printf_large.c:453: if (width == 0) {
;	genIpop
	pop	ar5
;	genIfx
	mov	r0,#__print_format_width_1_1
	movx	a,@r0
;	genIfxJump
;	Peephole 108.b	removed ljmp by inverse jump logic
	jnz	00101$
;	Peephole 300	removed redundant label 00330$
;	printf_large.c:455: zero_padding = 1;
;	genAssign
	setb	__print_format_zero_padding_1_1
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00101$
00107$:
;	printf_large.c:458: decimals = 10*decimals + (c-'0');
;	genIpush
;	genMult
;	genMultOneByte
	mov	a,r5
	mov	b,#0x0A
	mul	ab
	mov	r4,a
;	genMinus
	mov	a,r2
	add	a,#0xd0
;	genPlus
;	Peephole 236.a	used r4 instead of ar4
	add	a,r4
	mov	r5,a
;	printf_large.c:460: goto get_conversion_spec;
;	genIpop
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00101$
00110$:
;	printf_large.c:463: if (c=='.') {
;	genCmpEq
;	gencjneshort
;	Peephole 112.b	changed ljmp to sjmp
;	Peephole 198.b	optimized misc jump sequence
	cjne	r2,#0x2E,00115$
;	Peephole 200.b	removed redundant sjmp
;	Peephole 300	removed redundant label 00331$
;	Peephole 300	removed redundant label 00332$
;	printf_large.c:464: if (decimals=-1) decimals=0;
;	genAssign
	mov	r5,#0x00
;	printf_large.c:467: goto get_conversion_spec;
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00101$
00115$:
;	printf_large.c:470: lower_case = islower(c);
;	genCall
	mov	dpl,r2
	push	ar2
	push	ar3
	push	ar5
	push	ar6
	push	ar7
	lcall	_islower
	mov	a,dpl
	add	a,#0xff
	mov	_lower_case,c
	pop	ar7
	pop	ar6
	pop	ar5
	pop	ar3
	pop	ar2
;	printf_large.c:471: if (lower_case)
;	genIfx
;	genIfxJump
;	Peephole 108.d	removed ljmp by inverse jump logic
	jnb	_lower_case,00117$
;	Peephole 300	removed redundant label 00333$
;	printf_large.c:473: c = toupper(c);
;	genAnd
	anl	ar2,#0xDF
00117$:
;	printf_large.c:476: switch( c )
;	genCmpEq
;	gencjneshort
	cjne	r2,#0x20,00334$
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00120$
00334$:
;	genCmpEq
;	gencjneshort
	cjne	r2,#0x2B,00335$
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00119$
00335$:
;	genCmpEq
;	gencjneshort
	cjne	r2,#0x2D,00336$
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00118$
00336$:
;	genCmpEq
;	gencjneshort
	cjne	r2,#0x42,00337$
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00121$
00337$:
;	genCmpEq
;	gencjneshort
	cjne	r2,#0x43,00338$
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00123$
00338$:
;	genCmpEq
;	gencjneshort
	cjne	r2,#0x44,00339$
	ljmp	00157$
00339$:
;	genCmpEq
;	gencjneshort
	cjne	r2,#0x46,00340$
	ljmp	00161$
00340$:
;	genCmpEq
;	gencjneshort
	cjne	r2,#0x49,00341$
	ljmp	00157$
00341$:
;	genCmpEq
;	gencjneshort
	cjne	r2,#0x4C,00342$
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00122$
00342$:
;	genCmpEq
;	gencjneshort
	cjne	r2,#0x4F,00343$
	ljmp	00158$
00343$:
;	genCmpEq
;	gencjneshort
	cjne	r2,#0x50,00344$
	ljmp	00143$
00344$:
;	genCmpEq
;	gencjneshort
	cjne	r2,#0x53,00345$
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00124$
00345$:
;	genCmpEq
;	gencjneshort
	cjne	r2,#0x55,00346$
	ljmp	00159$
00346$:
;	genCmpEq
;	gencjneshort
	cjne	r2,#0x58,00347$
	ljmp	00160$
00347$:
	ljmp	00162$
;	printf_large.c:478: case '-':
00118$:
;	printf_large.c:479: left_justify = 1;
;	genAssign
	setb	__print_format_left_justify_1_1
;	printf_large.c:480: goto get_conversion_spec;
	ljmp	00101$
;	printf_large.c:481: case '+':
00119$:
;	printf_large.c:482: prefix_sign = 1;
;	genAssign
	setb	__print_format_prefix_sign_1_1
;	printf_large.c:483: goto get_conversion_spec;
	ljmp	00101$
;	printf_large.c:484: case ' ':
00120$:
;	printf_large.c:485: prefix_space = 1;
;	genAssign
	setb	__print_format_prefix_space_1_1
;	printf_large.c:486: goto get_conversion_spec;
	ljmp	00101$
;	printf_large.c:487: case 'B':
00121$:
;	printf_large.c:488: char_argument = 1;
;	genAssign
	setb	__print_format_char_argument_1_1
;	printf_large.c:489: goto get_conversion_spec;
	ljmp	00101$
;	printf_large.c:490: case 'L':
00122$:
;	printf_large.c:491: long_argument = 1;
;	genAssign
	setb	__print_format_long_argument_1_1
;	printf_large.c:492: goto get_conversion_spec;
	ljmp	00101$
;	printf_large.c:494: case 'C':
00123$:
;	printf_large.c:495: OUTPUT_CHAR( va_arg(ap,int), p );
;	genMinus
	mov	r1,#__print_format_PARM_4
;	genMinusDec
	movx	a,@r1
	add	a,#0xfe
;	genAssign
	mov	r0,a
	mov	r1,#__print_format_PARM_4
;	Peephole 177.d	removed redundant move
	movx	@r1,a
;	genPointerGet
;	genNearPointerGet
	mov	ar3,@r0
	inc	r0
	mov	ar6,@r0
	dec	r0
;	genCast
;	genCall
	mov	dpl,r3
	lcall	__output_char
;	printf_large.c:496: break;
	ljmp	00163$
;	printf_large.c:498: case 'S':
00124$:
;	printf_large.c:499: PTR = va_arg(ap,ptr_t);
;	genMinus
	mov	r1,#__print_format_PARM_4
;	genMinusDec
	movx	a,@r1
	add	a,#0xfd
;	genAssign
	mov	r0,a
	mov	r1,#__print_format_PARM_4
;	Peephole 177.d	removed redundant move
	movx	@r1,a
;	genPointerGet
;	genNearPointerGet
	mov	ar3,@r0
	inc	r0
	mov	ar6,@r0
	inc	r0
	mov	ar7,@r0
	dec	r0
	dec	r0
;	genPointerSet
;	genPagedPointerSet
	mov	r0,#_value
;	Peephole 236.g	used r3 instead of ar3
	mov	a,r3
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r6 instead of ar6
	mov	a,r6
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r7 instead of ar7
	mov	a,r7
	movx	@r0,a
;	printf_large.c:509: length = strlen(PTR);
;	genPointerGet
;	genPagedPointerGet
	mov	r0,#_value
	movx	a,@r0
	mov	r3,a
	inc	r0
	movx	a,@r0
	mov	r6,a
	inc	r0
	movx	a,@r0
	mov	r7,a
;	genCall
	mov	dpl,r3
	mov	dph,r6
	mov	b,r7
	push	ar5
	lcall	_strlen
	mov	r3,dpl
	mov	r6,dph
	pop	ar5
;	genCast
;	printf_large.c:511: if ( decimals == -1 )
;	genCmpEq
;	gencjneshort
;	Peephole 112.b	changed ljmp to sjmp
;	Peephole 198.b	optimized misc jump sequence
	cjne	r5,#0xFF,00126$
;	Peephole 200.b	removed redundant sjmp
;	Peephole 300	removed redundant label 00348$
;	Peephole 300	removed redundant label 00349$
;	printf_large.c:513: decimals = length;
;	genAssign
	mov	ar5,r3
00126$:
;	printf_large.c:515: if ( ( !left_justify ) && (length < width) )
;	genIfx
;	genIfxJump
;	Peephole 108.e	removed ljmp by inverse jump logic
	jb	__print_format_left_justify_1_1,00273$
;	Peephole 300	removed redundant label 00350$
;	genCmpLt
	mov	r0,#__print_format_width_1_1
;	genCmp
	clr	c
	movx	a,@r0
	mov	b,a
	mov	a,r3
	subb	a,b
;	genIfxJump
;	Peephole 108.a	removed ljmp by inverse jump logic
	jnc	00273$
;	Peephole 300	removed redundant label 00351$
;	printf_large.c:517: width -= length;
;	genMinus
	mov	r0,#__print_format_width_1_1
	movx	a,@r0
	clr	c
;	Peephole 236.l	used r3 instead of ar3
	subb	a,r3
	movx	@r0,a
;	printf_large.c:518: while( width-- != 0 )
;	genAssign
	mov	r0,#__print_format_width_1_1
	movx	a,@r0
	mov	r6,a
00127$:
;	genAssign
	mov	ar7,r6
;	genMinus
;	genMinusDec
	dec	r6
;	genAssign
	mov	r0,#__print_format_width_1_1
	mov	a,r6
	movx	@r0,a
;	genCmpEq
;	gencjneshort
	cjne	r7,#0x00,00352$
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00313$
00352$:
;	printf_large.c:520: OUTPUT_CHAR( ' ', p );
;	genCall
	mov	dpl,#0x20
	push	ar3
	push	ar5
	push	ar6
	lcall	__output_char
	pop	ar6
	pop	ar5
	pop	ar3
;	printf_large.c:524: while ( *PTR  && (decimals-- > 0))
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00127$
00313$:
;	genAssign
	mov	r0,#__print_format_width_1_1
	mov	a,r6
	movx	@r0,a
00273$:
;	genAssign
	mov	ar2,r5
00134$:
;	genIpush
	push	ar3
;	genPointerGet
;	genPagedPointerGet
	mov	r0,#_value
	movx	a,@r0
	mov	r6,a
	inc	r0
	movx	a,@r0
	mov	r7,a
	inc	r0
	movx	a,@r0
	mov	r3,a
;	genPointerGet
;	genGenPointerGet
	mov	dpl,r6
	mov	dph,r7
	mov	b,r3
	lcall	__gptrget
;	genIpop
	pop	ar3
;	genIfx
;	genIfxJump
;	Peephole 108.c	removed ljmp by inverse jump logic
	jz	00136$
;	Peephole 300	removed redundant label 00353$
;	genAssign
	mov	ar6,r2
;	genMinus
;	genMinusDec
	dec	r2
;	genCmpGt
;	genCmp
	clr	c
;	Peephole 159	avoided xrl during execution
	mov	a,#(0x00 ^ 0x80)
	mov	b,r6
	xrl	b,#0x80
	subb	a,b
;	genIfxJump
;	Peephole 108.a	removed ljmp by inverse jump logic
	jnc	00136$
;	Peephole 300	removed redundant label 00354$
;	printf_large.c:526: OUTPUT_CHAR( *PTR++, p );
;	genIpush
	push	ar3
;	genPointerGet
;	genPagedPointerGet
	mov	r0,#_value
	movx	a,@r0
	mov	__print_format_sloc1_1_0,a
	inc	r0
	movx	a,@r0
	mov	(__print_format_sloc1_1_0 + 1),a
	inc	r0
	movx	a,@r0
	mov	(__print_format_sloc1_1_0 + 2),a
;	genPlus
;     genPlusIncr
	mov	a,#0x01
	add	a,__print_format_sloc1_1_0
	mov	r4,a
;	Peephole 181	changed mov to clr
	clr	a
	addc	a,(__print_format_sloc1_1_0 + 1)
	mov	r5,a
	mov	r3,(__print_format_sloc1_1_0 + 2)
;	genPointerSet
;	genPagedPointerSet
	mov	r0,#_value
;	Peephole 236.g	used r4 instead of ar4
	mov	a,r4
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r5 instead of ar5
	mov	a,r5
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r3 instead of ar3
	mov	a,r3
	movx	@r0,a
;	genPointerGet
;	genGenPointerGet
	mov	dpl,__print_format_sloc1_1_0
	mov	dph,(__print_format_sloc1_1_0 + 1)
	mov	b,(__print_format_sloc1_1_0 + 2)
	lcall	__gptrget
;	genCall
	mov	r3,a
;	Peephole 244.c	loading dpl from a instead of r3
	mov	dpl,a
	push	ar2
	push	ar3
	lcall	__output_char
	pop	ar3
	pop	ar2
;	genIpop
	pop	ar3
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00134$
00136$:
;	printf_large.c:529: if ( left_justify && (length < width))
;	genIfx
;	genIfxJump
	jb	__print_format_left_justify_1_1,00355$
	ljmp	00163$
00355$:
;	genCmpLt
	mov	r0,#__print_format_width_1_1
;	genCmp
	clr	c
	movx	a,@r0
	mov	b,a
	mov	a,r3
	subb	a,b
;	genIfxJump
	jc	00356$
	ljmp	00163$
00356$:
;	printf_large.c:531: width -= length;
;	genMinus
	mov	r0,#__print_format_width_1_1
	movx	a,@r0
	clr	c
;	Peephole 236.l	used r3 instead of ar3
	subb	a,r3
	movx	@r0,a
;	printf_large.c:532: while( width-- != 0 )
;	genAssign
	mov	r0,#__print_format_width_1_1
	movx	a,@r0
	mov	r4,a
00137$:
;	genAssign
	mov	ar5,r4
;	genMinus
;	genMinusDec
	dec	r4
;	genAssign
	mov	r0,#__print_format_width_1_1
	mov	a,r4
	movx	@r0,a
;	genCmpEq
;	gencjneshort
	cjne	r5,#0x00,00357$
	ljmp	00315$
00357$:
;	printf_large.c:534: OUTPUT_CHAR( ' ', p );
;	genCall
	mov	dpl,#0x20
	push	ar4
	lcall	__output_char
	pop	ar4
;	printf_large.c:539: case 'P':
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00137$
00143$:
;	printf_large.c:540: PTR = va_arg(ap,ptr_t);
;	genMinus
	mov	r1,#__print_format_PARM_4
;	genMinusDec
	movx	a,@r1
	add	a,#0xfd
;	genAssign
	mov	r0,a
	mov	r1,#__print_format_PARM_4
;	Peephole 177.d	removed redundant move
	movx	@r1,a
;	genPointerGet
;	genNearPointerGet
	mov	ar5,@r0
	inc	r0
	mov	ar6,@r0
	inc	r0
	mov	ar7,@r0
	dec	r0
	dec	r0
;	genPointerSet
;	genPagedPointerSet
	mov	r0,#_value
;	Peephole 236.g	used r5 instead of ar5
	mov	a,r5
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r6 instead of ar6
	mov	a,r6
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r7 instead of ar7
	mov	a,r7
	movx	@r0,a
;	printf_large.c:563: unsigned char memtype = value.byte[2];
;	genPointerGet
;	genPagedPointerGet
	mov	r0,#(_value + 0x0002)
	movx	a,@r0
;	printf_large.c:564: if (memtype > 0x80)
;	genCmpGt
;	genCmp
;	genIfxJump
;	Peephole 108.a	removed ljmp by inverse jump logic
;	Peephole 132.b	optimized genCmpGt by inverse logic (acc differs)
	mov  r5,a
;	Peephole 177.a	removed redundant mov
	add	a,#0xff - 0x80
	jnc	00151$
;	Peephole 300	removed redundant label 00358$
;	printf_large.c:565: c = 'C';
;	genAssign
	mov	r2,#0x43
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00152$
00151$:
;	printf_large.c:566: else if (memtype > 0x60)
;	genCmpGt
;	genCmp
;	genIfxJump
;	Peephole 108.a	removed ljmp by inverse jump logic
;	Peephole 132.b	optimized genCmpGt by inverse logic (acc differs)
	mov	a,r5
	add	a,#0xff - 0x60
	jnc	00148$
;	Peephole 300	removed redundant label 00359$
;	printf_large.c:567: c = 'P';
;	genAssign
	mov	r2,#0x50
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00152$
00148$:
;	printf_large.c:568: else if (memtype > 0x40)
;	genCmpGt
;	genCmp
;	genIfxJump
;	Peephole 108.a	removed ljmp by inverse jump logic
;	Peephole 132.b	optimized genCmpGt by inverse logic (acc differs)
	mov	a,r5
	add	a,#0xff - 0x40
	jnc	00145$
;	Peephole 300	removed redundant label 00360$
;	printf_large.c:569: c = 'I';
;	genAssign
	mov	r2,#0x49
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00152$
00145$:
;	printf_large.c:571: c = 'X';
;	genAssign
	mov	r2,#0x58
00152$:
;	printf_large.c:573: OUTPUT_CHAR(c, p);
;	genCall
	mov	dpl,r2
	push	ar2
	lcall	__output_char
	pop	ar2
;	printf_large.c:574: OUTPUT_CHAR(':', p);
;	genCall
	mov	dpl,#0x3A
	push	ar2
	lcall	__output_char
	pop	ar2
;	printf_large.c:575: OUTPUT_CHAR('0', p);
;	genCall
	mov	dpl,#0x30
	push	ar2
	lcall	__output_char
	pop	ar2
;	printf_large.c:576: OUTPUT_CHAR('x', p);
;	genCall
	mov	dpl,#0x78
	push	ar2
	lcall	__output_char
	pop	ar2
;	printf_large.c:577: if ((c != 'I' /* idata */) &&
;	genCmpEq
;	gencjneshort
	cjne	r2,#0x49,00361$
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00154$
00361$:
;	printf_large.c:578: (c != 'P' /* pdata */))
;	genCmpEq
;	gencjneshort
	cjne	r2,#0x50,00362$
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00154$
00362$:
;	printf_large.c:580: OUTPUT_2DIGITS( value.byte[1] );
;	genPointerGet
;	genPagedPointerGet
	mov	r0,#(_value + 0x0001)
	movx	a,@r0
;	genCall
	mov	r5,a
;	Peephole 244.c	loading dpl from a instead of r5
	mov	dpl,a
	lcall	_output_2digits
00154$:
;	printf_large.c:582: OUTPUT_2DIGITS( value.byte[0] );
;	genPointerGet
;	genPagedPointerGet
	mov	r0,#_value
	movx	a,@r0
;	genCall
	mov	r5,a
;	Peephole 244.c	loading dpl from a instead of r5
	mov	dpl,a
	lcall	_output_2digits
;	printf_large.c:589: break;
;	printf_large.c:592: case 'I':
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00163$
00157$:
;	printf_large.c:593: signed_argument = 1;
;	genAssign
	setb	__print_format_signed_argument_1_1
;	printf_large.c:594: radix = 10;
;	genAssign
	mov	r0,#__print_format_radix_1_1
	mov	a,#0x0A
	movx	@r0,a
;	printf_large.c:595: break;
;	printf_large.c:597: case 'O':
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00163$
00158$:
;	printf_large.c:598: radix = 8;
;	genAssign
	mov	r0,#__print_format_radix_1_1
	mov	a,#0x08
	movx	@r0,a
;	printf_large.c:599: break;
;	printf_large.c:601: case 'U':
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00163$
00159$:
;	printf_large.c:602: radix = 10;
;	genAssign
	mov	r0,#__print_format_radix_1_1
	mov	a,#0x0A
	movx	@r0,a
;	printf_large.c:603: break;
;	printf_large.c:605: case 'X':
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00163$
00160$:
;	printf_large.c:606: radix = 16;
;	genAssign
	mov	r0,#__print_format_radix_1_1
	mov	a,#0x10
	movx	@r0,a
;	printf_large.c:607: break;
;	printf_large.c:609: case 'F':
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00163$
00161$:
;	printf_large.c:610: float_argument=1;
;	genAssign
	setb	__print_format_float_argument_1_1
;	printf_large.c:611: break;
;	printf_large.c:613: default:
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00163$
00162$:
;	printf_large.c:615: OUTPUT_CHAR( c, p );
;	genCall
	mov	dpl,r2
	lcall	__output_char
;	printf_large.c:792: return charsOutputted;
;	printf_large.c:617: }
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00163$
00315$:
;	genAssign
	mov	r0,#__print_format_width_1_1
	mov	a,r4
	movx	@r0,a
00163$:
;	printf_large.c:619: if (float_argument) {
;	genIfx
;	genIfxJump
;	Peephole 108.d	removed ljmp by inverse jump logic
	jnb	__print_format_float_argument_1_1,00229$
;	Peephole 300	removed redundant label 00363$
;	printf_large.c:620: value.f=va_arg(ap,float);
;	genMinus
	mov	r1,#__print_format_PARM_4
;	genMinusDec
	movx	a,@r1
	add	a,#0xfc
;	genAssign
	mov	r0,a
	mov	r1,#__print_format_PARM_4
;	Peephole 177.d	removed redundant move
	movx	@r1,a
;	genPointerGet
;	genNearPointerGet
	mov	ar4,@r0
	inc	r0
	mov	ar5,@r0
	inc	r0
	mov	ar6,@r0
	inc	r0
	mov	ar7,@r0
	dec	r0
	dec	r0
	dec	r0
;	genPointerSet
;	genPagedPointerSet
	mov	r0,#_value
;	Peephole 236.g	used r4 instead of ar4
	mov	a,r4
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r5 instead of ar5
	mov	a,r5
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r6 instead of ar6
	mov	a,r6
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r7 instead of ar7
	mov	a,r7
	movx	@r0,a
;	printf_large.c:622: PTR="<NO FLOAT>";
;	genPointerSet
;	genPagedPointerSet
	mov	r0,#_value
	mov	a,#__str_0
	movx	@r0,a
	inc	r0
	mov	a,#(__str_0 >> 8)
	movx	@r0,a
	inc	r0
	mov	a,#0x80
	movx	@r0,a
;	printf_large.c:623: while (c=*PTR++)
00164$:
;	genPointerGet
;	genPagedPointerGet
	mov	r0,#_value
	movx	a,@r0
	mov	r2,a
	inc	r0
	movx	a,@r0
	mov	r3,a
	inc	r0
	movx	a,@r0
	mov	r6,a
;	genPlus
;     genPlusIncr
	mov	a,#0x01
;	Peephole 236.a	used r2 instead of ar2
	add	a,r2
	mov	r7,a
;	Peephole 181	changed mov to clr
	clr	a
;	Peephole 236.b	used r3 instead of ar3
	addc	a,r3
	mov	r4,a
	mov	ar5,r6
;	genPointerSet
;	genPagedPointerSet
	mov	r0,#_value
;	Peephole 236.g	used r7 instead of ar7
	mov	a,r7
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r4 instead of ar4
	mov	a,r4
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r5 instead of ar5
	mov	a,r5
	movx	@r0,a
;	genPointerGet
;	genGenPointerGet
	mov	dpl,r2
	mov	dph,r3
	mov	b,r6
	lcall	__gptrget
;	genAssign
;	genIfx
	mov	r4,a
	mov	ar2,r4
;	Peephole 166	removed redundant mov
;	genIfxJump
	jnz	00364$
	ljmp	00234$
00364$:
;	printf_large.c:625: OUTPUT_CHAR (c, p);
;	genCall
	mov	dpl,r2
	lcall	__output_char
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00164$
00229$:
;	printf_large.c:642: } else if (radix != 0)
;	genCmpEq
	mov	r0,#__print_format_radix_1_1
;	gencjneshort
	movx	a,@r0
	cjne	a,#0x00,00365$
	ljmp	00234$
00365$:
;	printf_large.c:647: unsigned char _AUTOMEM *pstore = &store[5];
;	genAssign
	mov	r4,#(__print_format_store_4_22 + 0x0005)
;	printf_large.c:650: if (char_argument)
;	genIfx
;	genIfxJump
;	Peephole 108.d	removed ljmp by inverse jump logic
	jnb	__print_format_char_argument_1_1,00175$
;	Peephole 300	removed redundant label 00366$
;	printf_large.c:652: value.l = va_arg(ap,char);
;	genIpush
	push	ar4
;	genMinus
	mov	r1,#__print_format_PARM_4
;	genMinusDec
	movx	a,@r1
	dec	a
;	genAssign
	mov	r0,a
	mov	r1,#__print_format_PARM_4
;	Peephole 177.d	removed redundant move
	movx	@r1,a
;	genPointerGet
;	genNearPointerGet
	mov	ar5,@r0
;	genCast
	mov	a,r5
	rlc	a
	subb	a,acc
	mov	r6,a
	mov	r7,a
	mov	r4,a
;	genPointerSet
;	genPagedPointerSet
	mov	r0,#_value
;	Peephole 236.g	used r5 instead of ar5
	mov	a,r5
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r6 instead of ar6
	mov	a,r6
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r7 instead of ar7
	mov	a,r7
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r4 instead of ar4
	mov	a,r4
	movx	@r0,a
;	printf_large.c:653: if (!signed_argument)
;	genIpop
	pop	ar4
;	genIfx
;	genIfxJump
	jnb	__print_format_signed_argument_1_1,00367$
	ljmp	00176$
00367$:
;	printf_large.c:655: value.l &= 0xFF;
;	genIpush
	push	ar4
;	genPointerGet
;	genPagedPointerGet
	mov	r0,#_value
	movx	a,@r0
	mov	r5,a
	inc	r0
	movx	a,@r0
	mov	r6,a
	inc	r0
	movx	a,@r0
	mov	r7,a
	inc	r0
	movx	a,@r0
	mov	r4,a
;	genAnd
	mov	r6,#0x00
	mov	r7,#0x00
	mov	r4,#0x00
;	genPointerSet
;	genPagedPointerSet
	mov	r0,#_value
;	Peephole 236.g	used r5 instead of ar5
	mov	a,r5
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r6 instead of ar6
	mov	a,r6
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r7 instead of ar7
	mov	a,r7
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r4 instead of ar4
	mov	a,r4
	movx	@r0,a
;	genIpop
	pop	ar4
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00176$
00175$:
;	printf_large.c:658: else if (long_argument)
;	genIfx
;	genIfxJump
;	Peephole 108.d	removed ljmp by inverse jump logic
	jnb	__print_format_long_argument_1_1,00172$
;	Peephole 300	removed redundant label 00368$
;	printf_large.c:660: value.l = va_arg(ap,long);
;	genIpush
	push	ar4
;	genMinus
	mov	r1,#__print_format_PARM_4
;	genMinusDec
	movx	a,@r1
	add	a,#0xfc
;	genAssign
	mov	r0,a
	mov	r1,#__print_format_PARM_4
;	Peephole 177.d	removed redundant move
	movx	@r1,a
;	genPointerGet
;	genNearPointerGet
	mov	ar5,@r0
	inc	r0
	mov	ar6,@r0
	inc	r0
	mov	ar7,@r0
	inc	r0
	mov	ar4,@r0
	dec	r0
	dec	r0
	dec	r0
;	genPointerSet
;	genPagedPointerSet
	mov	r0,#_value
;	Peephole 236.g	used r5 instead of ar5
	mov	a,r5
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r6 instead of ar6
	mov	a,r6
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r7 instead of ar7
	mov	a,r7
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r4 instead of ar4
	mov	a,r4
	movx	@r0,a
;	genIpop
	pop	ar4
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00176$
00172$:
;	printf_large.c:664: value.l = va_arg(ap,int);
;	genIpush
	push	ar4
;	genMinus
	mov	r1,#__print_format_PARM_4
;	genMinusDec
	movx	a,@r1
	add	a,#0xfe
;	genAssign
	mov	r0,a
	mov	r1,#__print_format_PARM_4
;	Peephole 177.d	removed redundant move
	movx	@r1,a
;	genPointerGet
;	genNearPointerGet
	mov	ar5,@r0
	inc	r0
	mov	ar6,@r0
	dec	r0
;	genCast
	mov	a,r6
	rlc	a
	subb	a,acc
	mov	r7,a
	mov	r4,a
;	genPointerSet
;	genPagedPointerSet
	mov	r0,#_value
;	Peephole 236.g	used r5 instead of ar5
	mov	a,r5
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r6 instead of ar6
	mov	a,r6
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r7 instead of ar7
	mov	a,r7
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r4 instead of ar4
	mov	a,r4
	movx	@r0,a
;	printf_large.c:665: if (!signed_argument)
;	genIpop
	pop	ar4
;	genIfx
;	genIfxJump
;	Peephole 108.e	removed ljmp by inverse jump logic
	jb	__print_format_signed_argument_1_1,00176$
;	Peephole 300	removed redundant label 00369$
;	printf_large.c:667: value.l &= 0xFFFF;
;	genIpush
	push	ar4
;	genPointerGet
;	genPagedPointerGet
	mov	r0,#_value
	movx	a,@r0
	mov	r5,a
	inc	r0
	movx	a,@r0
	mov	r6,a
	inc	r0
	movx	a,@r0
	mov	r7,a
	inc	r0
	movx	a,@r0
	mov	r4,a
;	genAnd
	mov	r7,#0x00
	mov	r4,#0x00
;	genPointerSet
;	genPagedPointerSet
	mov	r0,#_value
;	Peephole 236.g	used r5 instead of ar5
	mov	a,r5
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r6 instead of ar6
	mov	a,r6
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r7 instead of ar7
	mov	a,r7
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r4 instead of ar4
	mov	a,r4
	movx	@r0,a
;	printf_large.c:792: return charsOutputted;
;	genIpop
	pop	ar4
;	printf_large.c:667: value.l &= 0xFFFF;
00176$:
;	printf_large.c:671: if ( signed_argument )
;	genIfx
;	genIfxJump
;	Peephole 108.d	removed ljmp by inverse jump logic
	jnb	__print_format_signed_argument_1_1,00181$
;	Peephole 300	removed redundant label 00370$
;	printf_large.c:673: if (value.l < 0)
;	genIpush
	push	ar4
;	genPointerGet
;	genPagedPointerGet
	mov	r0,#_value
	movx	a,@r0
	mov	r5,a
	inc	r0
	movx	a,@r0
	mov	r6,a
	inc	r0
	movx	a,@r0
	mov	r7,a
	inc	r0
	movx	a,@r0
;	genCmpLt
;	genCmp
	mov	r4,a
;	Peephole 105	removed redundant mov
	rlc	a
	clr	a
	rlc	a
;	genIpop
	pop	ar4
;	genIfx
;	genIfxJump
;	Peephole 108.c	removed ljmp by inverse jump logic
	jz	00178$
;	Peephole 300	removed redundant label 00371$
;	printf_large.c:674: value.l = -value.l;
;	genIpush
	push	ar4
;	genPointerGet
;	genPagedPointerGet
	mov	r0,#_value
	movx	a,@r0
	mov	r5,a
	inc	r0
	movx	a,@r0
	mov	r6,a
	inc	r0
	movx	a,@r0
	mov	r7,a
	inc	r0
	movx	a,@r0
	mov	r4,a
;	genUminus
	clr	c
	clr	a
	subb	a,r5
	mov	r5,a
	clr	a
	subb	a,r6
	mov	r6,a
	clr	a
	subb	a,r7
	mov	r7,a
	clr	a
	subb	a,r4
	mov	r4,a
;	genPointerSet
;	genPagedPointerSet
	mov	r0,#_value
;	Peephole 236.g	used r5 instead of ar5
	mov	a,r5
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r6 instead of ar6
	mov	a,r6
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r7 instead of ar7
	mov	a,r7
	movx	@r0,a
	inc	r0
;	Peephole 236.g	used r4 instead of ar4
	mov	a,r4
	movx	@r0,a
;	genIpop
	pop	ar4
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00181$
00178$:
;	printf_large.c:676: signed_argument = 0;
;	genAssign
	clr	__print_format_signed_argument_1_1
00181$:
;	printf_large.c:680: lsd = 1;
;	genAssign
	setb	__print_format_lsd_1_1
;	printf_large.c:682: do {
;	genAssign
	mov	ar0,r4
;	genAssign
	mov	r2,#0x00
00185$:
;	printf_large.c:683: value.byte[4] = 0;
;	genPointerSet
;	genPagedPointerSet
	mov	r1,#(_value + 0x0004)
;	Peephole 181	changed mov to clr
	clr	a
	movx	@r1,a
;	printf_large.c:687: calculate_digit(radix);
;	genCall
	mov	r1,#__print_format_radix_1_1
	movx	a,@r1
	mov	dpl,a
	push	ar2
	push	ar0
	lcall	_calculate_digit
	pop	ar0
	pop	ar2
;	printf_large.c:689: if (!lsd)
;	genIfx
;	genIfxJump
;	Peephole 108.e	removed ljmp by inverse jump logic
	jb	__print_format_lsd_1_1,00183$
;	Peephole 300	removed redundant label 00372$
;	printf_large.c:691: *pstore = (value.byte[4] << 4) | (value.byte[4] >> 4) | *pstore;
;	genPointerGet
;	genPagedPointerGet
	mov	r1,#(_value + 0x0004)
	movx	a,@r1
;     genSwap
	mov	r6,a
;	Peephole 105	removed redundant mov
	swap	a
	mov	r6,a
;	genPointerGet
;	genPagedPointerGet
	movx	a,@r0
;	genOr
	mov	r7,a
;	Peephole 105	removed redundant mov
	orl	a,r6
;	genPointerSet
;	genPagedPointerSet
	movx	@r0,a
;	printf_large.c:692: pstore--;
;	genMinus
;	genMinusDec
	dec	r0
;	genAssign
	mov	ar4,r0
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00184$
00183$:
;	printf_large.c:696: *pstore = value.byte[4];
;	genPointerGet
;	genPagedPointerGet
	mov	r1,#(_value + 0x0004)
	movx	a,@r1
;	genPointerSet
;	genPagedPointerSet
	mov	r6,a
;	Peephole 177.b	removed redundant mov
	movx	@r0,a
00184$:
;	printf_large.c:698: length++;
;	genPlus
;     genPlusIncr
	inc	r2
;	genAssign
	mov	ar3,r2
;	printf_large.c:699: lsd = !lsd;
;	genNot
	cpl	__print_format_lsd_1_1
;	printf_large.c:700: } while( value.ul );
;	genPointerGet
;	genPagedPointerGet
	mov	r1,#_value
	movx	a,@r1
	mov	r3,a
	inc	r1
	movx	a,@r1
	mov	r4,a
	inc	r1
	movx	a,@r1
	mov	r5,a
	inc	r1
	movx	a,@r1
	mov	r6,a
;	genIfx
	mov	a,r3
	orl	a,r4
	orl	a,r5
	orl	a,r6
;	genIfxJump
;	Peephole 108.b	removed ljmp by inverse jump logic
	jnz	00185$
;	Peephole 300	removed redundant label 00373$
;	printf_large.c:702: if (width == 0)
;	genAssign
	mov	ar4,r0
;	genAssign
	mov	ar3,r2
;	genIfx
	mov	r0,#__print_format_width_1_1
	movx	a,@r0
;	genIfxJump
;	Peephole 108.b	removed ljmp by inverse jump logic
	jnz	00189$
;	Peephole 300	removed redundant label 00374$
;	printf_large.c:707: width=1;
;	genAssign
	mov	r0,#__print_format_width_1_1
	mov	a,#0x01
	movx	@r0,a
00189$:
;	printf_large.c:711: if (!zero_padding && !left_justify)
;	genIfx
;	genIfxJump
;	Peephole 108.e	removed ljmp by inverse jump logic
	jb	__print_format_zero_padding_1_1,00194$
;	Peephole 300	removed redundant label 00375$
;	genIfx
;	genIfxJump
;	Peephole 108.e	removed ljmp by inverse jump logic
	jb	__print_format_left_justify_1_1,00194$
;	Peephole 300	removed redundant label 00376$
;	printf_large.c:713: while ( width > (unsigned char) (length+1) )
;	genPlus
;     genPlusIncr
	mov	a,#0x01
;	Peephole 236.a	used r3 instead of ar3
	add	a,r3
	mov	r5,a
;	genAssign
	mov	r0,#__print_format_width_1_1
	movx	a,@r0
	mov	r6,a
00190$:
;	genCmpGt
;	genCmp
	clr	c
	mov	a,r5
	subb	a,r6
;	genIfxJump
;	Peephole 108.a	removed ljmp by inverse jump logic
	jnc	00317$
;	Peephole 300	removed redundant label 00377$
;	printf_large.c:715: OUTPUT_CHAR( ' ', p );
;	genCall
	mov	dpl,#0x20
	push	ar3
	push	ar4
	push	ar5
	push	ar6
	lcall	__output_char
	pop	ar6
	pop	ar5
	pop	ar4
	pop	ar3
;	printf_large.c:716: width--;
;	genMinus
;	genMinusDec
	dec	r6
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00190$
00317$:
;	genAssign
	mov	r0,#__print_format_width_1_1
	mov	a,r6
	movx	@r0,a
00194$:
;	printf_large.c:720: if (signed_argument) // this now means the original value was negative
;	genIfx
;	genIfxJump
;	Peephole 108.d	removed ljmp by inverse jump logic
	jnb	__print_format_signed_argument_1_1,00204$
;	Peephole 300	removed redundant label 00378$
;	printf_large.c:722: OUTPUT_CHAR( '-', p );
;	genCall
	mov	dpl,#0x2D
	push	ar3
	push	ar4
	lcall	__output_char
	pop	ar4
	pop	ar3
;	printf_large.c:724: width--;
;	genMinus
	mov	r0,#__print_format_width_1_1
;	genMinusDec
	movx	a,@r0
	dec	a
	movx	@r0,a
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00205$
00204$:
;	printf_large.c:726: else if (length != 0)
;	genCmpEq
;	gencjneshort
	cjne	r3,#0x00,00379$
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00205$
00379$:
;	printf_large.c:729: if (prefix_sign)
;	genIfx
;	genIfxJump
;	Peephole 108.d	removed ljmp by inverse jump logic
	jnb	__print_format_prefix_sign_1_1,00199$
;	Peephole 300	removed redundant label 00380$
;	printf_large.c:731: OUTPUT_CHAR( '+', p );
;	genCall
	mov	dpl,#0x2B
	push	ar3
	push	ar4
	lcall	__output_char
	pop	ar4
	pop	ar3
;	printf_large.c:733: width--;
;	genMinus
	mov	r0,#__print_format_width_1_1
;	genMinusDec
	movx	a,@r0
	dec	a
	movx	@r0,a
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00205$
00199$:
;	printf_large.c:735: else if (prefix_space)
;	genIfx
;	genIfxJump
;	Peephole 108.d	removed ljmp by inverse jump logic
	jnb	__print_format_prefix_space_1_1,00205$
;	Peephole 300	removed redundant label 00381$
;	printf_large.c:737: OUTPUT_CHAR( ' ', p );
;	genCall
	mov	dpl,#0x20
	push	ar3
	push	ar4
	lcall	__output_char
	pop	ar4
	pop	ar3
;	printf_large.c:739: width--;
;	genMinus
	mov	r0,#__print_format_width_1_1
;	genMinusDec
	movx	a,@r0
	dec	a
	movx	@r0,a
00205$:
;	printf_large.c:744: if (!left_justify)
;	genIfx
;	genIfxJump
;	Peephole 108.e	removed ljmp by inverse jump logic
	jb	__print_format_left_justify_1_1,00213$
;	Peephole 300	removed redundant label 00382$
;	printf_large.c:745: while ( width-- > length )
;	genAssign
	mov	r0,#__print_format_width_1_1
	movx	a,@r0
	mov	r5,a
00206$:
;	genAssign
	mov	ar6,r5
;	genMinus
;	genMinusDec
	dec	r5
;	genAssign
	mov	r0,#__print_format_width_1_1
	mov	a,r5
	movx	@r0,a
;	genCmpGt
;	genCmp
	clr	c
	mov	a,r3
	subb	a,r6
;	genIfxJump
;	Peephole 108.a	removed ljmp by inverse jump logic
	jnc	00318$
;	Peephole 300	removed redundant label 00383$
;	printf_large.c:747: OUTPUT_CHAR( zero_padding ? '0' : ' ', p );
;	genIfx
;	genIfxJump
;	Peephole 108.d	removed ljmp by inverse jump logic
	jnb	__print_format_zero_padding_1_1,00239$
;	Peephole 300	removed redundant label 00384$
;	genAssign
	mov	r6,#0x30
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00240$
00239$:
;	genAssign
	mov	r6,#0x20
00240$:
;	genCall
	mov	dpl,r6
	push	ar3
	push	ar4
	push	ar5
	lcall	__output_char
	pop	ar5
	pop	ar4
	pop	ar3
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00206$
00213$:
;	printf_large.c:752: if (width > length)
;	genCmpGt
	mov	r0,#__print_format_width_1_1
;	genCmp
	clr	c
	movx	a,@r0
	mov	b,a
	mov	a,r3
	subb	a,b
;	genIfxJump
;	Peephole 108.a	removed ljmp by inverse jump logic
	jnc	00210$
;	Peephole 300	removed redundant label 00385$
;	printf_large.c:753: width -= length;
;	genMinus
	mov	r0,#__print_format_width_1_1
	movx	a,@r0
	clr	c
;	Peephole 236.l	used r3 instead of ar3
	subb	a,r3
	movx	@r0,a
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00310$
00210$:
;	printf_large.c:755: width = 0;
;	genAssign
	mov	r0,#__print_format_width_1_1
;	Peephole 181	changed mov to clr
	clr	a
	movx	@r0,a
;	printf_large.c:792: return charsOutputted;
;	printf_large.c:759: while( length-- )
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00310$
00318$:
;	genAssign
	mov	r0,#__print_format_width_1_1
	mov	a,r5
	movx	@r0,a
00310$:
;	genAssign
	mov	ar0,r4
;	genAssign
00218$:
;	genAssign
	mov	ar4,r3
;	genMinus
;	genMinusDec
	dec	r3
;	genIfx
	mov	a,r4
;	genIfxJump
;	Peephole 108.c	removed ljmp by inverse jump logic
	jz	00220$
;	Peephole 300	removed redundant label 00386$
;	printf_large.c:761: lsd = !lsd;
;	genNot
	cpl	__print_format_lsd_1_1
;	printf_large.c:762: if (!lsd)
;	genIfx
;	genIfxJump
;	Peephole 108.e	removed ljmp by inverse jump logic
	jb	__print_format_lsd_1_1,00216$
;	Peephole 300	removed redundant label 00387$
;	printf_large.c:764: pstore++;
;	genPlus
;     genPlusIncr
	inc	r0
;	printf_large.c:765: value.byte[4] = *pstore >> 4;
;	genPointerGet
;	genPagedPointerGet
	movx	a,@r0
;	genRightShift
;	genRightShiftLiteral
;	genrshOne
	mov	r4,a
;	Peephole 105	removed redundant mov
	swap	a
	anl	a,#0x0f
;	genPointerSet
;	genPagedPointerSet
;	Peephole 236.g	used r4 instead of ar4
	mov	r4,a
	mov	r1,#(_value + 0x0004)
;	Peephole 177.d	removed redundant move
	movx	@r1,a
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00217$
00216$:
;	printf_large.c:769: value.byte[4] = *pstore & 0x0F;
;	genPointerGet
;	genPagedPointerGet
	movx	a,@r0
	mov	r4,a
;	genAnd
	anl	ar4,#0x0F
;	genPointerSet
;	genPagedPointerSet
	mov	r1,#(_value + 0x0004)
;	Peephole 236.g	used r4 instead of ar4
	mov	a,r4
	movx	@r1,a
00217$:
;	printf_large.c:775: output_digit( value.byte[4] );
;	genPointerGet
;	genPagedPointerGet
	mov	r1,#(_value + 0x0004)
	movx	a,@r1
;	genCall
	mov	r4,a
;	Peephole 244.c	loading dpl from a instead of r4
	mov	dpl,a
	push	ar3
	push	ar0
	lcall	_output_digit
	pop	ar0
	pop	ar3
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00218$
00220$:
;	printf_large.c:778: if (left_justify)
;	genIfx
;	genIfxJump
	jb	__print_format_left_justify_1_1,00388$
	ljmp	00234$
00388$:
;	printf_large.c:779: while (width-- > 0)
;	genAssign
	mov	r0,#__print_format_width_1_1
	movx	a,@r0
	mov	r3,a
00221$:
;	genAssign
	mov	ar4,r3
;	genMinus
;	genMinusDec
	dec	r3
;	genIfx
	mov	a,r4
;	genIfxJump
	jnz	00389$
	ljmp	00234$
00389$:
;	printf_large.c:781: OUTPUT_CHAR(' ', p);
;	genCall
	mov	dpl,#0x20
	push	ar3
	lcall	__output_char
	pop	ar3
;	Peephole 112.b	changed ljmp to sjmp
	sjmp	00221$
00232$:
;	printf_large.c:788: OUTPUT_CHAR( c, p );
;	genCall
	mov	dpl,r2
	lcall	__output_char
	ljmp	00234$
00236$:
;	printf_large.c:792: return charsOutputted;
;	genRet
	mov	r0,#_charsOutputted
	movx	a,@r0
	mov	dpl,a
	inc	r0
	movx	a,@r0
	mov	dph,a
;	Peephole 300	removed redundant label 00237$
	ret
	.area CSEG    (CODE)
	.area CONST   (CODE)
__str_0:
	.ascii "<NO FLOAT>"
	.db 0x00
	.area XINIT   (CODE)
