;--------------------------------------------------------
; File Created by SDCC : FreeWare ANSI-C Compiler
; Version 2.5.0 #1020 (Oct 16 2005)
; This file generated Sun Oct 16 22:35:20 2005
;--------------------------------------------------------
	.module printf_large
	.optsdcc -mhc08
	
	.area CSEG (CODE)
	.area GSINIT0 (CODE)
	.area GSINIT (CODE)
	.area GSFINAL (CODE)
	.area XINIT
	.area DSEG
	.area OSEG    (OVR)
	.area BSEG
	.area XSEG
	.area XISEG
;--------------------------------------------------------
; Public variables in this module
;--------------------------------------------------------
	.globl __print_format_PARM_4
	.globl __print_format_PARM_3
	.globl __print_format_PARM_2
	.globl __print_format
;--------------------------------------------------------
;  ram data
;--------------------------------------------------------
	.area DSEG
_output_digit_sloc0_1_0::
	.ds 1
_output_digit_sloc1_1_0::
	.ds 1
__print_format_sloc0_1_0::
	.ds 2
__print_format_sloc1_1_0::
	.ds 1
__print_format_sloc2_1_0::
	.ds 1
__print_format_sloc3_1_0::
	.ds 2
__print_format_sloc4_1_0::
	.ds 2
__print_format_sloc5_1_0::
	.ds 4
__print_format_sloc6_1_0::
	.ds 4
;--------------------------------------------------------
; overlayable items in  ram 
;--------------------------------------------------------
	.area	OSEG    (OVR)
_calculate_digit_sloc0_1_0::
	.ds 1
_calculate_digit_sloc1_1_0::
	.ds 1
_calculate_digit_sloc2_1_0::
	.ds 4
;--------------------------------------------------------
; external initialized ram data
;--------------------------------------------------------
	.area XISEG
;--------------------------------------------------------
; extended address mode data
;--------------------------------------------------------
	.area XSEG
_lower_case:
	.ds 1
_output_char:
	.ds 2
_p:
	.ds 2
_value:
	.ds 5
_output_digit_n_1_1::
	.ds 1
_output_2digits_b_1_1::
	.ds 1
_calculate_digit_radix_1_1::
	.ds 1
__print_format_PARM_2::
	.ds 2
__print_format_PARM_3::
	.ds 2
__print_format_PARM_4::
	.ds 2
__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
__print_format_radix_1_1::
	.ds 1
__print_format_charsOutputted_1_1::
	.ds 2
__print_format_width_1_1::
	.ds 1
__print_format_decimals_1_1::
	.ds 1
__print_format_length_1_1::
	.ds 1
__print_format_c_1_1::
	.ds 1
__print_format_store_4_20::
	.ds 6
__print_format_pstore_4_20::
	.ds 2
;--------------------------------------------------------
; global & static initialisations
;--------------------------------------------------------
	.area CSEG (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_digit'
;------------------------------------------------------------
;sloc0                     Allocated with name '_output_digit_sloc0_1_0'
;sloc1                     Allocated with name '_output_digit_sloc1_1_0'
;n                         Allocated with name '_output_digit_n_1_1'
;------------------------------------------------------------
;printf_large.c:80: static void output_digit( unsigned char n )
;	-----------------------------------------
;	 function output_digit
;	-----------------------------------------
_output_digit:
	sta	_output_digit_n_1_1
;printf_large.c:83: output_char( n <= 9 ? '0'+n :
	lda	#0x09
	cmp	_output_digit_n_1_1
	clra
	rola
	tsta
	beq	00109$
	lda	#0x01
00109$:
	eor	#0x01
	tsta
; Peephole 2d	- eliminated jmp
	beq	00103$
00110$:
	lda	_output_digit_n_1_1
	add	#0x30
	sta	*_output_digit_sloc0_1_0
; Peephole 3	- shortened jmp to bra
	bra	00104$
00103$:
;printf_large.c:84: (lower_case ? n+(char)('a'-10) : n+(char)('A'-10)), p );
	lda	_lower_case
; Peephole 2d	- eliminated jmp
	beq	00105$
00111$:
	lda	_output_digit_n_1_1
	add	#0x57
	sta	*_output_digit_sloc1_1_0
; Peephole 3	- shortened jmp to bra
	bra	00106$
00105$:
	lda	_output_digit_n_1_1
	add	#0x37
	sta	*_output_digit_sloc1_1_0
00106$:
	mov	*_output_digit_sloc1_1_0,*_output_digit_sloc0_1_0
00104$:
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00113$
	bra	00112$
00113$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	*_output_digit_sloc0_1_0
	rts
00112$:
	ais	#2
00101$:
	rts
;------------------------------------------------------------
;Allocation info for local variables in function 'output_2digits'
;------------------------------------------------------------
;b                         Allocated with name '_output_2digits_b_1_1'
;------------------------------------------------------------
;printf_large.c:98: static void output_2digits( unsigned char b )
;	-----------------------------------------
;	 function output_2digits
;	-----------------------------------------
_output_2digits:
	sta	_output_2digits_b_1_1
;printf_large.c:100: output_digit( b>>4   );
	lda	_output_2digits_b_1_1
	nsa	
	and	#0x0f
	jsr	_output_digit
;printf_large.c:101: output_digit( b&0x0F );
	lda	_output_2digits_b_1_1
	and	#0x0F
	jsr	_output_digit
00101$:
	rts
;------------------------------------------------------------
;Allocation info for local variables in function 'calculate_digit'
;------------------------------------------------------------
;radix                     Allocated with name '_calculate_digit_radix_1_1'
;i                         Allocated to registers 
;sloc0                     Allocated with name '_calculate_digit_sloc0_1_0'
;sloc1                     Allocated with name '_calculate_digit_sloc1_1_0'
;sloc2                     Allocated with name '_calculate_digit_sloc2_1_0'
;------------------------------------------------------------
;printf_large.c:125: static void calculate_digit( unsigned char radix )
;	-----------------------------------------
;	 function calculate_digit
;	-----------------------------------------
_calculate_digit:
	sta	_calculate_digit_radix_1_1
;printf_large.c:129: for( i = 32; i != 0; i-- )
	mov	#0x20,*_calculate_digit_sloc0_1_0
00103$:
	lda	*_calculate_digit_sloc0_1_0
	cmp	#0x00
	bne	00112$
; Peephole 6a  - replaced jmp to rts with rts
	rts
00112$:
;printf_large.c:131: value.byte[4] = (value.byte[4] << 1) | ((value.ul >> 31) & 0x01);
	lda	(_value + 0x0004)
	lsla	
	sta	*_calculate_digit_sloc1_1_0
	lda	_value
	sta	*_calculate_digit_sloc2_1_0
	lda	(_value + 1)
	sta	*(_calculate_digit_sloc2_1_0 + 1)
	lda	(_value + 2)
	sta	*(_calculate_digit_sloc2_1_0 + 2)
	lda	(_value + 3)
	sta	*(_calculate_digit_sloc2_1_0 + 3)
	lda	*_calculate_digit_sloc2_1_0
	rola
	clra
	rola
	ora	*_calculate_digit_sloc1_1_0
	sta	(_value + 0x0004)
;printf_large.c:132: value.ul <<= 1;
	lda	_value
	sta	*_calculate_digit_sloc2_1_0
	lda	(_value + 1)
	sta	*(_calculate_digit_sloc2_1_0 + 1)
	lda	(_value + 2)
	sta	*(_calculate_digit_sloc2_1_0 + 2)
	lda	(_value + 3)
	sta	*(_calculate_digit_sloc2_1_0 + 3)
	lda	*(_calculate_digit_sloc2_1_0 + 3)
	ldx	*(_calculate_digit_sloc2_1_0 + 2)
	lsla
	rolx
	sta	*(_calculate_digit_sloc2_1_0 + 3)
	stx	*(_calculate_digit_sloc2_1_0 + 2)
	lda	*(_calculate_digit_sloc2_1_0 + 1)
	ldx	*_calculate_digit_sloc2_1_0
	rola
	rolx
	sta	*(_calculate_digit_sloc2_1_0 + 1)
	stx	*_calculate_digit_sloc2_1_0
	lda	*_calculate_digit_sloc2_1_0
	sta	_value
	lda	*(_calculate_digit_sloc2_1_0 + 1)
	sta	(_value + 1)
	lda	*(_calculate_digit_sloc2_1_0 + 2)
	sta	(_value + 2)
	lda	*(_calculate_digit_sloc2_1_0 + 3)
	sta	(_value + 3)
;printf_large.c:134: if (radix <= value.byte[4] )
	lda	(_value + 0x0004)
	cmp	_calculate_digit_radix_1_1
; Peephole 2b	- eliminated jmp
	bcs	00105$
00113$:
;printf_large.c:136: value.byte[4] -= radix;
	lda	(_value + 0x0004)
	sub	_calculate_digit_radix_1_1
	sta	(_value + 0x0004)
;printf_large.c:137: value.ul |= 1;
	lda	_value
	sta	*_calculate_digit_sloc2_1_0
	lda	(_value + 1)
	sta	*(_calculate_digit_sloc2_1_0 + 1)
	lda	(_value + 2)
	sta	*(_calculate_digit_sloc2_1_0 + 2)
	lda	(_value + 3)
	sta	*(_calculate_digit_sloc2_1_0 + 3)
	bset	#0,*(_calculate_digit_sloc2_1_0 + 3)
	lda	*_calculate_digit_sloc2_1_0
	sta	_value
	lda	*(_calculate_digit_sloc2_1_0 + 1)
	sta	(_value + 1)
	lda	*(_calculate_digit_sloc2_1_0 + 2)
	sta	(_value + 2)
	lda	*(_calculate_digit_sloc2_1_0 + 3)
	sta	(_value + 3)
00105$:
;printf_large.c:129: for( i = 32; i != 0; i-- )
	dec	*_calculate_digit_sloc0_1_0
	jmp	00103$
00107$:
	rts
;------------------------------------------------------------
;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'
;sloc3                     Allocated with name '__print_format_sloc3_1_0'
;sloc4                     Allocated with name '__print_format_sloc4_1_0'
;sloc5                     Allocated with name '__print_format_sloc5_1_0'
;sloc6                     Allocated with name '__print_format_sloc6_1_0'
;pvoid                     Allocated with name '__print_format_PARM_2'
;format                    Allocated with name '__print_format_PARM_3'
;ap                        Allocated with name '__print_format_PARM_4'
;pfn                       Allocated to registers 
;left_justify              Allocated with name '__print_format_left_justify_1_1'
;zero_padding              Allocated with name '__print_format_zero_padding_1_1'
;prefix_sign               Allocated with name '__print_format_prefix_sign_1_1'
;prefix_space              Allocated with name '__print_format_prefix_space_1_1'
;signed_argument           Allocated with name '__print_format_signed_argument_1_1'
;char_argument             Allocated with name '__print_format_char_argument_1_1'
;long_argument             Allocated with name '__print_format_long_argument_1_1'
;float_argument            Allocated with name '__print_format_float_argument_1_1'
;lsd                       Allocated with name '__print_format_lsd_1_1'
;radix                     Allocated with name '__print_format_radix_1_1'
;charsOutputted            Allocated with name '__print_format_charsOutputted_1_1'
;width                     Allocated with name '__print_format_width_1_1'
;decimals                  Allocated with name '__print_format_decimals_1_1'
;length                    Allocated with name '__print_format_length_1_1'
;c                         Allocated with name '__print_format_c_1_1'
;store                     Allocated with name '__print_format_store_4_20'
;pstore                    Allocated with name '__print_format_pstore_4_20'
;------------------------------------------------------------
;printf_large.c:339: int _print_format (pfn_outputchar pfn, void* pvoid, const char *format, va_list ap)
;	-----------------------------------------
;	 function _print_format
;	-----------------------------------------
__print_format:
	sta	(_output_char + 1)
	stx	_output_char
;printf_large.c:367: p = pvoid;
	lda	__print_format_PARM_2
	sta	_p
	lda	(__print_format_PARM_2 + 1)
	sta	(_p + 1)
;printf_large.c:371: charsOutputted=0;
; Peephole 5c   - eliminated redundant clra
	clra
	sta	__print_format_charsOutputted_1_1
	sta	(__print_format_charsOutputted_1_1 + 1)
;printf_large.c:379: while( c=*format++ )
00221$:
	lda	__print_format_PARM_3
	sta	*__print_format_sloc0_1_0
	lda	(__print_format_PARM_3 + 1)
	sta	*(__print_format_sloc0_1_0 + 1)
	ldhx	*__print_format_sloc0_1_0
	lda	,x
	sta	*__print_format_sloc1_1_0
	lda	*(__print_format_sloc0_1_0 + 1)
	add	#0x01
	sta	(__print_format_PARM_3 + 1)
	lda	*__print_format_sloc0_1_0
	adc	#0x00
	sta	__print_format_PARM_3
	lda	*__print_format_sloc1_1_0
	sta	__print_format_c_1_1
	tst	*__print_format_sloc1_1_0
	bne	00297$
	jmp	00223$
00297$:
;printf_large.c:381: if ( c=='%' )
	lda	__print_format_c_1_1
	cmp	#0x25
	bne	00298$
	bra	00299$
00298$:
	jmp	00219$
00299$:
;printf_large.c:383: left_justify    = 0;
;printf_large.c:384: zero_padding    = 0;
;printf_large.c:385: prefix_sign     = 0;
;printf_large.c:386: prefix_space    = 0;
; Peephole 5a   - eliminated redundant clra
	clra
	sta	__print_format_left_justify_1_1
	sta	__print_format_zero_padding_1_1
	sta	__print_format_prefix_sign_1_1
	sta	__print_format_prefix_space_1_1
;printf_large.c:387: signed_argument = 0;
;printf_large.c:388: radix           = 0;
;printf_large.c:389: char_argument   = 0;
;printf_large.c:390: long_argument   = 0;
; Peephole 5a   - eliminated redundant clra
	clra
	sta	__print_format_signed_argument_1_1
	sta	__print_format_radix_1_1
	sta	__print_format_char_argument_1_1
	sta	__print_format_long_argument_1_1
;printf_large.c:391: float_argument  = 0;
;printf_large.c:392: width           = 0;
;printf_large.c:393: decimals        = -1;
; Peephole 5b   - eliminated redundant clra
	clra
	sta	__print_format_float_argument_1_1
	sta	__print_format_width_1_1
	sta	__print_format_decimals_1_1
;printf_large.c:395: get_conversion_spec:
	lda	__print_format_PARM_3
	sta	*__print_format_sloc0_1_0
	lda	(__print_format_PARM_3 + 1)
	sta	*(__print_format_sloc0_1_0 + 1)
00101$:
;printf_large.c:397: c = *format++;
	ldhx	*__print_format_sloc0_1_0
	lda	,x
	aix	#1
	sta	__print_format_c_1_1
	sthx	*__print_format_sloc0_1_0
	lda	*__print_format_sloc0_1_0
	sta	__print_format_PARM_3
	lda	*(__print_format_sloc0_1_0 + 1)
	sta	(__print_format_PARM_3 + 1)
;printf_large.c:399: if (c=='%') {
	lda	__print_format_c_1_1
	cmp	#0x25
	bne	00300$
	bra	00301$
00300$:
; Peephole 3	- shortened jmp to bra
	bra	00103$
00301$:
;printf_large.c:400: output_char(c, p);
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00303$
	bra	00302$
00303$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	__print_format_c_1_1
	rts
00302$:
	ais	#2
;printf_large.c:401: charsOutputted++;
	lda	(__print_format_charsOutputted_1_1 + 1)
	inca
	sta	(__print_format_charsOutputted_1_1 + 1)
	bne	00304$
	lda	__print_format_charsOutputted_1_1
	inca
	sta	__print_format_charsOutputted_1_1
00304$:
;printf_large.c:402: continue;
	jmp	00221$
00103$:
;printf_large.c:405: if (isdigit(c)) {
	lda	__print_format_c_1_1
	jsr	_isdigit
	tsta
; Peephole 2d	- eliminated jmp
	beq	00110$
00305$:
;printf_large.c:406: if (decimals==-1) {
	lda	__print_format_decimals_1_1
	cmp	#0x00
	bne	00306$
	bra	00307$
00306$:
; Peephole 3	- shortened jmp to bra
	bra	00107$
00307$:
;printf_large.c:407: width = 10*width + (c - '0');
	lda	__print_format_width_1_1
	ldx	#0x0A
	mul
	sta	*__print_format_sloc1_1_0
	lda	__print_format_c_1_1
	sub	#0x30
	add	*__print_format_sloc1_1_0
	sta	__print_format_width_1_1
;printf_large.c:408: if (width == 0) {
	lda	__print_format_width_1_1
	cmp	#0x00
	bne	00308$
	bra	00309$
00308$:
	jmp	00101$
00309$:
;printf_large.c:410: zero_padding = 1;
	lda	#0x01
	sta	__print_format_zero_padding_1_1
	jmp	00101$
00107$:
;printf_large.c:413: decimals = 10*decimals + (c-'0');
	lda	__print_format_decimals_1_1
	ldx	#0x0A
	mul
	sta	*__print_format_sloc1_1_0
	lda	__print_format_c_1_1
	sub	#0x30
	add	*__print_format_sloc1_1_0
	sta	__print_format_decimals_1_1
;printf_large.c:415: goto get_conversion_spec;
	jmp	00101$
00110$:
;printf_large.c:418: if (c=='.') {
	lda	__print_format_c_1_1
	cmp	#0x2E
	bne	00310$
	bra	00311$
00310$:
; Peephole 3	- shortened jmp to bra
	bra	00114$
00311$:
;printf_large.c:419: if (decimals=-1) decimals=0;
	clra
	sta	__print_format_decimals_1_1
;printf_large.c:422: goto get_conversion_spec;
	jmp	00101$
00114$:
;printf_large.c:425: lower_case = islower(c);
	lda	__print_format_c_1_1
	jsr	_islower
	sta	*__print_format_sloc1_1_0
	lda	*__print_format_sloc1_1_0
	sta	_lower_case
;printf_large.c:426: if (lower_case)
	tst	*__print_format_sloc1_1_0
; Peephole 2d	- eliminated jmp
	beq	00116$
00312$:
;printf_large.c:428: c = toupper(c);
	clra
	sta	__print_format_c_1_1
00116$:
;printf_large.c:431: switch( c )
	lda	__print_format_c_1_1
	cmp	#0x20
	bne	00313$
	jmp	00119$
00313$:
	lda	__print_format_c_1_1
	cmp	#0x2B
	bne	00314$
	jmp	00118$
00314$:
	lda	__print_format_c_1_1
	cmp	#0x2D
	bne	00315$
	jmp	00117$
00315$:
	lda	__print_format_c_1_1
	cmp	#0x42
	bne	00316$
	jmp	00120$
00316$:
	lda	__print_format_c_1_1
	cmp	#0x43
	bne	00317$
	jmp	00122$
00317$:
	lda	__print_format_c_1_1
	cmp	#0x44
	bne	00318$
	jmp	00144$
00318$:
	lda	__print_format_c_1_1
	cmp	#0x46
	bne	00319$
	jmp	00148$
00319$:
	lda	__print_format_c_1_1
	cmp	#0x49
	bne	00320$
	jmp	00144$
00320$:
	lda	__print_format_c_1_1
	cmp	#0x4C
; Peephole 2d	- eliminated jmp
	beq	00121$
00321$:
	lda	__print_format_c_1_1
	cmp	#0x4F
	bne	00322$
	jmp	00145$
00322$:
	lda	__print_format_c_1_1
	cmp	#0x50
	bne	00323$
	jmp	00139$
00323$:
	lda	__print_format_c_1_1
	cmp	#0x53
	bne	00324$
	jmp	00123$
00324$:
	lda	__print_format_c_1_1
	cmp	#0x55
	bne	00325$
	jmp	00146$
00325$:
	lda	__print_format_c_1_1
	cmp	#0x58
	bne	00326$
	jmp	00147$
00326$:
	jmp	00149$
;printf_large.c:433: case '-':
00117$:
;printf_large.c:434: left_justify = 1;
	lda	#0x01
	sta	__print_format_left_justify_1_1
;printf_large.c:435: goto get_conversion_spec;
	jmp	00101$
;printf_large.c:436: case '+':
00118$:
;printf_large.c:437: prefix_sign = 1;
	lda	#0x01
	sta	__print_format_prefix_sign_1_1
;printf_large.c:438: goto get_conversion_spec;
	jmp	00101$
;printf_large.c:439: case ' ':
00119$:
;printf_large.c:440: prefix_space = 1;
	lda	#0x01
	sta	__print_format_prefix_space_1_1
;printf_large.c:441: goto get_conversion_spec;
	jmp	00101$
;printf_large.c:442: case 'B':
00120$:
;printf_large.c:443: char_argument = 1;
	lda	#0x01
	sta	__print_format_char_argument_1_1
;printf_large.c:444: goto get_conversion_spec;
	jmp	00101$
;printf_large.c:445: case 'L':
00121$:
;printf_large.c:446: long_argument = 1;
	lda	#0x01
	sta	__print_format_long_argument_1_1
;printf_large.c:447: goto get_conversion_spec;
	jmp	00101$
;printf_large.c:449: case 'C':
00122$:
;printf_large.c:450: output_char( va_arg(ap,int), p );
	lda	(__print_format_PARM_4 + 1)
	add	#0x02
	sta	*(__print_format_sloc0_1_0 + 1)
	lda	__print_format_PARM_4
	adc	#0x00
	sta	*__print_format_sloc0_1_0
	lda	*__print_format_sloc0_1_0
	sta	__print_format_PARM_4
	lda	*(__print_format_sloc0_1_0 + 1)
	sta	(__print_format_PARM_4 + 1)
	lda	*(__print_format_sloc0_1_0 + 1)
	sub	#0x02
	sta	*(__print_format_sloc0_1_0 + 1)
	lda	*__print_format_sloc0_1_0
	sbc	#0x00
	sta	*__print_format_sloc0_1_0
	ldhx	*__print_format_sloc0_1_0
	lda	,x
	aix	#1
	sta	*__print_format_sloc0_1_0
	lda	,x
	sta	*(__print_format_sloc0_1_0 + 1)
	mov	*(__print_format_sloc0_1_0 + 1),*__print_format_sloc1_1_0
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00328$
	bra	00327$
00328$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	*__print_format_sloc1_1_0
	rts
00327$:
	ais	#2
;printf_large.c:451: charsOutputted++;
	lda	(__print_format_charsOutputted_1_1 + 1)
	inca
	sta	(__print_format_charsOutputted_1_1 + 1)
	bne	00329$
	lda	__print_format_charsOutputted_1_1
	inca
	sta	__print_format_charsOutputted_1_1
00329$:
;printf_large.c:452: break;
	jmp	00150$
;printf_large.c:454: case 'S':
00123$:
;printf_large.c:455: PTR = va_arg(ap,ptr_t);
	lda	(__print_format_PARM_4 + 1)
	add	#0x02
	sta	*(__print_format_sloc0_1_0 + 1)
	lda	__print_format_PARM_4
	adc	#0x00
	sta	*__print_format_sloc0_1_0
	lda	*__print_format_sloc0_1_0
	sta	__print_format_PARM_4
	lda	*(__print_format_sloc0_1_0 + 1)
	sta	(__print_format_PARM_4 + 1)
	lda	*(__print_format_sloc0_1_0 + 1)
	sub	#0x02
	sta	*(__print_format_sloc0_1_0 + 1)
	lda	*__print_format_sloc0_1_0
	sbc	#0x00
	sta	*__print_format_sloc0_1_0
	ldhx	*__print_format_sloc0_1_0
	lda	,x
	aix	#1
	sta	*__print_format_sloc0_1_0
	lda	,x
	sta	*(__print_format_sloc0_1_0 + 1)
	lda	*__print_format_sloc0_1_0
	sta	_value
	lda	*(__print_format_sloc0_1_0 + 1)
	sta	(_value + 1)
;printf_large.c:465: length = strlen(PTR);
	lda	_value
	sta	*__print_format_sloc0_1_0
	lda	(_value + 1)
	sta	*(__print_format_sloc0_1_0 + 1)
	ldx	*__print_format_sloc0_1_0
	lda	*(__print_format_sloc0_1_0 + 1)
	jsr	_strlen
	sta	*(__print_format_sloc0_1_0 + 1)
	stx	*__print_format_sloc0_1_0
	lda	*(__print_format_sloc0_1_0 + 1)
	sta	__print_format_length_1_1
;printf_large.c:467: if ( ( !left_justify ) && (length < width) )
	lda	__print_format_left_justify_1_1
	beq	00330$
	jmp	00259$
00330$:
	lda	__print_format_length_1_1
	cmp	__print_format_width_1_1
	bcs	00331$
	jmp	00259$
00331$:
;printf_large.c:469: width -= length;
	lda	__print_format_width_1_1
	sub	__print_format_length_1_1
	sta	__print_format_width_1_1
;printf_large.c:470: while( width-- != 0 )
	lda	__print_format_charsOutputted_1_1
	sta	*__print_format_sloc0_1_0
	lda	(__print_format_charsOutputted_1_1 + 1)
	sta	*(__print_format_sloc0_1_0 + 1)
	lda	__print_format_width_1_1
	sta	*__print_format_sloc1_1_0
00124$:
	mov	*__print_format_sloc1_1_0,*__print_format_sloc2_1_0
	dec	*__print_format_sloc1_1_0
	lda	*__print_format_sloc1_1_0
	sta	__print_format_width_1_1
	lda	*__print_format_sloc2_1_0
	cmp	#0x00
	bne	00332$
	lda	#0x01
	bra	00333$
00332$:
	clra
00333$:
	sta	*__print_format_sloc2_1_0
	lda	*__print_format_sloc0_1_0
	sta	__print_format_charsOutputted_1_1
	lda	*(__print_format_sloc0_1_0 + 1)
	sta	(__print_format_charsOutputted_1_1 + 1)
	tst	*__print_format_sloc2_1_0
; Peephole 2c	- eliminated jmp
	bne	00259$
00334$:
;printf_large.c:472: output_char( ' ', p );
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00336$
	bra	00335$
00336$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	#0x20
	rts
00335$:
	ais	#2
;printf_large.c:473: charsOutputted++;
	ldhx	*__print_format_sloc0_1_0
	aix	#1
	sthx	*__print_format_sloc0_1_0
; Peephole 3	- shortened jmp to bra
	bra	00124$
;printf_large.c:477: while ( *PTR )
00259$:
	lda	__print_format_charsOutputted_1_1
	sta	*__print_format_sloc0_1_0
	lda	(__print_format_charsOutputted_1_1 + 1)
	sta	*(__print_format_sloc0_1_0 + 1)
00130$:
	lda	_value
	sta	*__print_format_sloc3_1_0
	lda	(_value + 1)
	sta	*(__print_format_sloc3_1_0 + 1)
	ldhx	*__print_format_sloc3_1_0
	lda	,x
	sta	*__print_format_sloc3_1_0
	lda	*__print_format_sloc0_1_0
	sta	__print_format_charsOutputted_1_1
	lda	*(__print_format_sloc0_1_0 + 1)
	sta	(__print_format_charsOutputted_1_1 + 1)
	tst	*__print_format_sloc3_1_0
; Peephole 2d	- eliminated jmp
	beq	00132$
00337$:
;printf_large.c:479: output_char( *PTR++, p );
	lda	_value
	sta	*__print_format_sloc3_1_0
	lda	(_value + 1)
	sta	*(__print_format_sloc3_1_0 + 1)
	ldhx	*__print_format_sloc3_1_0
	aix	#1
	sthx	*__print_format_sloc4_1_0
	lda	*__print_format_sloc4_1_0
	sta	_value
	lda	*(__print_format_sloc4_1_0 + 1)
	sta	(_value + 1)
	ldhx	*__print_format_sloc3_1_0
	lda	,x
	sta	*__print_format_sloc4_1_0
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00339$
	bra	00338$
00339$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	*__print_format_sloc4_1_0
	rts
00338$:
	ais	#2
;printf_large.c:480: charsOutputted++;
	ldhx	*__print_format_sloc0_1_0
	aix	#1
	sthx	*__print_format_sloc0_1_0
	jmp	00130$
00132$:
;printf_large.c:483: if ( left_justify && (length < width))
	lda	__print_format_left_justify_1_1
	bne	00340$
	jmp	00150$
00340$:
	lda	__print_format_length_1_1
	cmp	__print_format_width_1_1
	bcs	00341$
	jmp	00150$
00341$:
;printf_large.c:485: width -= length;
	lda	__print_format_width_1_1
	sub	__print_format_length_1_1
	sta	__print_format_width_1_1
;printf_large.c:486: while( width-- != 0 )
	mov	*__print_format_sloc0_1_0,*__print_format_sloc4_1_0
	mov	*(__print_format_sloc0_1_0 + 1),*(__print_format_sloc4_1_0 + 1)
	lda	__print_format_width_1_1
	sta	*__print_format_sloc3_1_0
00133$:
	mov	*__print_format_sloc3_1_0,*__print_format_sloc2_1_0
	dec	*__print_format_sloc3_1_0
	lda	*__print_format_sloc3_1_0
	sta	__print_format_width_1_1
	lda	*__print_format_sloc2_1_0
	cmp	#0x00
	bne	00342$
	lda	#0x01
	bra	00343$
00342$:
	clra
00343$:
	sta	*__print_format_sloc2_1_0
	lda	*__print_format_sloc4_1_0
	sta	__print_format_charsOutputted_1_1
	lda	*(__print_format_sloc4_1_0 + 1)
	sta	(__print_format_charsOutputted_1_1 + 1)
	tst	*__print_format_sloc2_1_0
	beq	00344$
	jmp	00150$
00344$:
;printf_large.c:488: output_char( ' ', p );
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00346$
	bra	00345$
00346$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	#0x20
	rts
00345$:
	ais	#2
;printf_large.c:489: charsOutputted++;
	ldhx	*__print_format_sloc4_1_0
	aix	#1
	sthx	*__print_format_sloc4_1_0
; Peephole 3	- shortened jmp to bra
	bra	00133$
;printf_large.c:494: case 'P':
00139$:
;printf_large.c:495: PTR = va_arg(ap,ptr_t);
	lda	(__print_format_PARM_4 + 1)
	add	#0x02
	sta	*(__print_format_sloc4_1_0 + 1)
	lda	__print_format_PARM_4
	adc	#0x00
	sta	*__print_format_sloc4_1_0
	lda	*__print_format_sloc4_1_0
	sta	__print_format_PARM_4
	lda	*(__print_format_sloc4_1_0 + 1)
	sta	(__print_format_PARM_4 + 1)
	lda	*(__print_format_sloc4_1_0 + 1)
	sub	#0x02
	sta	*(__print_format_sloc4_1_0 + 1)
	lda	*__print_format_sloc4_1_0
	sbc	#0x00
	sta	*__print_format_sloc4_1_0
	ldhx	*__print_format_sloc4_1_0
	lda	,x
	aix	#1
	sta	*__print_format_sloc4_1_0
	lda	,x
	sta	*(__print_format_sloc4_1_0 + 1)
	lda	*__print_format_sloc4_1_0
	sta	_value
	lda	*(__print_format_sloc4_1_0 + 1)
	sta	(_value + 1)
;printf_large.c:507: output_char( memory_id[(value.byte[2] > 3) ? 4 : value.byte[2]], p );
	lda	(_value + 0x0002)
	lda	#0x03
	psha
	cmp	1,s
	ais	#1
; Peephole 2a	- eliminated jmp
	bcc	00226$
00347$:
	mov	#0x04,*__print_format_sloc4_1_0
; Peephole 3	- shortened jmp to bra
	bra	00227$
00226$:
	lda	(_value + 0x0002)
	sta	*__print_format_sloc4_1_0
00227$:
	ldx	*__print_format_sloc4_1_0
	clrh
	lda	_memory_id,x
	sta	*__print_format_sloc4_1_0
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00349$
	bra	00348$
00349$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	*__print_format_sloc4_1_0
	rts
00348$:
	ais	#2
;printf_large.c:508: output_char(':', p);
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00351$
	bra	00350$
00351$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	#0x3A
	rts
00350$:
	ais	#2
;printf_large.c:509: output_char('0', p);
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00353$
	bra	00352$
00353$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	#0x30
	rts
00352$:
	ais	#2
;printf_large.c:510: output_char('x', p);
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00355$
	bra	00354$
00355$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	#0x78
	rts
00354$:
	ais	#2
;printf_large.c:511: if ((value.byte[2] != 0x00 /* DSEG */) &&
	lda	(_value + 0x0002)
	cmp	#0x00
; Peephole 2d	- eliminated jmp
	beq	00141$
00356$:
;printf_large.c:512: (value.byte[2] != 0x03 /* SSEG */))
	lda	(_value + 0x0002)
	cmp	#0x03
; Peephole 2d	- eliminated jmp
	beq	00141$
00357$:
;printf_large.c:514: OUTPUT_2DIGITS( value.byte[1] );
	lda	(_value + 0x0001)
	jsr	_output_2digits
;printf_large.c:515: charsOutputted += 2;
	lda	(__print_format_charsOutputted_1_1 + 1)
	add	#0x02
	sta	(__print_format_charsOutputted_1_1 + 1)
	bcc	00358$
	lda	__print_format_charsOutputted_1_1
	inca
	sta	__print_format_charsOutputted_1_1
00358$:
00141$:
;printf_large.c:517: OUTPUT_2DIGITS( value.byte[0] );
	lda	_value
	jsr	_output_2digits
;printf_large.c:518: charsOutputted += 6;
	lda	(__print_format_charsOutputted_1_1 + 1)
	add	#0x06
	sta	(__print_format_charsOutputted_1_1 + 1)
	bcc	00359$
	lda	__print_format_charsOutputted_1_1
	inca
	sta	__print_format_charsOutputted_1_1
00359$:
;printf_large.c:520: break;
; Peephole 3	- shortened jmp to bra
	bra	00150$
;printf_large.c:523: case 'I':
00144$:
;printf_large.c:524: signed_argument = 1;
	lda	#0x01
	sta	__print_format_signed_argument_1_1
;printf_large.c:525: radix = 10;
	lda	#0x0A
	sta	__print_format_radix_1_1
;printf_large.c:526: break;
; Peephole 3	- shortened jmp to bra
	bra	00150$
;printf_large.c:528: case 'O':
00145$:
;printf_large.c:529: radix = 8;
	lda	#0x08
	sta	__print_format_radix_1_1
;printf_large.c:530: break;
; Peephole 3	- shortened jmp to bra
	bra	00150$
;printf_large.c:532: case 'U':
00146$:
;printf_large.c:533: radix = 10;
	lda	#0x0A
	sta	__print_format_radix_1_1
;printf_large.c:534: break;
; Peephole 3	- shortened jmp to bra
	bra	00150$
;printf_large.c:536: case 'X':
00147$:
;printf_large.c:537: radix = 16;
	lda	#0x10
	sta	__print_format_radix_1_1
;printf_large.c:538: break;
; Peephole 3	- shortened jmp to bra
	bra	00150$
;printf_large.c:540: case 'F':
00148$:
;printf_large.c:541: float_argument=1;
	lda	#0x01
	sta	__print_format_float_argument_1_1
;printf_large.c:542: break;
; Peephole 3	- shortened jmp to bra
	bra	00150$
;printf_large.c:544: default:
00149$:
;printf_large.c:546: output_char( c, p );
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00361$
	bra	00360$
00361$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	__print_format_c_1_1
	rts
00360$:
	ais	#2
;printf_large.c:547: charsOutputted++;
	lda	(__print_format_charsOutputted_1_1 + 1)
	inca
	sta	(__print_format_charsOutputted_1_1 + 1)
	bne	00362$
	lda	__print_format_charsOutputted_1_1
	inca
	sta	__print_format_charsOutputted_1_1
00362$:
;printf_large.c:549: }
00150$:
;printf_large.c:551: if (float_argument) {
	lda	__print_format_float_argument_1_1
	bne	00363$
	jmp	00216$
00363$:
;printf_large.c:552: value.f=va_arg(ap,float);
	lda	(__print_format_PARM_4 + 1)
	add	#0x04
	sta	*(__print_format_sloc4_1_0 + 1)
	lda	__print_format_PARM_4
	adc	#0x00
	sta	*__print_format_sloc4_1_0
	lda	*__print_format_sloc4_1_0
	sta	__print_format_PARM_4
	lda	*(__print_format_sloc4_1_0 + 1)
	sta	(__print_format_PARM_4 + 1)
	lda	*(__print_format_sloc4_1_0 + 1)
	sub	#0x04
	sta	*(__print_format_sloc4_1_0 + 1)
	lda	*__print_format_sloc4_1_0
	sbc	#0x00
	sta	*__print_format_sloc4_1_0
	ldhx	*__print_format_sloc4_1_0
	lda	,x
	aix	#1
	sta	*__print_format_sloc5_1_0
	lda	,x
	aix	#1
	sta	*(__print_format_sloc5_1_0 + 1)
	lda	,x
	aix	#1
	sta	*(__print_format_sloc5_1_0 + 2)
	lda	,x
	sta	*(__print_format_sloc5_1_0 + 3)
	lda	*__print_format_sloc5_1_0
	sta	_value
	lda	*(__print_format_sloc5_1_0 + 1)
	sta	(_value + 1)
	lda	*(__print_format_sloc5_1_0 + 2)
	sta	(_value + 2)
	lda	*(__print_format_sloc5_1_0 + 3)
	sta	(_value + 3)
;printf_large.c:554: PTR="<NO FLOAT>";
	lda	#>__str_0
	sta	_value
	lda	#__str_0
	sta	(_value + 1)
;printf_large.c:555: while (c=*PTR++)
	lda	__print_format_charsOutputted_1_1
	sta	*__print_format_sloc5_1_0
	lda	(__print_format_charsOutputted_1_1 + 1)
	sta	*(__print_format_sloc5_1_0 + 1)
00151$:
	lda	_value
	sta	*__print_format_sloc4_1_0
	lda	(_value + 1)
	sta	*(__print_format_sloc4_1_0 + 1)
	ldhx	*__print_format_sloc4_1_0
	aix	#1
	sthx	*__print_format_sloc3_1_0
	lda	*__print_format_sloc3_1_0
	sta	_value
	lda	*(__print_format_sloc3_1_0 + 1)
	sta	(_value + 1)
	ldhx	*__print_format_sloc4_1_0
	lda	,x
	sta	*__print_format_sloc4_1_0
	lda	*__print_format_sloc4_1_0
	sta	__print_format_c_1_1
	lda	*__print_format_sloc5_1_0
	sta	__print_format_charsOutputted_1_1
	lda	*(__print_format_sloc5_1_0 + 1)
	sta	(__print_format_charsOutputted_1_1 + 1)
	tst	*__print_format_sloc4_1_0
	bne	00364$
	jmp	00221$
00364$:
;printf_large.c:557: output_char (c, p);
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00366$
	bra	00365$
00366$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	__print_format_c_1_1
	rts
00365$:
	ais	#2
;printf_large.c:558: charsOutputted++;
	ldhx	*__print_format_sloc5_1_0
	aix	#1
	sthx	*__print_format_sloc5_1_0
; Peephole 3	- shortened jmp to bra
	bra	00151$
00216$:
;printf_large.c:570: } else if (radix != 0)
	lda	__print_format_radix_1_1
	cmp	#0x00
	bne	00367$
	jmp	00221$
00367$:
;printf_large.c:575: unsigned char _AUTOMEM *pstore = &store[5];
	lda	#>(__print_format_store_4_20 + 0x0005)
	sta	__print_format_pstore_4_20
	lda	#(__print_format_store_4_20 + 0x0005)
	sta	(__print_format_pstore_4_20 + 1)
;printf_large.c:578: if (char_argument)
	lda	__print_format_char_argument_1_1
	bne	00368$
	jmp	00162$
00368$:
;printf_large.c:580: value.l = va_arg(ap,char);
	lda	(__print_format_PARM_4 + 1)
	add	#0x01
	sta	*(__print_format_sloc5_1_0 + 1)
	lda	__print_format_PARM_4
	adc	#0x00
	sta	*__print_format_sloc5_1_0
	lda	*__print_format_sloc5_1_0
	sta	__print_format_PARM_4
	lda	*(__print_format_sloc5_1_0 + 1)
	sta	(__print_format_PARM_4 + 1)
	lda	*(__print_format_sloc5_1_0 + 1)
	sub	#0x01
	sta	*(__print_format_sloc5_1_0 + 1)
	lda	*__print_format_sloc5_1_0
	sbc	#0x00
	sta	*__print_format_sloc5_1_0
	ldhx	*__print_format_sloc5_1_0
	lda	,x
	sta	*(__print_format_sloc5_1_0 + 3)
	rola	
	clra	
	sbc	#0x00
	sta	*(__print_format_sloc5_1_0 + 2)
	sta	*(__print_format_sloc5_1_0 + 1)
	sta	*__print_format_sloc5_1_0
	lda	*__print_format_sloc5_1_0
	sta	_value
	lda	*(__print_format_sloc5_1_0 + 1)
	sta	(_value + 1)
	lda	*(__print_format_sloc5_1_0 + 2)
	sta	(_value + 2)
	lda	*(__print_format_sloc5_1_0 + 3)
	sta	(_value + 3)
;printf_large.c:581: if (!signed_argument)
	lda	__print_format_signed_argument_1_1
	beq	00369$
	jmp	00163$
00369$:
;printf_large.c:583: value.l &= 0xFF;
	lda	_value
	sta	*__print_format_sloc5_1_0
	lda	(_value + 1)
	sta	*(__print_format_sloc5_1_0 + 1)
	lda	(_value + 2)
	sta	*(__print_format_sloc5_1_0 + 2)
	lda	(_value + 3)
	sta	*(__print_format_sloc5_1_0 + 3)
	clr	*(__print_format_sloc5_1_0 + 2)
	clr	*(__print_format_sloc5_1_0 + 1)
	clr	*__print_format_sloc5_1_0
	lda	*__print_format_sloc5_1_0
	sta	_value
	lda	*(__print_format_sloc5_1_0 + 1)
	sta	(_value + 1)
	lda	*(__print_format_sloc5_1_0 + 2)
	sta	(_value + 2)
	lda	*(__print_format_sloc5_1_0 + 3)
	sta	(_value + 3)
	jmp	00163$
00162$:
;printf_large.c:586: else if (long_argument)
	lda	__print_format_long_argument_1_1
; Peephole 2d	- eliminated jmp
	beq	00159$
00370$:
;printf_large.c:588: value.l = va_arg(ap,long);
	lda	(__print_format_PARM_4 + 1)
	add	#0x04
	sta	*(__print_format_sloc5_1_0 + 1)
	lda	__print_format_PARM_4
	adc	#0x00
	sta	*__print_format_sloc5_1_0
	lda	*__print_format_sloc5_1_0
	sta	__print_format_PARM_4
	lda	*(__print_format_sloc5_1_0 + 1)
	sta	(__print_format_PARM_4 + 1)
	lda	*(__print_format_sloc5_1_0 + 1)
	sub	#0x04
	sta	*(__print_format_sloc5_1_0 + 1)
	lda	*__print_format_sloc5_1_0
	sbc	#0x00
	sta	*__print_format_sloc5_1_0
	ldhx	*__print_format_sloc5_1_0
	lda	,x
	aix	#1
	sta	*__print_format_sloc5_1_0
	lda	,x
	aix	#1
	sta	*(__print_format_sloc5_1_0 + 1)
	lda	,x
	aix	#1
	sta	*(__print_format_sloc5_1_0 + 2)
	lda	,x
	sta	*(__print_format_sloc5_1_0 + 3)
	lda	*__print_format_sloc5_1_0
	sta	_value
	lda	*(__print_format_sloc5_1_0 + 1)
	sta	(_value + 1)
	lda	*(__print_format_sloc5_1_0 + 2)
	sta	(_value + 2)
	lda	*(__print_format_sloc5_1_0 + 3)
	sta	(_value + 3)
	jmp	00163$
00159$:
;printf_large.c:592: value.l = va_arg(ap,int);
	lda	(__print_format_PARM_4 + 1)
	add	#0x02
	sta	*(__print_format_sloc5_1_0 + 1)
	lda	__print_format_PARM_4
	adc	#0x00
	sta	*__print_format_sloc5_1_0
	lda	*__print_format_sloc5_1_0
	sta	__print_format_PARM_4
	lda	*(__print_format_sloc5_1_0 + 1)
	sta	(__print_format_PARM_4 + 1)
	lda	*(__print_format_sloc5_1_0 + 1)
	sub	#0x02
	sta	*(__print_format_sloc5_1_0 + 1)
	lda	*__print_format_sloc5_1_0
	sbc	#0x00
	sta	*__print_format_sloc5_1_0
	ldhx	*__print_format_sloc5_1_0
	lda	,x
	aix	#1
	sta	*__print_format_sloc5_1_0
	lda	,x
	sta	*(__print_format_sloc5_1_0 + 1)
	mov	*(__print_format_sloc5_1_0 + 1),*(__print_format_sloc5_1_0 + 3)
	mov	*__print_format_sloc5_1_0,*(__print_format_sloc5_1_0 + 2)
	lda	*__print_format_sloc5_1_0
	rola	
	clra	
	sbc	#0x00
	sta	*(__print_format_sloc5_1_0 + 1)
	sta	*__print_format_sloc5_1_0
	lda	*__print_format_sloc5_1_0
	sta	_value
	lda	*(__print_format_sloc5_1_0 + 1)
	sta	(_value + 1)
	lda	*(__print_format_sloc5_1_0 + 2)
	sta	(_value + 2)
	lda	*(__print_format_sloc5_1_0 + 3)
	sta	(_value + 3)
;printf_large.c:593: if (!signed_argument)
	lda	__print_format_signed_argument_1_1
; Peephole 2c	- eliminated jmp
	bne	00163$
00371$:
;printf_large.c:595: value.l &= 0xFFFF;
	lda	_value
	sta	*__print_format_sloc5_1_0
	lda	(_value + 1)
	sta	*(__print_format_sloc5_1_0 + 1)
	lda	(_value + 2)
	sta	*(__print_format_sloc5_1_0 + 2)
	lda	(_value + 3)
	sta	*(__print_format_sloc5_1_0 + 3)
	clr	*(__print_format_sloc5_1_0 + 1)
	clr	*__print_format_sloc5_1_0
	lda	*__print_format_sloc5_1_0
	sta	_value
	lda	*(__print_format_sloc5_1_0 + 1)
	sta	(_value + 1)
	lda	*(__print_format_sloc5_1_0 + 2)
	sta	(_value + 2)
	lda	*(__print_format_sloc5_1_0 + 3)
	sta	(_value + 3)
00163$:
;printf_large.c:599: if ( signed_argument )
	lda	__print_format_signed_argument_1_1
	bne	00372$
	jmp	00168$
00372$:
;printf_large.c:601: if (value.l < 0)
	lda	_value
	sta	*__print_format_sloc5_1_0
	lda	(_value + 1)
	sta	*(__print_format_sloc5_1_0 + 1)
	lda	(_value + 2)
	sta	*(__print_format_sloc5_1_0 + 2)
	lda	(_value + 3)
	sta	*(__print_format_sloc5_1_0 + 3)
	lda	*__print_format_sloc5_1_0
	rola
; Peephole 2a	- eliminated jmp
	bcc	00165$
00373$:
;printf_large.c:602: value.l = -value.l;
	lda	_value
	sta	*__print_format_sloc5_1_0
	lda	(_value + 1)
	sta	*(__print_format_sloc5_1_0 + 1)
	lda	(_value + 2)
	sta	*(__print_format_sloc5_1_0 + 2)
	lda	(_value + 3)
	sta	*(__print_format_sloc5_1_0 + 3)
	clra
	sub	*(__print_format_sloc5_1_0 + 3)
	sta	*(__print_format_sloc5_1_0 + 3)
	clra
	sbc	*(__print_format_sloc5_1_0 + 2)
	sta	*(__print_format_sloc5_1_0 + 2)
	clra
	sbc	*(__print_format_sloc5_1_0 + 1)
	sta	*(__print_format_sloc5_1_0 + 1)
	clra
	sbc	*__print_format_sloc5_1_0
	sta	*__print_format_sloc5_1_0
	lda	*__print_format_sloc5_1_0
	sta	_value
	lda	*(__print_format_sloc5_1_0 + 1)
	sta	(_value + 1)
	lda	*(__print_format_sloc5_1_0 + 2)
	sta	(_value + 2)
	lda	*(__print_format_sloc5_1_0 + 3)
	sta	(_value + 3)
; Peephole 3	- shortened jmp to bra
	bra	00168$
00165$:
;printf_large.c:604: signed_argument = 0;
	clra
	sta	__print_format_signed_argument_1_1
00168$:
;printf_large.c:608: lsd = 1;
	lda	#0x01
	sta	__print_format_lsd_1_1
;printf_large.c:610: do {
	lda	__print_format_pstore_4_20
	sta	*__print_format_sloc5_1_0
	lda	(__print_format_pstore_4_20 + 1)
	sta	*(__print_format_sloc5_1_0 + 1)
	clr	*__print_format_sloc4_1_0
00172$:
;printf_large.c:611: value.byte[4] = 0;
	clra
	sta	(_value + 0x0004)
;printf_large.c:615: calculate_digit(radix);
	lda	__print_format_radix_1_1
	jsr	_calculate_digit
;printf_large.c:617: if (!lsd)
	lda	__print_format_lsd_1_1
; Peephole 2c	- eliminated jmp
	bne	00170$
00374$:
;printf_large.c:619: *pstore = (value.byte[4] << 4) | (value.byte[4] >> 4) | *pstore;
	lda	(_value + 0x0004)
	nsa
	sta	*__print_format_sloc3_1_0
	ldhx	*__print_format_sloc5_1_0
	lda	,x
	ora	*__print_format_sloc3_1_0
	ldhx	*__print_format_sloc5_1_0
	sta	,x
;printf_large.c:620: pstore--;
	lda	*(__print_format_sloc5_1_0 + 1)
	sub	#0x01
	sta	*(__print_format_sloc5_1_0 + 1)
	lda	*__print_format_sloc5_1_0
	sbc	#0x00
	sta	*__print_format_sloc5_1_0
; Peephole 3	- shortened jmp to bra
	bra	00171$
00170$:
;printf_large.c:624: *pstore = value.byte[4];
	lda	(_value + 0x0004)
	ldhx	*__print_format_sloc5_1_0
	sta	,x
00171$:
;printf_large.c:626: length++;
	inc	*__print_format_sloc4_1_0
	lda	*__print_format_sloc4_1_0
	sta	__print_format_length_1_1
;printf_large.c:627: lsd = !lsd;
	lda	__print_format_lsd_1_1
	beq	00375$
	lda	#0x01
00375$:
	eor	#0x01
	sta	__print_format_lsd_1_1
;printf_large.c:628: } while( value.ul );
	lda	_value
	sta	*__print_format_sloc6_1_0
	lda	(_value + 1)
	sta	*(__print_format_sloc6_1_0 + 1)
	lda	(_value + 2)
	sta	*(__print_format_sloc6_1_0 + 2)
	lda	(_value + 3)
	sta	*(__print_format_sloc6_1_0 + 3)
	lda	*__print_format_sloc5_1_0
	sta	__print_format_pstore_4_20
	lda	*(__print_format_sloc5_1_0 + 1)
	sta	(__print_format_pstore_4_20 + 1)
	lda	*(__print_format_sloc6_1_0 + 3)
	ora	*(__print_format_sloc6_1_0 + 2)
	ora	*(__print_format_sloc6_1_0 + 1)
	ora	*__print_format_sloc6_1_0
	beq	00376$
	jmp	00172$
00376$:
;printf_large.c:630: if (width == 0)
	lda	__print_format_width_1_1
	cmp	#0x00
	bne	00377$
	bra	00378$
00377$:
; Peephole 3	- shortened jmp to bra
	bra	00176$
00378$:
;printf_large.c:635: width=1;
	lda	#0x01
	sta	__print_format_width_1_1
00176$:
;printf_large.c:639: if (!zero_padding && !left_justify)
	lda	__print_format_zero_padding_1_1
	beq	00379$
	jmp	00181$
00379$:
	lda	__print_format_left_justify_1_1
	beq	00380$
; Peephole 3	- shortened jmp to bra
	bra	00181$
00380$:
;printf_large.c:641: while ( width > (unsigned char) (length+1) )
	lda	__print_format_length_1_1
	add	#0x01
	sta	*__print_format_sloc6_1_0
	lda	__print_format_charsOutputted_1_1
	sta	*__print_format_sloc5_1_0
	lda	(__print_format_charsOutputted_1_1 + 1)
	sta	*(__print_format_sloc5_1_0 + 1)
	lda	__print_format_width_1_1
	sta	*__print_format_sloc4_1_0
00177$:
	lda	*__print_format_sloc6_1_0
	cmp	*__print_format_sloc4_1_0
	clra
	rola
	sta	*__print_format_sloc3_1_0
	lda	*__print_format_sloc5_1_0
	sta	__print_format_charsOutputted_1_1
	lda	*(__print_format_sloc5_1_0 + 1)
	sta	(__print_format_charsOutputted_1_1 + 1)
	lda	*__print_format_sloc4_1_0
	sta	__print_format_width_1_1
	tst	*__print_format_sloc3_1_0
; Peephole 2d	- eliminated jmp
	beq	00181$
00381$:
;printf_large.c:643: output_char( ' ', p );
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00383$
	bra	00382$
00383$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	#0x20
	rts
00382$:
	ais	#2
;printf_large.c:644: charsOutputted++;
	ldhx	*__print_format_sloc5_1_0
	aix	#1
	sthx	*__print_format_sloc5_1_0
;printf_large.c:645: width--;
	dec	*__print_format_sloc4_1_0
; Peephole 3	- shortened jmp to bra
	bra	00177$
00181$:
;printf_large.c:649: if (signed_argument) // this now means the original value was negative
	lda	__print_format_signed_argument_1_1
; Peephole 2d	- eliminated jmp
	beq	00191$
00384$:
;printf_large.c:651: output_char( '-', p );
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00386$
	bra	00385$
00386$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	#0x2D
	rts
00385$:
	ais	#2
;printf_large.c:652: charsOutputted++;
	lda	(__print_format_charsOutputted_1_1 + 1)
	inca
	sta	(__print_format_charsOutputted_1_1 + 1)
	bne	00387$
	lda	__print_format_charsOutputted_1_1
	inca
	sta	__print_format_charsOutputted_1_1
00387$:
;printf_large.c:654: width--;
	lda	__print_format_width_1_1
	deca
	sta	__print_format_width_1_1
	jmp	00192$
00191$:
;printf_large.c:656: else if (length != 0)
	lda	__print_format_length_1_1
	cmp	#0x00
	bne	00388$
	jmp	00192$
00388$:
;printf_large.c:659: if (prefix_sign)
	lda	__print_format_prefix_sign_1_1
; Peephole 2d	- eliminated jmp
	beq	00186$
00389$:
;printf_large.c:661: output_char( '+', p );
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00391$
	bra	00390$
00391$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	#0x2B
	rts
00390$:
	ais	#2
;printf_large.c:662: charsOutputted++;
	lda	(__print_format_charsOutputted_1_1 + 1)
	inca
	sta	(__print_format_charsOutputted_1_1 + 1)
	bne	00392$
	lda	__print_format_charsOutputted_1_1
	inca
	sta	__print_format_charsOutputted_1_1
00392$:
;printf_large.c:664: width--;
	lda	__print_format_width_1_1
	deca
	sta	__print_format_width_1_1
; Peephole 3	- shortened jmp to bra
	bra	00192$
00186$:
;printf_large.c:666: else if (prefix_space)
	lda	__print_format_prefix_space_1_1
; Peephole 2d	- eliminated jmp
	beq	00192$
00393$:
;printf_large.c:668: output_char( ' ', p );
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00395$
	bra	00394$
00395$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	#0x20
	rts
00394$:
	ais	#2
;printf_large.c:669: charsOutputted++;
	lda	(__print_format_charsOutputted_1_1 + 1)
	inca
	sta	(__print_format_charsOutputted_1_1 + 1)
	bne	00396$
	lda	__print_format_charsOutputted_1_1
	inca
	sta	__print_format_charsOutputted_1_1
00396$:
;printf_large.c:671: width--;
	lda	__print_format_width_1_1
	deca
	sta	__print_format_width_1_1
00192$:
;printf_large.c:676: if (!left_justify)
	lda	__print_format_left_justify_1_1
	beq	00397$
	jmp	00200$
00397$:
;printf_large.c:677: while ( width-- > length )
	lda	__print_format_charsOutputted_1_1
	sta	*__print_format_sloc6_1_0
	lda	(__print_format_charsOutputted_1_1 + 1)
	sta	*(__print_format_sloc6_1_0 + 1)
	lda	__print_format_width_1_1
	sta	*__print_format_sloc5_1_0
00193$:
	mov	*__print_format_sloc5_1_0,*__print_format_sloc4_1_0
	dec	*__print_format_sloc5_1_0
	lda	*__print_format_sloc5_1_0
	sta	__print_format_width_1_1
	lda	__print_format_length_1_1
	cmp	*__print_format_sloc4_1_0
	clra
	rola
	sta	*__print_format_sloc4_1_0
	lda	*__print_format_sloc6_1_0
	sta	__print_format_charsOutputted_1_1
	lda	*(__print_format_sloc6_1_0 + 1)
	sta	(__print_format_charsOutputted_1_1 + 1)
	tst	*__print_format_sloc4_1_0
; Peephole 2d	- eliminated jmp
	beq	00294$
00398$:
;printf_large.c:679: output_char( zero_padding ? '0' : ' ', p );
	lda	__print_format_zero_padding_1_1
; Peephole 2d	- eliminated jmp
	beq	00228$
00399$:
	mov	#0x30,*__print_format_sloc4_1_0
; Peephole 3	- shortened jmp to bra
	bra	00229$
00228$:
	mov	#0x20,*__print_format_sloc4_1_0
00229$:
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00401$
	bra	00400$
00401$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	*__print_format_sloc4_1_0
	rts
00400$:
	ais	#2
;printf_large.c:680: charsOutputted++;
	ldhx	*__print_format_sloc6_1_0
	aix	#1
	sthx	*__print_format_sloc6_1_0
; Peephole 3	- shortened jmp to bra
	bra	00193$
00200$:
;printf_large.c:685: if (width > length)
	lda	__print_format_length_1_1
	cmp	__print_format_width_1_1
; Peephole 2a	- eliminated jmp
	bcc	00197$
00402$:
;printf_large.c:686: width -= length;
	lda	__print_format_width_1_1
	sub	__print_format_length_1_1
	sta	__print_format_width_1_1
; Peephole 3	- shortened jmp to bra
	bra	00294$
00197$:
;printf_large.c:688: width = 0;
	clra
	sta	__print_format_width_1_1
;printf_large.c:692: while( length-- )
00294$:
	lda	__print_format_pstore_4_20
	sta	*__print_format_sloc6_1_0
	lda	(__print_format_pstore_4_20 + 1)
	sta	*(__print_format_sloc6_1_0 + 1)
	lda	__print_format_charsOutputted_1_1
	sta	*__print_format_sloc5_1_0
	lda	(__print_format_charsOutputted_1_1 + 1)
	sta	*(__print_format_sloc5_1_0 + 1)
	lda	__print_format_length_1_1
	sta	*__print_format_sloc4_1_0
00205$:
	mov	*__print_format_sloc4_1_0,*__print_format_sloc3_1_0
	dec	*__print_format_sloc4_1_0
	lda	*__print_format_sloc5_1_0
	sta	__print_format_charsOutputted_1_1
	lda	*(__print_format_sloc5_1_0 + 1)
	sta	(__print_format_charsOutputted_1_1 + 1)
	tst	*__print_format_sloc3_1_0
; Peephole 2d	- eliminated jmp
	beq	00207$
00403$:
;printf_large.c:694: lsd = !lsd;
	lda	__print_format_lsd_1_1
	beq	00404$
	lda	#0x01
00404$:
	eor	#0x01
	sta	__print_format_lsd_1_1
;printf_large.c:695: if (!lsd)
	lda	__print_format_lsd_1_1
; Peephole 2c	- eliminated jmp
	bne	00203$
00405$:
;printf_large.c:697: pstore++;
	ldhx	*__print_format_sloc6_1_0
	aix	#1
	sthx	*__print_format_sloc6_1_0
;printf_large.c:698: value.byte[4] = *pstore >> 4;
	ldhx	*__print_format_sloc6_1_0
	lda	,x
	nsa	
	and	#0x0f
	sta	(_value + 0x0004)
; Peephole 3	- shortened jmp to bra
	bra	00204$
00203$:
;printf_large.c:702: value.byte[4] = *pstore & 0x0F;
	ldhx	*__print_format_sloc6_1_0
	lda	,x
	and	#0x0F
	sta	(_value + 0x0004)
00204$:
;printf_large.c:707: output_digit( value.byte[4] );
	lda	(_value + 0x0004)
	jsr	_output_digit
;printf_large.c:709: charsOutputted++;
	ldhx	*__print_format_sloc5_1_0
	aix	#1
	sthx	*__print_format_sloc5_1_0
; Peephole 3	- shortened jmp to bra
	bra	00205$
00207$:
;printf_large.c:711: if (left_justify)
	lda	__print_format_left_justify_1_1
	bne	00406$
	jmp	00221$
00406$:
;printf_large.c:712: while (width-- > 0)
	mov	*__print_format_sloc5_1_0,*__print_format_sloc6_1_0
	mov	*(__print_format_sloc5_1_0 + 1),*(__print_format_sloc6_1_0 + 1)
	lda	__print_format_width_1_1
	sta	*__print_format_sloc5_1_0
00208$:
	mov	*__print_format_sloc5_1_0,*__print_format_sloc4_1_0
	dec	*__print_format_sloc5_1_0
	clra
	cmp	*__print_format_sloc4_1_0
	clra
	rola
	sta	*__print_format_sloc4_1_0
	lda	*__print_format_sloc6_1_0
	sta	__print_format_charsOutputted_1_1
	lda	*(__print_format_sloc6_1_0 + 1)
	sta	(__print_format_charsOutputted_1_1 + 1)
	tst	*__print_format_sloc4_1_0
	bne	00407$
	jmp	00221$
00407$:
;printf_large.c:714: output_char(' ', p);
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00409$
	bra	00408$
00409$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	#0x20
	rts
00408$:
	ais	#2
;printf_large.c:715: charsOutputted++;
	ldhx	*__print_format_sloc6_1_0
	aix	#1
	sthx	*__print_format_sloc6_1_0
; Peephole 3	- shortened jmp to bra
	bra	00208$
00219$:
;printf_large.c:722: output_char( c, p );
	lda	(_p + 1)
	psha
	lda	_p
	psha
	bsr	00411$
	bra	00410$
00411$:
	lda	(_output_char + 1)
	psha
	lda	_output_char
	psha
	lda	__print_format_c_1_1
	rts
00410$:
	ais	#2
;printf_large.c:723: charsOutputted++;
	lda	(__print_format_charsOutputted_1_1 + 1)
	inca
	sta	(__print_format_charsOutputted_1_1 + 1)
	bne	00412$
	lda	__print_format_charsOutputted_1_1
	inca
	sta	__print_format_charsOutputted_1_1
00412$:
	jmp	00221$
00223$:
;printf_large.c:727: return charsOutputted;
	ldx	__print_format_charsOutputted_1_1
	lda	(__print_format_charsOutputted_1_1 + 1)
00224$:
	rts
	.area CSEG (CODE)
_memory_id:
	.ascii "IXCP-"
	.db 0x00
__str_0:
	.ascii "<NO FLOAT>"
	.db 0x00
	.area XINIT
