Fixing struct type size struct printf_buffer_number to 12
Fixing struct type size struct printf_buffer_number to 12
Fixing struct type size struct printf_buffer_number to 12
Fixing struct type SIZE_OF struct printf_buffer_number to 12
Fixing struct type SIZE_OF struct printf_buffer_number to 12
Setting inferred __stackcall on procedure affected by address-of __stackcall void cputc(char c) caused by statement call printf_uint(&cputc, main::count, { 0, 0, 0, 0, 0, DECIMAL })
Setting inferred __stackcall on procedure affected by address-of __stackcall void cputc(char c) caused by statement call printf_str(&cputc, " chars")
Adding parameter assignment in __stackcall procedure cputc::c = param(cputc::c)
Added struct type cast to parameter value list call printf_uint(&cputc, main::count, (struct printf_format_number){ 0, 0, 0, 0, 0, DECIMAL })
Inlined call vicSelectGfxBank::$0 = call toDd00(vicSelectGfxBank::gfx)
Inlined call call __init
Eliminating unused variable with no statement memcpy::$0
Eliminating unused variable with no statement memset::$2
Eliminating unused variable with no statement mul8s::$0
Eliminating unused variable with no statement gotoxy::$4
Eliminating unused variable with no statement main::$2
Eliminating unused variable with no statement main::$6
Eliminating unused variable with no statement main::$8
Eliminating unused variable with no statement main::$11
Calling convention STACK_CALL adding prepare/execute/finalize for call *printf_str::putc printf_str::c 
Calling convention STACK_CALL adding prepare/execute/finalize for call *printf_padding::putc printf_padding::pad 
Calling convention STACK_CALL adding prepare/execute/finalize for call *printf_number_buffer::putc printf_number_buffer::buffer_sign 
Calling convention STACK_CALL replacing param(cputc::c) with stackidx(char,cputc::OFFSET_STACK_C)
Calling convention STACK_CALL adding stack push stackpush(char) = printf_str::c
Calling convention STACK_CALL adding stack push stackpush(char) = printf_padding::pad
Calling convention STACK_CALL adding stack push stackpush(char) = printf_number_buffer::buffer_sign

CONTROL FLOW GRAPH SSA

void * memcpy(void *destination , void *source , unsigned int num)
memcpy: scope:[memcpy]  from cscroll::@3 cscroll::@4
  memcpy::num#2 = phi( cscroll::@3/memcpy::num#0, cscroll::@4/memcpy::num#1 )
  memcpy::destination#2 = phi( cscroll::@3/memcpy::destination#0, cscroll::@4/memcpy::destination#1 )
  memcpy::source#2 = phi( cscroll::@3/memcpy::source#0, cscroll::@4/memcpy::source#1 )
  memcpy::src#0 = ((char *)) memcpy::source#2
  memcpy::dst#0 = ((char *)) memcpy::destination#2
  memcpy::$2 = (char *)memcpy::source#2
  memcpy::src_end#0 = memcpy::$2 + memcpy::num#2
  to:memcpy::@1
memcpy::@1: scope:[memcpy]  from memcpy memcpy::@2
  memcpy::destination#4 = phi( memcpy/memcpy::destination#2, memcpy::@2/memcpy::destination#5 )
  memcpy::dst#3 = phi( memcpy/memcpy::dst#0, memcpy::@2/memcpy::dst#1 )
  memcpy::src_end#1 = phi( memcpy/memcpy::src_end#0, memcpy::@2/memcpy::src_end#2 )
  memcpy::src#2 = phi( memcpy/memcpy::src#0, memcpy::@2/memcpy::src#1 )
  memcpy::$1 = memcpy::src#2 != memcpy::src_end#1
  if(memcpy::$1) goto memcpy::@2
  to:memcpy::@3
memcpy::@2: scope:[memcpy]  from memcpy::@1
  memcpy::destination#5 = phi( memcpy::@1/memcpy::destination#4 )
  memcpy::src_end#2 = phi( memcpy::@1/memcpy::src_end#1 )
  memcpy::dst#2 = phi( memcpy::@1/memcpy::dst#3 )
  memcpy::src#3 = phi( memcpy::@1/memcpy::src#2 )
  *memcpy::dst#2 = *memcpy::src#3
  memcpy::dst#1 = ++ memcpy::dst#2
  memcpy::src#1 = ++ memcpy::src#3
  to:memcpy::@1
memcpy::@3: scope:[memcpy]  from memcpy::@1
  memcpy::destination#3 = phi( memcpy::@1/memcpy::destination#4 )
  memcpy::return#0 = memcpy::destination#3
  to:memcpy::@return
memcpy::@return: scope:[memcpy]  from memcpy::@3
  memcpy::return#4 = phi( memcpy::@3/memcpy::return#0 )
  memcpy::return#1 = memcpy::return#4
  return 
  to:@return

void * memset(void *str , char c , unsigned int num)
memset: scope:[memset]  from cscroll::@5 cscroll::@6 main
  memset::c#6 = phi( cscroll::@5/memset::c#0, cscroll::@6/memset::c#1, main/memset::c#2 )
  memset::str#5 = phi( cscroll::@5/memset::str#0, cscroll::@6/memset::str#1, main/memset::str#2 )
  memset::num#3 = phi( cscroll::@5/memset::num#0, cscroll::@6/memset::num#1, main/memset::num#2 )
  memset::$0 = memset::num#3 > 0
  memset::$1 = ! memset::$0
  if(memset::$1) goto memset::@1
  to:memset::@2
memset::@1: scope:[memset]  from memset memset::@3
  memset::str#3 = phi( memset/memset::str#5, memset::@3/memset::str#6 )
  memset::return#0 = memset::str#3
  to:memset::@return
memset::@2: scope:[memset]  from memset
  memset::c#5 = phi( memset/memset::c#6 )
  memset::num#4 = phi( memset/memset::num#3 )
  memset::str#4 = phi( memset/memset::str#5 )
  memset::$4 = (char *)memset::str#4
  memset::end#0 = memset::$4 + memset::num#4
  memset::dst#0 = ((char *)) memset::str#4
  to:memset::@3
memset::@3: scope:[memset]  from memset::@2 memset::@4
  memset::c#4 = phi( memset::@2/memset::c#5, memset::@4/memset::c#3 )
  memset::str#6 = phi( memset::@2/memset::str#4, memset::@4/memset::str#7 )
  memset::end#1 = phi( memset::@2/memset::end#0, memset::@4/memset::end#2 )
  memset::dst#2 = phi( memset::@2/memset::dst#0, memset::@4/memset::dst#1 )
  memset::$3 = memset::dst#2 != memset::end#1
  if(memset::$3) goto memset::@4
  to:memset::@1
memset::@4: scope:[memset]  from memset::@3
  memset::str#7 = phi( memset::@3/memset::str#6 )
  memset::end#2 = phi( memset::@3/memset::end#1 )
  memset::dst#3 = phi( memset::@3/memset::dst#2 )
  memset::c#3 = phi( memset::@3/memset::c#4 )
  *memset::dst#3 = memset::c#3
  memset::dst#1 = ++ memset::dst#3
  to:memset::@3
memset::@return: scope:[memset]  from memset::@1
  memset::return#5 = phi( memset::@1/memset::return#0 )
  memset::return#1 = memset::return#5
  return 
  to:@return

unsigned int strlen(char *str)
strlen: scope:[strlen]  from printf_number_buffer::@6
  strlen::str#4 = phi( printf_number_buffer::@6/strlen::str#1 )
  strlen::len#0 = 0
  to:strlen::@1
strlen::@1: scope:[strlen]  from strlen strlen::@2
  strlen::len#4 = phi( strlen/strlen::len#0, strlen::@2/strlen::len#1 )
  strlen::str#2 = phi( strlen/strlen::str#4, strlen::@2/strlen::str#0 )
  strlen::$0 = 0 != *strlen::str#2
  if(strlen::$0) goto strlen::@2
  to:strlen::@3
strlen::@2: scope:[strlen]  from strlen::@1
  strlen::str#3 = phi( strlen::@1/strlen::str#2 )
  strlen::len#2 = phi( strlen::@1/strlen::len#4 )
  strlen::len#1 = ++ strlen::len#2
  strlen::str#0 = ++ strlen::str#3
  to:strlen::@1
strlen::@3: scope:[strlen]  from strlen::@1
  strlen::len#3 = phi( strlen::@1/strlen::len#4 )
  strlen::return#0 = strlen::len#3
  to:strlen::@return
strlen::@return: scope:[strlen]  from strlen::@3
  strlen::return#3 = phi( strlen::@3/strlen::return#0 )
  strlen::return#1 = strlen::return#3
  return 
  to:@return

char toupper(char ch)
toupper: scope:[toupper]  from strupr::@2
  toupper::ch#1 = phi( strupr::@2/toupper::ch#0 )
  toupper::$0 = toupper::ch#1 >= 'a'
  toupper::$1 = toupper::ch#1 <= 'z'
  toupper::$2 = toupper::$0 && toupper::$1
  if(toupper::$2) goto toupper::@1
  to:toupper::@2
toupper::@1: scope:[toupper]  from toupper
  toupper::ch#2 = phi( toupper/toupper::ch#1 )
  toupper::$3 = toupper::ch#2 + 'A'-'a'
  toupper::return#0 = toupper::$3
  to:toupper::@return
toupper::@2: scope:[toupper]  from toupper
  toupper::ch#3 = phi( toupper/toupper::ch#1 )
  toupper::return#1 = toupper::ch#3
  to:toupper::@return
toupper::@return: scope:[toupper]  from toupper::@1 toupper::@2
  toupper::return#4 = phi( toupper::@1/toupper::return#0, toupper::@2/toupper::return#1 )
  toupper::return#2 = toupper::return#4
  return 
  to:@return

char * strupr(char *str)
strupr: scope:[strupr]  from printf_number_buffer::@11
  strupr::str#1 = phi( printf_number_buffer::@11/strupr::str#0 )
  strupr::src#0 = strupr::str#1
  to:strupr::@1
strupr::@1: scope:[strupr]  from strupr strupr::@4
  strupr::str#3 = phi( strupr/strupr::str#1, strupr::@4/strupr::str#4 )
  strupr::src#2 = phi( strupr/strupr::src#0, strupr::@4/strupr::src#1 )
  strupr::$1 = 0 != *strupr::src#2
  if(strupr::$1) goto strupr::@2
  to:strupr::@3
strupr::@2: scope:[strupr]  from strupr::@1
  strupr::str#5 = phi( strupr::@1/strupr::str#3 )
  strupr::src#3 = phi( strupr::@1/strupr::src#2 )
  toupper::ch#0 = *strupr::src#3
  call toupper
  toupper::return#3 = toupper::return#2
  to:strupr::@4
strupr::@4: scope:[strupr]  from strupr::@2
  strupr::str#4 = phi( strupr::@2/strupr::str#5 )
  strupr::src#4 = phi( strupr::@2/strupr::src#3 )
  toupper::return#5 = phi( strupr::@2/toupper::return#3 )
  strupr::$0 = toupper::return#5
  *strupr::src#4 = strupr::$0
  strupr::src#1 = ++ strupr::src#4
  to:strupr::@1
strupr::@3: scope:[strupr]  from strupr::@1
  strupr::str#2 = phi( strupr::@1/strupr::str#3 )
  strupr::return#0 = strupr::str#2
  to:strupr::@return
strupr::@return: scope:[strupr]  from strupr::@3
  strupr::return#3 = phi( strupr::@3/strupr::return#0 )
  strupr::return#1 = strupr::return#3
  return 
  to:@return

unsigned int mul8u(char a , char b)
mul8u: scope:[mul8u]  from mul8s
  mul8u::a#5 = phi( mul8s/mul8u::a#1 )
  mul8u::b#1 = phi( mul8s/mul8u::b#0 )
  mul8u::res#0 = 0
  mul8u::mb#0 = (unsigned int)mul8u::b#1
  to:mul8u::@1
mul8u::@1: scope:[mul8u]  from mul8u mul8u::@4
  mul8u::mb#5 = phi( mul8u/mul8u::mb#0, mul8u::@4/mul8u::mb#1 )
  mul8u::res#4 = phi( mul8u/mul8u::res#0, mul8u::@4/mul8u::res#6 )
  mul8u::a#2 = phi( mul8u/mul8u::a#5, mul8u::@4/mul8u::a#0 )
  mul8u::$0 = mul8u::a#2 != 0
  if(mul8u::$0) goto mul8u::@2
  to:mul8u::@3
mul8u::@2: scope:[mul8u]  from mul8u::@1
  mul8u::res#5 = phi( mul8u::@1/mul8u::res#4 )
  mul8u::mb#4 = phi( mul8u::@1/mul8u::mb#5 )
  mul8u::a#3 = phi( mul8u::@1/mul8u::a#2 )
  mul8u::$1 = mul8u::a#3 & 1
  mul8u::$2 = mul8u::$1 != 0
  mul8u::$3 = ! mul8u::$2
  if(mul8u::$3) goto mul8u::@4
  to:mul8u::@5
mul8u::@3: scope:[mul8u]  from mul8u::@1
  mul8u::res#2 = phi( mul8u::@1/mul8u::res#4 )
  mul8u::return#0 = mul8u::res#2
  to:mul8u::@return
mul8u::@4: scope:[mul8u]  from mul8u::@2 mul8u::@5
  mul8u::res#6 = phi( mul8u::@2/mul8u::res#5, mul8u::@5/mul8u::res#1 )
  mul8u::mb#2 = phi( mul8u::@2/mul8u::mb#4, mul8u::@5/mul8u::mb#3 )
  mul8u::a#4 = phi( mul8u::@2/mul8u::a#3, mul8u::@5/mul8u::a#6 )
  mul8u::$5 = mul8u::a#4 >> 1
  mul8u::a#0 = mul8u::$5
  mul8u::$6 = mul8u::mb#2 << 1
  mul8u::mb#1 = mul8u::$6
  to:mul8u::@1
mul8u::@5: scope:[mul8u]  from mul8u::@2
  mul8u::a#6 = phi( mul8u::@2/mul8u::a#3 )
  mul8u::mb#3 = phi( mul8u::@2/mul8u::mb#4 )
  mul8u::res#3 = phi( mul8u::@2/mul8u::res#5 )
  mul8u::$4 = mul8u::res#3 + mul8u::mb#3
  mul8u::res#1 = mul8u::$4
  to:mul8u::@4
mul8u::@return: scope:[mul8u]  from mul8u::@3
  mul8u::return#3 = phi( mul8u::@3/mul8u::return#0 )
  mul8u::return#1 = mul8u::return#3
  return 
  to:@return

int mul8s(signed char a , signed char b)
mul8s: scope:[mul8s]  from main::@13 main::@5
  mul8s::b#2 = phi( main::@13/mul8s::b#1, main::@5/mul8s::b#0 )
  mul8s::a#2 = phi( main::@13/mul8s::a#1, main::@5/mul8s::a#0 )
  mul8u::a#1 = (char)mul8s::a#2
  mul8u::b#0 = (char)mul8s::b#2
  call mul8u
  mul8u::return#2 = mul8u::return#1
  to:mul8s::@5
mul8s::@5: scope:[mul8s]  from mul8s
  mul8s::b#5 = phi( mul8s/mul8s::b#2 )
  mul8s::a#3 = phi( mul8s/mul8s::a#2 )
  mul8u::return#4 = phi( mul8s/mul8u::return#2 )
  mul8s::m#0 = mul8u::return#4
  mul8s::$1 = mul8s::a#3 < 0
  mul8s::$2 = ! mul8s::$1
  if(mul8s::$2) goto mul8s::@1
  to:mul8s::@3
mul8s::@1: scope:[mul8s]  from mul8s::@3 mul8s::@5
  mul8s::a#5 = phi( mul8s::@3/mul8s::a#6, mul8s::@5/mul8s::a#3 )
  mul8s::m#6 = phi( mul8s::@3/mul8s::m#1, mul8s::@5/mul8s::m#0 )
  mul8s::b#3 = phi( mul8s::@3/mul8s::b#4, mul8s::@5/mul8s::b#5 )
  mul8s::$3 = mul8s::b#3 < 0
  mul8s::$4 = ! mul8s::$3
  if(mul8s::$4) goto mul8s::@2
  to:mul8s::@4
mul8s::@3: scope:[mul8s]  from mul8s::@5
  mul8s::a#6 = phi( mul8s::@5/mul8s::a#3 )
  mul8s::b#4 = phi( mul8s::@5/mul8s::b#5 )
  mul8s::m#3 = phi( mul8s::@5/mul8s::m#0 )
  mul8s::$6 = byte1  mul8s::m#3
  mul8s::$13 = (char)mul8s::b#4
  mul8s::$7 = mul8s::$6 - mul8s::$13
  mul8s::$11 = mul8s::$7
  mul8s::m#1 = mul8s::m#3 byte1= mul8s::$11
  to:mul8s::@1
mul8s::@2: scope:[mul8s]  from mul8s::@1 mul8s::@4
  mul8s::m#4 = phi( mul8s::@1/mul8s::m#6, mul8s::@4/mul8s::m#2 )
  mul8s::return#0 = (int)mul8s::m#4
  to:mul8s::@return
mul8s::@4: scope:[mul8s]  from mul8s::@1
  mul8s::a#4 = phi( mul8s::@1/mul8s::a#5 )
  mul8s::m#5 = phi( mul8s::@1/mul8s::m#6 )
  mul8s::$9 = byte1  mul8s::m#5
  mul8s::$14 = (char)mul8s::a#4
  mul8s::$10 = mul8s::$9 - mul8s::$14
  mul8s::$12 = mul8s::$10
  mul8s::m#2 = mul8s::m#5 byte1= mul8s::$12
  to:mul8s::@2
mul8s::@return: scope:[mul8s]  from mul8s::@2
  mul8s::return#4 = phi( mul8s::@2/mul8s::return#0 )
  mul8s::return#1 = mul8s::return#4
  return 
  to:@return

void gotoxy(char x , char y)
gotoxy: scope:[gotoxy]  from conio_c64_init::@1 cscroll::@2 main::@3
  gotoxy::x#6 = phi( conio_c64_init::@1/gotoxy::x#2, cscroll::@2/gotoxy::x#1, main::@3/gotoxy::x#3 )
  gotoxy::y#4 = phi( conio_c64_init::@1/gotoxy::y#2, cscroll::@2/gotoxy::y#1, main::@3/gotoxy::y#3 )
  gotoxy::$0 = gotoxy::y#4 > $19
  gotoxy::$1 = ! gotoxy::$0
  if(gotoxy::$1) goto gotoxy::@1
  to:gotoxy::@3
gotoxy::@1: scope:[gotoxy]  from gotoxy gotoxy::@3
  gotoxy::y#6 = phi( gotoxy/gotoxy::y#4, gotoxy::@3/gotoxy::y#0 )
  gotoxy::x#4 = phi( gotoxy/gotoxy::x#6, gotoxy::@3/gotoxy::x#7 )
  gotoxy::$2 = gotoxy::x#4 >= $28
  gotoxy::$3 = ! gotoxy::$2
  if(gotoxy::$3) goto gotoxy::@2
  to:gotoxy::@4
gotoxy::@3: scope:[gotoxy]  from gotoxy
  gotoxy::x#7 = phi( gotoxy/gotoxy::x#6 )
  gotoxy::y#0 = 0
  to:gotoxy::@1
gotoxy::@2: scope:[gotoxy]  from gotoxy::@1 gotoxy::@4
  gotoxy::y#5 = phi( gotoxy::@1/gotoxy::y#6, gotoxy::@4/gotoxy::y#7 )
  gotoxy::x#5 = phi( gotoxy::@1/gotoxy::x#4, gotoxy::@4/gotoxy::x#0 )
  conio_cursor_x = gotoxy::x#5
  conio_cursor_y = gotoxy::y#5
  gotoxy::$7 = (unsigned int)gotoxy::y#5
  gotoxy::line_offset#0 = gotoxy::$7 * $28
  gotoxy::$5 = CONIO_SCREEN_TEXT + gotoxy::line_offset#0
  conio_line_text = gotoxy::$5
  gotoxy::$6 = CONIO_SCREEN_COLORS + gotoxy::line_offset#0
  conio_line_color = gotoxy::$6
  to:gotoxy::@return
gotoxy::@4: scope:[gotoxy]  from gotoxy::@1
  gotoxy::y#7 = phi( gotoxy::@1/gotoxy::y#6 )
  gotoxy::x#0 = 0
  to:gotoxy::@2
gotoxy::@return: scope:[gotoxy]  from gotoxy::@2
  return 
  to:@return

__stackcall void cputc(char c)
cputc: scope:[cputc]  from
  cputc::c#0 = stackidx(char,cputc::OFFSET_STACK_C)
  cputc::$0 = cputc::c#0 == '
'
  if(cputc::$0) goto cputc::@1
  to:cputc::@2
cputc::@1: scope:[cputc]  from cputc
  call cputln
  to:cputc::@4
cputc::@4: scope:[cputc]  from cputc::@1
  to:cputc::@return
cputc::@2: scope:[cputc]  from cputc
  cputc::c#1 = phi( cputc/cputc::c#0 )
  conio_line_text[conio_cursor_x] = cputc::c#1
  conio_line_color[conio_cursor_x] = conio_textcolor
  conio_cursor_x = ++ conio_cursor_x
  cputc::$1 = conio_cursor_x == $28
  cputc::$2 = ! cputc::$1
  if(cputc::$2) goto cputc::@return
  to:cputc::@3
cputc::@3: scope:[cputc]  from cputc::@2
  call cputln
  to:cputc::@5
cputc::@5: scope:[cputc]  from cputc::@3
  to:cputc::@return
cputc::@return: scope:[cputc]  from cputc::@2 cputc::@4 cputc::@5
  return 
  to:@return

void cputln()
cputln: scope:[cputln]  from cputc::@1 cputc::@3
  conio_line_text = conio_line_text + $28
  conio_line_color = conio_line_color + $28
  conio_cursor_x = 0
  conio_cursor_y = ++ conio_cursor_y
  call cscroll
  to:cputln::@1
cputln::@1: scope:[cputln]  from cputln
  to:cputln::@return
cputln::@return: scope:[cputln]  from cputln::@1
  return 
  to:@return

void cscroll()
cscroll: scope:[cscroll]  from cputln
  cscroll::$0 = conio_cursor_y == $19
  cscroll::$1 = ! cscroll::$0
  if(cscroll::$1) goto cscroll::@return
  to:cscroll::@1
cscroll::@1: scope:[cscroll]  from cscroll
  cscroll::$7 = 0 != conio_scroll_enable
  if(cscroll::$7) goto cscroll::@3
  to:cscroll::@2
cscroll::@3: scope:[cscroll]  from cscroll::@1
  memcpy::destination#0 = (void *)CONIO_SCREEN_TEXT
  memcpy::source#0 = (void *)CONIO_SCREEN_TEXT+$28
  memcpy::num#0 = $19*$28-$28
  call memcpy
  memcpy::return#2 = memcpy::return#1
  to:cscroll::@4
cscroll::@4: scope:[cscroll]  from cscroll::@3
  memcpy::destination#1 = (void *)CONIO_SCREEN_COLORS
  memcpy::source#1 = (void *)CONIO_SCREEN_COLORS+$28
  memcpy::num#1 = $19*$28-$28
  call memcpy
  memcpy::return#3 = memcpy::return#1
  to:cscroll::@5
cscroll::@5: scope:[cscroll]  from cscroll::@4
  memset::str#0 = (void *)CONIO_SCREEN_TEXT+$19*$28-$28
  memset::c#0 = ' '
  memset::num#0 = $28
  call memset
  memset::return#2 = memset::return#1
  to:cscroll::@6
cscroll::@6: scope:[cscroll]  from cscroll::@5
  memset::str#1 = (void *)CONIO_SCREEN_COLORS+$19*$28-$28
  memset::c#1 = conio_textcolor
  memset::num#1 = $28
  call memset
  memset::return#3 = memset::return#1
  to:cscroll::@7
cscroll::@7: scope:[cscroll]  from cscroll::@6
  conio_line_text = conio_line_text - $28
  conio_line_color = conio_line_color - $28
  conio_cursor_y = -- conio_cursor_y
  to:cscroll::@return
cscroll::@2: scope:[cscroll]  from cscroll::@1
  gotoxy::x#1 = 0
  gotoxy::y#1 = 0
  call gotoxy
  to:cscroll::@8
cscroll::@8: scope:[cscroll]  from cscroll::@2
  to:cscroll::@return
cscroll::@return: scope:[cscroll]  from cscroll cscroll::@7 cscroll::@8
  return 
  to:@return

void conio_c64_init()
conio_c64_init: scope:[conio_c64_init]  from __start::__init1
  conio_c64_init::line#0 = *conio_c64_init::BASIC_CURSOR_LINE
  conio_c64_init::$0 = conio_c64_init::line#0 >= $19
  conio_c64_init::$1 = ! conio_c64_init::$0
  if(conio_c64_init::$1) goto conio_c64_init::@1
  to:conio_c64_init::@2
conio_c64_init::@1: scope:[conio_c64_init]  from conio_c64_init conio_c64_init::@2
  conio_c64_init::line#2 = phi( conio_c64_init/conio_c64_init::line#0, conio_c64_init::@2/conio_c64_init::line#1 )
  gotoxy::x#2 = 0
  gotoxy::y#2 = conio_c64_init::line#2
  call gotoxy
  to:conio_c64_init::@3
conio_c64_init::@3: scope:[conio_c64_init]  from conio_c64_init::@1
  to:conio_c64_init::@return
conio_c64_init::@2: scope:[conio_c64_init]  from conio_c64_init
  conio_c64_init::line#1 = $19-1
  to:conio_c64_init::@1
conio_c64_init::@return: scope:[conio_c64_init]  from conio_c64_init::@3
  return 
  to:@return

void utoa(unsigned int value , char *buffer , char radix)
utoa: scope:[utoa]  from printf_uint::@3
  utoa::buffer#21 = phi( printf_uint::@3/utoa::buffer#5 )
  utoa::value#12 = phi( printf_uint::@3/utoa::value#1 )
  utoa::radix#1 = phi( printf_uint::@3/utoa::radix#0 )
  utoa::max_digits#0 = 0
  utoa::digit_values#0 = (unsigned int *) 0
  utoa::$0 = utoa::radix#1 == DECIMAL
  if(utoa::$0) goto utoa::@1
  to:utoa::@6
utoa::@1: scope:[utoa]  from utoa
  utoa::buffer#17 = phi( utoa/utoa::buffer#21 )
  utoa::value#8 = phi( utoa/utoa::value#12 )
  utoa::max_digits#1 = 5
  utoa::digit_values#1 = RADIX_DECIMAL_VALUES
  to:utoa::@5
utoa::@6: scope:[utoa]  from utoa
  utoa::value#13 = phi( utoa/utoa::value#12 )
  utoa::buffer#16 = phi( utoa/utoa::buffer#21 )
  utoa::radix#2 = phi( utoa/utoa::radix#1 )
  utoa::$1 = utoa::radix#2 == HEXADECIMAL
  if(utoa::$1) goto utoa::@2
  to:utoa::@7
utoa::@2: scope:[utoa]  from utoa::@6
  utoa::buffer#18 = phi( utoa::@6/utoa::buffer#16 )
  utoa::value#9 = phi( utoa::@6/utoa::value#13 )
  utoa::max_digits#2 = 4
  utoa::digit_values#2 = RADIX_HEXADECIMAL_VALUES
  to:utoa::@5
utoa::@7: scope:[utoa]  from utoa::@6
  utoa::value#14 = phi( utoa::@6/utoa::value#13 )
  utoa::buffer#13 = phi( utoa::@6/utoa::buffer#16 )
  utoa::radix#3 = phi( utoa::@6/utoa::radix#2 )
  utoa::$2 = utoa::radix#3 == OCTAL
  if(utoa::$2) goto utoa::@3
  to:utoa::@8
utoa::@3: scope:[utoa]  from utoa::@7
  utoa::buffer#19 = phi( utoa::@7/utoa::buffer#13 )
  utoa::value#10 = phi( utoa::@7/utoa::value#14 )
  utoa::max_digits#3 = 6
  utoa::digit_values#3 = RADIX_OCTAL_VALUES
  to:utoa::@5
utoa::@8: scope:[utoa]  from utoa::@7
  utoa::value#15 = phi( utoa::@7/utoa::value#14 )
  utoa::buffer#10 = phi( utoa::@7/utoa::buffer#13 )
  utoa::radix#4 = phi( utoa::@7/utoa::radix#3 )
  utoa::$3 = utoa::radix#4 == BINARY
  if(utoa::$3) goto utoa::@4
  to:utoa::@9
utoa::@4: scope:[utoa]  from utoa::@8
  utoa::buffer#20 = phi( utoa::@8/utoa::buffer#10 )
  utoa::value#11 = phi( utoa::@8/utoa::value#15 )
  utoa::max_digits#4 = $10
  utoa::digit_values#4 = RADIX_BINARY_VALUES
  to:utoa::@5
utoa::@9: scope:[utoa]  from utoa::@8
  utoa::buffer#6 = phi( utoa::@8/utoa::buffer#10 )
  *utoa::buffer#6 = 'e'
  utoa::buffer#0 = ++ utoa::buffer#6
  *utoa::buffer#0 = 'r'
  utoa::buffer#1 = ++ utoa::buffer#0
  *utoa::buffer#1 = 'r'
  utoa::buffer#2 = ++ utoa::buffer#1
  *utoa::buffer#2 = 0
  to:utoa::@return
utoa::@return: scope:[utoa]  from utoa::@12 utoa::@9
  return 
  to:@return
utoa::@5: scope:[utoa]  from utoa::@1 utoa::@2 utoa::@3 utoa::@4
  utoa::buffer#15 = phi( utoa::@1/utoa::buffer#17, utoa::@2/utoa::buffer#18, utoa::@3/utoa::buffer#19, utoa::@4/utoa::buffer#20 )
  utoa::value#7 = phi( utoa::@1/utoa::value#8, utoa::@2/utoa::value#9, utoa::@3/utoa::value#10, utoa::@4/utoa::value#11 )
  utoa::digit_values#8 = phi( utoa::@1/utoa::digit_values#1, utoa::@2/utoa::digit_values#2, utoa::@3/utoa::digit_values#3, utoa::@4/utoa::digit_values#4 )
  utoa::max_digits#7 = phi( utoa::@1/utoa::max_digits#1, utoa::@2/utoa::max_digits#2, utoa::@3/utoa::max_digits#3, utoa::@4/utoa::max_digits#4 )
  utoa::started#0 = 0
  utoa::digit#0 = 0
  to:utoa::@10
utoa::@10: scope:[utoa]  from utoa::@13 utoa::@5
  utoa::buffer#11 = phi( utoa::@13/utoa::buffer#14, utoa::@5/utoa::buffer#15 )
  utoa::started#3 = phi( utoa::@13/utoa::started#4, utoa::@5/utoa::started#0 )
  utoa::value#5 = phi( utoa::@13/utoa::value#6, utoa::@5/utoa::value#7 )
  utoa::digit_values#6 = phi( utoa::@13/utoa::digit_values#7, utoa::@5/utoa::digit_values#8 )
  utoa::digit#2 = phi( utoa::@13/utoa::digit#1, utoa::@5/utoa::digit#0 )
  utoa::max_digits#5 = phi( utoa::@13/utoa::max_digits#6, utoa::@5/utoa::max_digits#7 )
  utoa::$4 = utoa::max_digits#5 - 1
  utoa::$5 = utoa::digit#2 < utoa::$4
  if(utoa::$5) goto utoa::@11
  to:utoa::@12
utoa::@11: scope:[utoa]  from utoa::@10
  utoa::max_digits#8 = phi( utoa::@10/utoa::max_digits#5 )
  utoa::buffer#12 = phi( utoa::@10/utoa::buffer#11 )
  utoa::started#2 = phi( utoa::@10/utoa::started#3 )
  utoa::value#2 = phi( utoa::@10/utoa::value#5 )
  utoa::digit_values#5 = phi( utoa::@10/utoa::digit_values#6 )
  utoa::digit#3 = phi( utoa::@10/utoa::digit#2 )
  utoa::$10 = utoa::digit#3 * SIZEOF_UNSIGNED_INT
  utoa::digit_value#0 = utoa::digit_values#5[utoa::$10]
  utoa::$6 = utoa::value#2 >= utoa::digit_value#0
  utoa::$7 = utoa::started#2 || utoa::$6
  utoa::$8 = ! utoa::$7
  if(utoa::$8) goto utoa::@13
  to:utoa::@14
utoa::@12: scope:[utoa]  from utoa::@10
  utoa::buffer#7 = phi( utoa::@10/utoa::buffer#11 )
  utoa::value#3 = phi( utoa::@10/utoa::value#5 )
  utoa::$11 = (char)utoa::value#3
  *utoa::buffer#7 = DIGITS[utoa::$11]
  utoa::buffer#3 = ++ utoa::buffer#7
  *utoa::buffer#3 = 0
  to:utoa::@return
utoa::@13: scope:[utoa]  from utoa::@11 utoa::@15
  utoa::buffer#14 = phi( utoa::@11/utoa::buffer#12, utoa::@15/utoa::buffer#4 )
  utoa::started#4 = phi( utoa::@11/utoa::started#2, utoa::@15/utoa::started#1 )
  utoa::value#6 = phi( utoa::@11/utoa::value#2, utoa::@15/utoa::value#0 )
  utoa::digit_values#7 = phi( utoa::@11/utoa::digit_values#5, utoa::@15/utoa::digit_values#9 )
  utoa::max_digits#6 = phi( utoa::@11/utoa::max_digits#8, utoa::@15/utoa::max_digits#9 )
  utoa::digit#4 = phi( utoa::@11/utoa::digit#3, utoa::@15/utoa::digit#5 )
  utoa::digit#1 = ++ utoa::digit#4
  to:utoa::@10
utoa::@14: scope:[utoa]  from utoa::@11
  utoa::digit_values#10 = phi( utoa::@11/utoa::digit_values#5 )
  utoa::max_digits#10 = phi( utoa::@11/utoa::max_digits#8 )
  utoa::digit#6 = phi( utoa::@11/utoa::digit#3 )
  utoa::digit_value#1 = phi( utoa::@11/utoa::digit_value#0 )
  utoa::value#4 = phi( utoa::@11/utoa::value#2 )
  utoa::buffer#8 = phi( utoa::@11/utoa::buffer#12 )
  utoa_append::buffer#0 = utoa::buffer#8
  utoa_append::value#0 = utoa::value#4
  utoa_append::sub#0 = utoa::digit_value#1
  call utoa_append
  utoa_append::return#0 = utoa_append::return#2
  to:utoa::@15
utoa::@15: scope:[utoa]  from utoa::@14
  utoa::digit_values#9 = phi( utoa::@14/utoa::digit_values#10 )
  utoa::max_digits#9 = phi( utoa::@14/utoa::max_digits#10 )
  utoa::digit#5 = phi( utoa::@14/utoa::digit#6 )
  utoa::buffer#9 = phi( utoa::@14/utoa::buffer#8 )
  utoa_append::return#3 = phi( utoa::@14/utoa_append::return#0 )
  utoa::$9 = utoa_append::return#3
  utoa::value#0 = utoa::$9
  utoa::buffer#4 = ++ utoa::buffer#9
  utoa::started#1 = 1
  to:utoa::@13

unsigned int utoa_append(char *buffer , unsigned int value , unsigned int sub)
utoa_append: scope:[utoa_append]  from utoa::@14
  utoa_append::buffer#3 = phi( utoa::@14/utoa_append::buffer#0 )
  utoa_append::sub#3 = phi( utoa::@14/utoa_append::sub#0 )
  utoa_append::value#5 = phi( utoa::@14/utoa_append::value#0 )
  utoa_append::digit#0 = 0
  to:utoa_append::@1
utoa_append::@1: scope:[utoa_append]  from utoa_append utoa_append::@2
  utoa_append::buffer#2 = phi( utoa_append/utoa_append::buffer#3, utoa_append::@2/utoa_append::buffer#4 )
  utoa_append::digit#4 = phi( utoa_append/utoa_append::digit#0, utoa_append::@2/utoa_append::digit#1 )
  utoa_append::sub#1 = phi( utoa_append/utoa_append::sub#3, utoa_append::@2/utoa_append::sub#2 )
  utoa_append::value#2 = phi( utoa_append/utoa_append::value#5, utoa_append::@2/utoa_append::value#1 )
  utoa_append::$0 = utoa_append::value#2 >= utoa_append::sub#1
  if(utoa_append::$0) goto utoa_append::@2
  to:utoa_append::@3
utoa_append::@2: scope:[utoa_append]  from utoa_append::@1
  utoa_append::buffer#4 = phi( utoa_append::@1/utoa_append::buffer#2 )
  utoa_append::sub#2 = phi( utoa_append::@1/utoa_append::sub#1 )
  utoa_append::value#3 = phi( utoa_append::@1/utoa_append::value#2 )
  utoa_append::digit#2 = phi( utoa_append::@1/utoa_append::digit#4 )
  utoa_append::digit#1 = ++ utoa_append::digit#2
  utoa_append::value#1 = utoa_append::value#3 - utoa_append::sub#2
  to:utoa_append::@1
utoa_append::@3: scope:[utoa_append]  from utoa_append::@1
  utoa_append::value#4 = phi( utoa_append::@1/utoa_append::value#2 )
  utoa_append::buffer#1 = phi( utoa_append::@1/utoa_append::buffer#2 )
  utoa_append::digit#3 = phi( utoa_append::@1/utoa_append::digit#4 )
  *utoa_append::buffer#1 = DIGITS[utoa_append::digit#3]
  utoa_append::return#1 = utoa_append::value#4
  to:utoa_append::@return
utoa_append::@return: scope:[utoa_append]  from utoa_append::@3
  utoa_append::return#4 = phi( utoa_append::@3/utoa_append::return#1 )
  utoa_append::return#2 = utoa_append::return#4
  return 
  to:@return

void printf_str(void (*putc)(char) , const char *s)
printf_str: scope:[printf_str]  from main::@11 printf_number_buffer::@5
  printf_str::putc#4 = phi( main::@11/printf_str::putc#1, printf_number_buffer::@5/printf_str::putc#0 )
  printf_str::s#4 = phi( main::@11/printf_str::s#2, printf_number_buffer::@5/printf_str::s#1 )
  printf_str::c#0 = 0
  to:printf_str::@1
printf_str::@1: scope:[printf_str]  from printf_str printf_str::@2
  printf_str::putc#3 = phi( printf_str/printf_str::putc#4, printf_str::@2/printf_str::putc#2 )
  printf_str::s#3 = phi( printf_str/printf_str::s#4, printf_str::@2/printf_str::s#5 )
  printf_str::c#1 = *printf_str::s#3
  printf_str::$0 = printf_str::c#1
  printf_str::s#0 = ++ printf_str::s#3
  printf_str::$2 = 0 != printf_str::$0
  if(printf_str::$2) goto printf_str::@2
  to:printf_str::@return
printf_str::@2: scope:[printf_str]  from printf_str::@1
  printf_str::s#5 = phi( printf_str::@1/printf_str::s#0 )
  printf_str::putc#2 = phi( printf_str::@1/printf_str::putc#3 )
  printf_str::c#2 = phi( printf_str::@1/printf_str::c#1 )
  stackpush(char) = printf_str::c#2
  callexecute *printf_str::putc#2 
  sideeffect stackpullbytes(1)
  to:printf_str::@1
printf_str::@return: scope:[printf_str]  from printf_str::@1
  return 
  to:@return

void printf_padding(void (*putc)(char) , char pad , char length)
printf_padding: scope:[printf_padding]  from printf_number_buffer::@10 printf_number_buffer::@12 printf_number_buffer::@8
  printf_padding::putc#5 = phi( printf_number_buffer::@10/printf_padding::putc#1, printf_number_buffer::@12/printf_padding::putc#2, printf_number_buffer::@8/printf_padding::putc#0 )
  printf_padding::pad#5 = phi( printf_number_buffer::@10/printf_padding::pad#1, printf_number_buffer::@12/printf_padding::pad#2, printf_number_buffer::@8/printf_padding::pad#0 )
  printf_padding::length#4 = phi( printf_number_buffer::@10/printf_padding::length#1, printf_number_buffer::@12/printf_padding::length#2, printf_number_buffer::@8/printf_padding::length#0 )
  printf_padding::i#0 = 0
  to:printf_padding::@1
printf_padding::@1: scope:[printf_padding]  from printf_padding printf_padding::@3
  printf_padding::putc#4 = phi( printf_padding/printf_padding::putc#5, printf_padding::@3/printf_padding::putc#6 )
  printf_padding::pad#4 = phi( printf_padding/printf_padding::pad#5, printf_padding::@3/printf_padding::pad#6 )
  printf_padding::length#3 = phi( printf_padding/printf_padding::length#4, printf_padding::@3/printf_padding::length#5 )
  printf_padding::i#2 = phi( printf_padding/printf_padding::i#0, printf_padding::@3/printf_padding::i#1 )
  printf_padding::$0 = printf_padding::i#2 < printf_padding::length#3
  if(printf_padding::$0) goto printf_padding::@2
  to:printf_padding::@return
printf_padding::@2: scope:[printf_padding]  from printf_padding::@1
  printf_padding::length#6 = phi( printf_padding::@1/printf_padding::length#3 )
  printf_padding::i#4 = phi( printf_padding::@1/printf_padding::i#2 )
  printf_padding::putc#3 = phi( printf_padding::@1/printf_padding::putc#4 )
  printf_padding::pad#3 = phi( printf_padding::@1/printf_padding::pad#4 )
  stackpush(char) = printf_padding::pad#3
  callexecute *printf_padding::putc#3 
  sideeffect stackpullbytes(1)
  to:printf_padding::@3
printf_padding::@3: scope:[printf_padding]  from printf_padding::@2
  printf_padding::putc#6 = phi( printf_padding::@2/printf_padding::putc#3 )
  printf_padding::pad#6 = phi( printf_padding::@2/printf_padding::pad#3 )
  printf_padding::length#5 = phi( printf_padding::@2/printf_padding::length#6 )
  printf_padding::i#3 = phi( printf_padding::@2/printf_padding::i#4 )
  printf_padding::i#1 = ++ printf_padding::i#3
  to:printf_padding::@1
printf_padding::@return: scope:[printf_padding]  from printf_padding::@1
  return 
  to:@return

void printf_uint(void (*putc)(char) , unsigned int uvalue , char format_min_length , char format_justify_left , char format_sign_always , char format_zero_padding , char format_upper_case , char format_radix)
printf_uint: scope:[printf_uint]  from main::@10
  printf_uint::format_upper_case#5 = phi( main::@10/printf_uint::format_upper_case#0 )
  printf_uint::format_zero_padding#5 = phi( main::@10/printf_uint::format_zero_padding#0 )
  printf_uint::format_justify_left#5 = phi( main::@10/printf_uint::format_justify_left#0 )
  printf_uint::format_min_length#5 = phi( main::@10/printf_uint::format_min_length#0 )
  printf_uint::putc#5 = phi( main::@10/printf_uint::putc#0 )
  printf_uint::format_radix#5 = phi( main::@10/printf_uint::format_radix#0 )
  printf_uint::uvalue#4 = phi( main::@10/printf_uint::uvalue#0 )
  printf_uint::format_sign_always#1 = phi( main::@10/printf_uint::format_sign_always#0 )
  printf_uint::$5 = 0 != printf_uint::format_sign_always#1
  if(printf_uint::$5) goto printf_uint::@1
  to:printf_uint::@2
printf_uint::@1: scope:[printf_uint]  from printf_uint
  printf_uint::format_upper_case#3 = phi( printf_uint/printf_uint::format_upper_case#5 )
  printf_uint::format_zero_padding#3 = phi( printf_uint/printf_uint::format_zero_padding#5 )
  printf_uint::format_sign_always#4 = phi( printf_uint/printf_uint::format_sign_always#1 )
  printf_uint::format_justify_left#3 = phi( printf_uint/printf_uint::format_justify_left#5 )
  printf_uint::format_min_length#3 = phi( printf_uint/printf_uint::format_min_length#5 )
  printf_uint::putc#3 = phi( printf_uint/printf_uint::putc#5 )
  printf_uint::format_radix#3 = phi( printf_uint/printf_uint::format_radix#5 )
  printf_uint::uvalue#2 = phi( printf_uint/printf_uint::uvalue#4 )
  printf_uint::$1 = '+'
  to:printf_uint::@3
printf_uint::@2: scope:[printf_uint]  from printf_uint
  printf_uint::format_upper_case#4 = phi( printf_uint/printf_uint::format_upper_case#5 )
  printf_uint::format_zero_padding#4 = phi( printf_uint/printf_uint::format_zero_padding#5 )
  printf_uint::format_sign_always#5 = phi( printf_uint/printf_uint::format_sign_always#1 )
  printf_uint::format_justify_left#4 = phi( printf_uint/printf_uint::format_justify_left#5 )
  printf_uint::format_min_length#4 = phi( printf_uint/printf_uint::format_min_length#5 )
  printf_uint::putc#4 = phi( printf_uint/printf_uint::putc#5 )
  printf_uint::format_radix#4 = phi( printf_uint/printf_uint::format_radix#5 )
  printf_uint::uvalue#3 = phi( printf_uint/printf_uint::uvalue#4 )
  printf_uint::$0 = 0
  to:printf_uint::@3
printf_uint::@3: scope:[printf_uint]  from printf_uint::@1 printf_uint::@2
  printf_uint::format_upper_case#2 = phi( printf_uint::@1/printf_uint::format_upper_case#3, printf_uint::@2/printf_uint::format_upper_case#4 )
  printf_uint::format_zero_padding#2 = phi( printf_uint::@1/printf_uint::format_zero_padding#3, printf_uint::@2/printf_uint::format_zero_padding#4 )
  printf_uint::format_sign_always#3 = phi( printf_uint::@1/printf_uint::format_sign_always#4, printf_uint::@2/printf_uint::format_sign_always#5 )
  printf_uint::format_justify_left#2 = phi( printf_uint::@1/printf_uint::format_justify_left#3, printf_uint::@2/printf_uint::format_justify_left#4 )
  printf_uint::format_min_length#2 = phi( printf_uint::@1/printf_uint::format_min_length#3, printf_uint::@2/printf_uint::format_min_length#4 )
  printf_uint::putc#2 = phi( printf_uint::@1/printf_uint::putc#3, printf_uint::@2/printf_uint::putc#4 )
  printf_uint::format_radix#1 = phi( printf_uint::@1/printf_uint::format_radix#3, printf_uint::@2/printf_uint::format_radix#4 )
  printf_uint::uvalue#1 = phi( printf_uint::@1/printf_uint::uvalue#2, printf_uint::@2/printf_uint::uvalue#3 )
  printf_uint::$2 = phi( printf_uint::@1/printf_uint::$1, printf_uint::@2/printf_uint::$0 )
  *((char *)&printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_SIGN) = printf_uint::$2
  utoa::value#1 = printf_uint::uvalue#1
  utoa::buffer#5 = (char *)&printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS
  utoa::radix#0 = printf_uint::format_radix#1
  call utoa
  to:printf_uint::@4
printf_uint::@4: scope:[printf_uint]  from printf_uint::@3
  printf_uint::format_radix#2 = phi( printf_uint::@3/printf_uint::format_radix#1 )
  printf_uint::format_upper_case#1 = phi( printf_uint::@3/printf_uint::format_upper_case#2 )
  printf_uint::format_zero_padding#1 = phi( printf_uint::@3/printf_uint::format_zero_padding#2 )
  printf_uint::format_sign_always#2 = phi( printf_uint::@3/printf_uint::format_sign_always#3 )
  printf_uint::format_justify_left#1 = phi( printf_uint::@3/printf_uint::format_justify_left#2 )
  printf_uint::format_min_length#1 = phi( printf_uint::@3/printf_uint::format_min_length#2 )
  printf_uint::putc#1 = phi( printf_uint::@3/printf_uint::putc#2 )
  printf_number_buffer::putc#0 = printf_uint::putc#1
  printf_number_buffer::buffer_sign#0 = *((char *)&printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_SIGN)
  printf_number_buffer::buffer_digits#0 = (char *)&printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS
  printf_number_buffer::format_min_length#0 = printf_uint::format_min_length#1
  printf_number_buffer::format_justify_left#0 = printf_uint::format_justify_left#1
  printf_number_buffer::format_sign_always#0 = printf_uint::format_sign_always#2
  printf_number_buffer::format_zero_padding#0 = printf_uint::format_zero_padding#1
  printf_number_buffer::format_upper_case#0 = printf_uint::format_upper_case#1
  printf_number_buffer::format_radix#0 = printf_uint::format_radix#2
  call printf_number_buffer
  to:printf_uint::@5
printf_uint::@5: scope:[printf_uint]  from printf_uint::@4
  to:printf_uint::@return
printf_uint::@return: scope:[printf_uint]  from printf_uint::@5
  return 
  to:@return

void printf_number_buffer(void (*putc)(char) , char buffer_sign , char *buffer_digits , char format_min_length , char format_justify_left , char format_sign_always , char format_zero_padding , char format_upper_case , char format_radix)
printf_number_buffer: scope:[printf_number_buffer]  from printf_uint::@4
  printf_number_buffer::format_upper_case#9 = phi( printf_uint::@4/printf_number_buffer::format_upper_case#0 )
  printf_number_buffer::putc#12 = phi( printf_uint::@4/printf_number_buffer::putc#0 )
  printf_number_buffer::buffer_sign#7 = phi( printf_uint::@4/printf_number_buffer::buffer_sign#0 )
  printf_number_buffer::buffer_digits#4 = phi( printf_uint::@4/printf_number_buffer::buffer_digits#0 )
  printf_number_buffer::format_zero_padding#4 = phi( printf_uint::@4/printf_number_buffer::format_zero_padding#0 )
  printf_number_buffer::format_justify_left#3 = phi( printf_uint::@4/printf_number_buffer::format_justify_left#0 )
  printf_number_buffer::format_min_length#1 = phi( printf_uint::@4/printf_number_buffer::format_min_length#0 )
  printf_number_buffer::padding#0 = 0
  printf_number_buffer::$26 = 0 != printf_number_buffer::format_min_length#1
  printf_number_buffer::$0 = ! printf_number_buffer::$26
  if(printf_number_buffer::$0) goto printf_number_buffer::@1
  to:printf_number_buffer::@6
printf_number_buffer::@1: scope:[printf_number_buffer]  from printf_number_buffer printf_number_buffer::@13 printf_number_buffer::@14
  printf_number_buffer::buffer_digits#12 = phi( printf_number_buffer/printf_number_buffer::buffer_digits#4, printf_number_buffer::@13/printf_number_buffer::buffer_digits#14, printf_number_buffer::@14/printf_number_buffer::buffer_digits#15 )
  printf_number_buffer::format_upper_case#7 = phi( printf_number_buffer/printf_number_buffer::format_upper_case#9, printf_number_buffer::@13/printf_number_buffer::format_upper_case#10, printf_number_buffer::@14/printf_number_buffer::format_upper_case#11 )
  printf_number_buffer::putc#6 = phi( printf_number_buffer/printf_number_buffer::putc#12, printf_number_buffer::@13/printf_number_buffer::putc#13, printf_number_buffer::@14/printf_number_buffer::putc#14 )
  printf_number_buffer::buffer_sign#5 = phi( printf_number_buffer/printf_number_buffer::buffer_sign#7, printf_number_buffer::@13/printf_number_buffer::buffer_sign#8, printf_number_buffer::@14/printf_number_buffer::buffer_sign#9 )
  printf_number_buffer::padding#3 = phi( printf_number_buffer/printf_number_buffer::padding#0, printf_number_buffer::@13/printf_number_buffer::padding#1, printf_number_buffer::@14/printf_number_buffer::padding#2 )
  printf_number_buffer::format_zero_padding#1 = phi( printf_number_buffer/printf_number_buffer::format_zero_padding#4, printf_number_buffer::@13/printf_number_buffer::format_zero_padding#5, printf_number_buffer::@14/printf_number_buffer::format_zero_padding#6 )
  printf_number_buffer::format_justify_left#1 = phi( printf_number_buffer/printf_number_buffer::format_justify_left#3, printf_number_buffer::@13/printf_number_buffer::format_justify_left#4, printf_number_buffer::@14/printf_number_buffer::format_justify_left#5 )
  printf_number_buffer::$27 = 0 != printf_number_buffer::format_justify_left#1
  printf_number_buffer::$1 = ! printf_number_buffer::$27
  printf_number_buffer::$28 = 0 != printf_number_buffer::format_zero_padding#1
  printf_number_buffer::$2 = ! printf_number_buffer::$28
  printf_number_buffer::$3 = printf_number_buffer::$1 && printf_number_buffer::$2
  printf_number_buffer::$4 = printf_number_buffer::$3 && printf_number_buffer::padding#3
  printf_number_buffer::$5 = ! printf_number_buffer::$4
  if(printf_number_buffer::$5) goto printf_number_buffer::@2
  to:printf_number_buffer::@8
printf_number_buffer::@6: scope:[printf_number_buffer]  from printf_number_buffer
  printf_number_buffer::format_upper_case#15 = phi( printf_number_buffer/printf_number_buffer::format_upper_case#9 )
  printf_number_buffer::putc#20 = phi( printf_number_buffer/printf_number_buffer::putc#12 )
  printf_number_buffer::format_zero_padding#15 = phi( printf_number_buffer/printf_number_buffer::format_zero_padding#4 )
  printf_number_buffer::format_justify_left#11 = phi( printf_number_buffer/printf_number_buffer::format_justify_left#3 )
  printf_number_buffer::format_min_length#5 = phi( printf_number_buffer/printf_number_buffer::format_min_length#1 )
  printf_number_buffer::buffer_sign#4 = phi( printf_number_buffer/printf_number_buffer::buffer_sign#7 )
  printf_number_buffer::buffer_digits#1 = phi( printf_number_buffer/printf_number_buffer::buffer_digits#4 )
  strlen::str#1 = printf_number_buffer::buffer_digits#1
  call strlen
  strlen::return#2 = strlen::return#1
  to:printf_number_buffer::@15
printf_number_buffer::@15: scope:[printf_number_buffer]  from printf_number_buffer::@6
  printf_number_buffer::buffer_digits#17 = phi( printf_number_buffer::@6/printf_number_buffer::buffer_digits#1 )
  printf_number_buffer::format_upper_case#13 = phi( printf_number_buffer::@6/printf_number_buffer::format_upper_case#15 )
  printf_number_buffer::putc#18 = phi( printf_number_buffer::@6/printf_number_buffer::putc#20 )
  printf_number_buffer::format_zero_padding#10 = phi( printf_number_buffer::@6/printf_number_buffer::format_zero_padding#15 )
  printf_number_buffer::format_justify_left#7 = phi( printf_number_buffer::@6/printf_number_buffer::format_justify_left#11 )
  printf_number_buffer::format_min_length#3 = phi( printf_number_buffer::@6/printf_number_buffer::format_min_length#5 )
  printf_number_buffer::buffer_sign#1 = phi( printf_number_buffer::@6/printf_number_buffer::buffer_sign#4 )
  strlen::return#4 = phi( printf_number_buffer::@6/strlen::return#2 )
  printf_number_buffer::$19 = strlen::return#4
  printf_number_buffer::len#0 = (signed char)printf_number_buffer::$19
  printf_number_buffer::$29 = 0 != printf_number_buffer::buffer_sign#1
  printf_number_buffer::$20 = ! printf_number_buffer::$29
  if(printf_number_buffer::$20) goto printf_number_buffer::@13
  to:printf_number_buffer::@7
printf_number_buffer::@13: scope:[printf_number_buffer]  from printf_number_buffer::@15 printf_number_buffer::@7
  printf_number_buffer::buffer_digits#14 = phi( printf_number_buffer::@15/printf_number_buffer::buffer_digits#17, printf_number_buffer::@7/printf_number_buffer::buffer_digits#18 )
  printf_number_buffer::format_upper_case#10 = phi( printf_number_buffer::@15/printf_number_buffer::format_upper_case#13, printf_number_buffer::@7/printf_number_buffer::format_upper_case#14 )
  printf_number_buffer::putc#13 = phi( printf_number_buffer::@15/printf_number_buffer::putc#18, printf_number_buffer::@7/printf_number_buffer::putc#19 )
  printf_number_buffer::buffer_sign#8 = phi( printf_number_buffer::@15/printf_number_buffer::buffer_sign#1, printf_number_buffer::@7/printf_number_buffer::buffer_sign#11 )
  printf_number_buffer::format_zero_padding#5 = phi( printf_number_buffer::@15/printf_number_buffer::format_zero_padding#10, printf_number_buffer::@7/printf_number_buffer::format_zero_padding#11 )
  printf_number_buffer::format_justify_left#4 = phi( printf_number_buffer::@15/printf_number_buffer::format_justify_left#7, printf_number_buffer::@7/printf_number_buffer::format_justify_left#8 )
  printf_number_buffer::len#2 = phi( printf_number_buffer::@15/printf_number_buffer::len#0, printf_number_buffer::@7/printf_number_buffer::len#1 )
  printf_number_buffer::format_min_length#2 = phi( printf_number_buffer::@15/printf_number_buffer::format_min_length#3, printf_number_buffer::@7/printf_number_buffer::format_min_length#4 )
  printf_number_buffer::$25 = (signed char)printf_number_buffer::format_min_length#2
  printf_number_buffer::$21 = printf_number_buffer::$25 - printf_number_buffer::len#2
  printf_number_buffer::padding#1 = printf_number_buffer::$21
  printf_number_buffer::$22 = printf_number_buffer::padding#1 < 0
  printf_number_buffer::$23 = ! printf_number_buffer::$22
  if(printf_number_buffer::$23) goto printf_number_buffer::@1
  to:printf_number_buffer::@14
printf_number_buffer::@7: scope:[printf_number_buffer]  from printf_number_buffer::@15
  printf_number_buffer::buffer_digits#18 = phi( printf_number_buffer::@15/printf_number_buffer::buffer_digits#17 )
  printf_number_buffer::format_upper_case#14 = phi( printf_number_buffer::@15/printf_number_buffer::format_upper_case#13 )
  printf_number_buffer::putc#19 = phi( printf_number_buffer::@15/printf_number_buffer::putc#18 )
  printf_number_buffer::buffer_sign#11 = phi( printf_number_buffer::@15/printf_number_buffer::buffer_sign#1 )
  printf_number_buffer::format_zero_padding#11 = phi( printf_number_buffer::@15/printf_number_buffer::format_zero_padding#10 )
  printf_number_buffer::format_justify_left#8 = phi( printf_number_buffer::@15/printf_number_buffer::format_justify_left#7 )
  printf_number_buffer::format_min_length#4 = phi( printf_number_buffer::@15/printf_number_buffer::format_min_length#3 )
  printf_number_buffer::len#3 = phi( printf_number_buffer::@15/printf_number_buffer::len#0 )
  printf_number_buffer::len#1 = ++ printf_number_buffer::len#3
  to:printf_number_buffer::@13
printf_number_buffer::@14: scope:[printf_number_buffer]  from printf_number_buffer::@13
  printf_number_buffer::buffer_digits#15 = phi( printf_number_buffer::@13/printf_number_buffer::buffer_digits#14 )
  printf_number_buffer::format_upper_case#11 = phi( printf_number_buffer::@13/printf_number_buffer::format_upper_case#10 )
  printf_number_buffer::putc#14 = phi( printf_number_buffer::@13/printf_number_buffer::putc#13 )
  printf_number_buffer::buffer_sign#9 = phi( printf_number_buffer::@13/printf_number_buffer::buffer_sign#8 )
  printf_number_buffer::format_zero_padding#6 = phi( printf_number_buffer::@13/printf_number_buffer::format_zero_padding#5 )
  printf_number_buffer::format_justify_left#5 = phi( printf_number_buffer::@13/printf_number_buffer::format_justify_left#4 )
  printf_number_buffer::padding#2 = 0
  to:printf_number_buffer::@1
printf_number_buffer::@2: scope:[printf_number_buffer]  from printf_number_buffer::@1 printf_number_buffer::@16
  printf_number_buffer::format_justify_left#15 = phi( printf_number_buffer::@1/printf_number_buffer::format_justify_left#1, printf_number_buffer::@16/printf_number_buffer::format_justify_left#18 )
  printf_number_buffer::buffer_digits#9 = phi( printf_number_buffer::@1/printf_number_buffer::buffer_digits#12, printf_number_buffer::@16/printf_number_buffer::buffer_digits#13 )
  printf_number_buffer::format_upper_case#4 = phi( printf_number_buffer::@1/printf_number_buffer::format_upper_case#7, printf_number_buffer::@16/printf_number_buffer::format_upper_case#8 )
  printf_number_buffer::putc#7 = phi( printf_number_buffer::@1/printf_number_buffer::putc#6, printf_number_buffer::@16/printf_number_buffer::putc#15 )
  printf_number_buffer::padding#9 = phi( printf_number_buffer::@1/printf_number_buffer::padding#3, printf_number_buffer::@16/printf_number_buffer::padding#12 )
  printf_number_buffer::format_zero_padding#7 = phi( printf_number_buffer::@1/printf_number_buffer::format_zero_padding#1, printf_number_buffer::@16/printf_number_buffer::format_zero_padding#12 )
  printf_number_buffer::buffer_sign#2 = phi( printf_number_buffer::@1/printf_number_buffer::buffer_sign#5, printf_number_buffer::@16/printf_number_buffer::buffer_sign#6 )
  printf_number_buffer::$30 = 0 != printf_number_buffer::buffer_sign#2
  printf_number_buffer::$7 = ! printf_number_buffer::$30
  if(printf_number_buffer::$7) goto printf_number_buffer::@3
  to:printf_number_buffer::@9
printf_number_buffer::@8: scope:[printf_number_buffer]  from printf_number_buffer::@1
  printf_number_buffer::format_justify_left#19 = phi( printf_number_buffer::@1/printf_number_buffer::format_justify_left#1 )
  printf_number_buffer::buffer_digits#16 = phi( printf_number_buffer::@1/printf_number_buffer::buffer_digits#12 )
  printf_number_buffer::format_upper_case#12 = phi( printf_number_buffer::@1/printf_number_buffer::format_upper_case#7 )
  printf_number_buffer::format_zero_padding#16 = phi( printf_number_buffer::@1/printf_number_buffer::format_zero_padding#1 )
  printf_number_buffer::buffer_sign#10 = phi( printf_number_buffer::@1/printf_number_buffer::buffer_sign#5 )
  printf_number_buffer::padding#4 = phi( printf_number_buffer::@1/printf_number_buffer::padding#3 )
  printf_number_buffer::putc#1 = phi( printf_number_buffer::@1/printf_number_buffer::putc#6 )
  printf_padding::putc#0 = printf_number_buffer::putc#1
  printf_padding::pad#0 = ' '
  printf_padding::length#0 = (char)printf_number_buffer::padding#4
  call printf_padding
  to:printf_number_buffer::@16
printf_number_buffer::@16: scope:[printf_number_buffer]  from printf_number_buffer::@8
  printf_number_buffer::format_justify_left#18 = phi( printf_number_buffer::@8/printf_number_buffer::format_justify_left#19 )
  printf_number_buffer::buffer_digits#13 = phi( printf_number_buffer::@8/printf_number_buffer::buffer_digits#16 )
  printf_number_buffer::format_upper_case#8 = phi( printf_number_buffer::@8/printf_number_buffer::format_upper_case#12 )
  printf_number_buffer::putc#15 = phi( printf_number_buffer::@8/printf_number_buffer::putc#1 )
  printf_number_buffer::padding#12 = phi( printf_number_buffer::@8/printf_number_buffer::padding#4 )
  printf_number_buffer::format_zero_padding#12 = phi( printf_number_buffer::@8/printf_number_buffer::format_zero_padding#16 )
  printf_number_buffer::buffer_sign#6 = phi( printf_number_buffer::@8/printf_number_buffer::buffer_sign#10 )
  to:printf_number_buffer::@2
printf_number_buffer::@3: scope:[printf_number_buffer]  from printf_number_buffer::@2 printf_number_buffer::@9
  printf_number_buffer::format_justify_left#13 = phi( printf_number_buffer::@2/printf_number_buffer::format_justify_left#15, printf_number_buffer::@9/printf_number_buffer::format_justify_left#16 )
  printf_number_buffer::buffer_digits#8 = phi( printf_number_buffer::@2/printf_number_buffer::buffer_digits#9, printf_number_buffer::@9/printf_number_buffer::buffer_digits#10 )
  printf_number_buffer::putc#8 = phi( printf_number_buffer::@2/printf_number_buffer::putc#7, printf_number_buffer::@9/printf_number_buffer::putc#2 )
  printf_number_buffer::format_upper_case#3 = phi( printf_number_buffer::@2/printf_number_buffer::format_upper_case#4, printf_number_buffer::@9/printf_number_buffer::format_upper_case#5 )
  printf_number_buffer::padding#5 = phi( printf_number_buffer::@2/printf_number_buffer::padding#9, printf_number_buffer::@9/printf_number_buffer::padding#10 )
  printf_number_buffer::format_zero_padding#2 = phi( printf_number_buffer::@2/printf_number_buffer::format_zero_padding#7, printf_number_buffer::@9/printf_number_buffer::format_zero_padding#8 )
  printf_number_buffer::$9 = printf_number_buffer::format_zero_padding#2 && printf_number_buffer::padding#5
  printf_number_buffer::$10 = ! printf_number_buffer::$9
  if(printf_number_buffer::$10) goto printf_number_buffer::@4
  to:printf_number_buffer::@10
printf_number_buffer::@9: scope:[printf_number_buffer]  from printf_number_buffer::@2
  printf_number_buffer::format_justify_left#16 = phi( printf_number_buffer::@2/printf_number_buffer::format_justify_left#15 )
  printf_number_buffer::buffer_digits#10 = phi( printf_number_buffer::@2/printf_number_buffer::buffer_digits#9 )
  printf_number_buffer::format_upper_case#5 = phi( printf_number_buffer::@2/printf_number_buffer::format_upper_case#4 )
  printf_number_buffer::padding#10 = phi( printf_number_buffer::@2/printf_number_buffer::padding#9 )
  printf_number_buffer::format_zero_padding#8 = phi( printf_number_buffer::@2/printf_number_buffer::format_zero_padding#7 )
  printf_number_buffer::putc#2 = phi( printf_number_buffer::@2/printf_number_buffer::putc#7 )
  printf_number_buffer::buffer_sign#3 = phi( printf_number_buffer::@2/printf_number_buffer::buffer_sign#2 )
  stackpush(char) = printf_number_buffer::buffer_sign#3
  callexecute *printf_number_buffer::putc#2 
  sideeffect stackpullbytes(1)
  to:printf_number_buffer::@3
printf_number_buffer::@4: scope:[printf_number_buffer]  from printf_number_buffer::@17 printf_number_buffer::@3
  printf_number_buffer::padding#14 = phi( printf_number_buffer::@17/printf_number_buffer::padding#15, printf_number_buffer::@3/printf_number_buffer::padding#5 )
  printf_number_buffer::format_justify_left#10 = phi( printf_number_buffer::@17/printf_number_buffer::format_justify_left#12, printf_number_buffer::@3/printf_number_buffer::format_justify_left#13 )
  printf_number_buffer::format_zero_padding#14 = phi( printf_number_buffer::@17/printf_number_buffer::format_zero_padding#17, printf_number_buffer::@3/printf_number_buffer::format_zero_padding#2 )
  printf_number_buffer::buffer_digits#6 = phi( printf_number_buffer::@17/printf_number_buffer::buffer_digits#7, printf_number_buffer::@3/printf_number_buffer::buffer_digits#8 )
  printf_number_buffer::putc#10 = phi( printf_number_buffer::@17/printf_number_buffer::putc#16, printf_number_buffer::@3/printf_number_buffer::putc#8 )
  printf_number_buffer::format_upper_case#1 = phi( printf_number_buffer::@17/printf_number_buffer::format_upper_case#2, printf_number_buffer::@3/printf_number_buffer::format_upper_case#3 )
  printf_number_buffer::$31 = 0 != printf_number_buffer::format_upper_case#1
  printf_number_buffer::$12 = ! printf_number_buffer::$31
  if(printf_number_buffer::$12) goto printf_number_buffer::@5
  to:printf_number_buffer::@11
printf_number_buffer::@10: scope:[printf_number_buffer]  from printf_number_buffer::@3
  printf_number_buffer::format_justify_left#17 = phi( printf_number_buffer::@3/printf_number_buffer::format_justify_left#13 )
  printf_number_buffer::format_zero_padding#19 = phi( printf_number_buffer::@3/printf_number_buffer::format_zero_padding#2 )
  printf_number_buffer::buffer_digits#11 = phi( printf_number_buffer::@3/printf_number_buffer::buffer_digits#8 )
  printf_number_buffer::format_upper_case#6 = phi( printf_number_buffer::@3/printf_number_buffer::format_upper_case#3 )
  printf_number_buffer::padding#6 = phi( printf_number_buffer::@3/printf_number_buffer::padding#5 )
  printf_number_buffer::putc#3 = phi( printf_number_buffer::@3/printf_number_buffer::putc#8 )
  printf_padding::putc#1 = printf_number_buffer::putc#3
  printf_padding::pad#1 = '0'
  printf_padding::length#1 = (char)printf_number_buffer::padding#6
  call printf_padding
  to:printf_number_buffer::@17
printf_number_buffer::@17: scope:[printf_number_buffer]  from printf_number_buffer::@10
  printf_number_buffer::padding#15 = phi( printf_number_buffer::@10/printf_number_buffer::padding#6 )
  printf_number_buffer::format_justify_left#12 = phi( printf_number_buffer::@10/printf_number_buffer::format_justify_left#17 )
  printf_number_buffer::format_zero_padding#17 = phi( printf_number_buffer::@10/printf_number_buffer::format_zero_padding#19 )
  printf_number_buffer::buffer_digits#7 = phi( printf_number_buffer::@10/printf_number_buffer::buffer_digits#11 )
  printf_number_buffer::putc#16 = phi( printf_number_buffer::@10/printf_number_buffer::putc#3 )
  printf_number_buffer::format_upper_case#2 = phi( printf_number_buffer::@10/printf_number_buffer::format_upper_case#6 )
  to:printf_number_buffer::@4
printf_number_buffer::@5: scope:[printf_number_buffer]  from printf_number_buffer::@19 printf_number_buffer::@4
  printf_number_buffer::padding#11 = phi( printf_number_buffer::@19/printf_number_buffer::padding#13, printf_number_buffer::@4/printf_number_buffer::padding#14 )
  printf_number_buffer::format_justify_left#6 = phi( printf_number_buffer::@19/printf_number_buffer::format_justify_left#9, printf_number_buffer::@4/printf_number_buffer::format_justify_left#10 )
  printf_number_buffer::format_zero_padding#9 = phi( printf_number_buffer::@19/printf_number_buffer::format_zero_padding#13, printf_number_buffer::@4/printf_number_buffer::format_zero_padding#14 )
  printf_number_buffer::buffer_digits#2 = phi( printf_number_buffer::@19/printf_number_buffer::buffer_digits#5, printf_number_buffer::@4/printf_number_buffer::buffer_digits#6 )
  printf_number_buffer::putc#4 = phi( printf_number_buffer::@19/printf_number_buffer::putc#9, printf_number_buffer::@4/printf_number_buffer::putc#10 )
  printf_str::putc#0 = printf_number_buffer::putc#4
  printf_str::s#1 = printf_number_buffer::buffer_digits#2
  call printf_str
  to:printf_number_buffer::@18
printf_number_buffer::@18: scope:[printf_number_buffer]  from printf_number_buffer::@5
  printf_number_buffer::putc#11 = phi( printf_number_buffer::@5/printf_number_buffer::putc#4 )
  printf_number_buffer::padding#7 = phi( printf_number_buffer::@5/printf_number_buffer::padding#11 )
  printf_number_buffer::format_justify_left#2 = phi( printf_number_buffer::@5/printf_number_buffer::format_justify_left#6 )
  printf_number_buffer::format_zero_padding#3 = phi( printf_number_buffer::@5/printf_number_buffer::format_zero_padding#9 )
  printf_number_buffer::$32 = 0 != printf_number_buffer::format_zero_padding#3
  printf_number_buffer::$14 = ! printf_number_buffer::$32
  printf_number_buffer::$15 = printf_number_buffer::format_justify_left#2 && printf_number_buffer::$14
  printf_number_buffer::$16 = printf_number_buffer::$15 && printf_number_buffer::padding#7
  printf_number_buffer::$17 = ! printf_number_buffer::$16
  if(printf_number_buffer::$17) goto printf_number_buffer::@return
  to:printf_number_buffer::@12
printf_number_buffer::@11: scope:[printf_number_buffer]  from printf_number_buffer::@4
  printf_number_buffer::padding#16 = phi( printf_number_buffer::@4/printf_number_buffer::padding#14 )
  printf_number_buffer::format_justify_left#14 = phi( printf_number_buffer::@4/printf_number_buffer::format_justify_left#10 )
  printf_number_buffer::format_zero_padding#18 = phi( printf_number_buffer::@4/printf_number_buffer::format_zero_padding#14 )
  printf_number_buffer::putc#17 = phi( printf_number_buffer::@4/printf_number_buffer::putc#10 )
  printf_number_buffer::buffer_digits#3 = phi( printf_number_buffer::@4/printf_number_buffer::buffer_digits#6 )
  strupr::str#0 = printf_number_buffer::buffer_digits#3
  call strupr
  strupr::return#2 = strupr::return#1
  to:printf_number_buffer::@19
printf_number_buffer::@19: scope:[printf_number_buffer]  from printf_number_buffer::@11
  printf_number_buffer::padding#13 = phi( printf_number_buffer::@11/printf_number_buffer::padding#16 )
  printf_number_buffer::format_justify_left#9 = phi( printf_number_buffer::@11/printf_number_buffer::format_justify_left#14 )
  printf_number_buffer::format_zero_padding#13 = phi( printf_number_buffer::@11/printf_number_buffer::format_zero_padding#18 )
  printf_number_buffer::buffer_digits#5 = phi( printf_number_buffer::@11/printf_number_buffer::buffer_digits#3 )
  printf_number_buffer::putc#9 = phi( printf_number_buffer::@11/printf_number_buffer::putc#17 )
  to:printf_number_buffer::@5
printf_number_buffer::@12: scope:[printf_number_buffer]  from printf_number_buffer::@18
  printf_number_buffer::padding#8 = phi( printf_number_buffer::@18/printf_number_buffer::padding#7 )
  printf_number_buffer::putc#5 = phi( printf_number_buffer::@18/printf_number_buffer::putc#11 )
  printf_padding::putc#2 = printf_number_buffer::putc#5
  printf_padding::pad#2 = ' '
  printf_padding::length#2 = (char)printf_number_buffer::padding#8
  call printf_padding
  to:printf_number_buffer::@20
printf_number_buffer::@20: scope:[printf_number_buffer]  from printf_number_buffer::@12
  to:printf_number_buffer::@return
printf_number_buffer::@return: scope:[printf_number_buffer]  from printf_number_buffer::@18 printf_number_buffer::@20
  return 
  to:@return

void main()
main: scope:[main]  from __start::@1
  memset::str#2 = (void *)SCREEN
  memset::c#2 = ' '
  memset::num#2 = $3e8
  call memset
  memset::return#4 = memset::return#1
  to:main::@9
main::@9: scope:[main]  from main
  main::count#0 = 0
  main::sc#0 = SCREEN
  main::y#0 = 0
  to:main::@1
main::@1: scope:[main]  from main::@6 main::@9
  main::sc#9 = phi( main::@6/main::sc#10, main::@9/main::sc#0 )
  main::count#6 = phi( main::@6/main::count#8, main::@9/main::count#0 )
  main::y#2 = phi( main::@6/main::y#1, main::@9/main::y#0 )
  main::$3 = main::y#2 < $19
  if(main::$3) goto main::@2
  to:main::@3
main::@2: scope:[main]  from main::@1
  main::count#11 = phi( main::@1/main::count#6 )
  main::sc#8 = phi( main::@1/main::sc#9 )
  main::y#6 = phi( main::@1/main::y#2 )
  main::x#0 = 0
  to:main::@4
main::@3: scope:[main]  from main::@1
  main::count#4 = phi( main::@1/main::count#6 )
  gotoxy::x#3 = 0
  gotoxy::y#3 = 0
  call gotoxy
  to:main::@10
main::@10: scope:[main]  from main::@3
  main::count#2 = phi( main::@3/main::count#4 )
  printf_uint::putc#0 = &cputc
  printf_uint::uvalue#0 = main::count#2
  printf_uint::format_min_length#0 = 0
  printf_uint::format_justify_left#0 = 0
  printf_uint::format_sign_always#0 = 0
  printf_uint::format_zero_padding#0 = 0
  printf_uint::format_upper_case#0 = 0
  printf_uint::format_radix#0 = DECIMAL
  call printf_uint
  to:main::@11
main::@11: scope:[main]  from main::@10
  printf_str::putc#1 = &cputc
  printf_str::s#2 = main::s
  call printf_str
  to:main::@12
main::@12: scope:[main]  from main::@11
  to:main::@return
main::@4: scope:[main]  from main::@2 main::@7
  main::count#10 = phi( main::@2/main::count#11, main::@7/main::count#12 )
  main::sc#7 = phi( main::@2/main::sc#8, main::@7/main::sc#1 )
  main::y#5 = phi( main::@2/main::y#6, main::@7/main::y#7 )
  main::x#2 = phi( main::@2/main::x#0, main::@7/main::x#1 )
  main::$4 = main::x#2 < $28
  if(main::$4) goto main::@5
  to:main::@6
main::@5: scope:[main]  from main::@4
  main::count#9 = phi( main::@4/main::count#10 )
  main::sc#6 = phi( main::@4/main::sc#7 )
  main::y#3 = phi( main::@4/main::y#5 )
  main::x#3 = phi( main::@4/main::x#2 )
  main::$5 = main::x#3 * 2
  main::xd#0 = main::$5 - $27
  main::$7 = main::y#3 * 2
  main::yd#0 = main::$7 - $18
  mul8s::a#0 = main::xd#0
  mul8s::b#0 = main::xd#0
  call mul8s
  mul8s::return#2 = mul8s::return#1
  to:main::@13
main::@13: scope:[main]  from main::@5
  main::y#10 = phi( main::@5/main::y#3 )
  main::count#7 = phi( main::@5/main::count#9 )
  main::x#7 = phi( main::@5/main::x#3 )
  main::sc#5 = phi( main::@5/main::sc#6 )
  main::yd#1 = phi( main::@5/main::yd#0 )
  mul8s::return#5 = phi( main::@5/mul8s::return#2 )
  main::$9 = mul8s::return#5
  mul8s::a#1 = main::yd#1
  mul8s::b#1 = main::yd#1
  call mul8s
  mul8s::return#3 = mul8s::return#1
  to:main::@14
main::@14: scope:[main]  from main::@13
  main::y#8 = phi( main::@13/main::y#10 )
  main::count#5 = phi( main::@13/main::count#7 )
  main::x#5 = phi( main::@13/main::x#7 )
  main::sc#4 = phi( main::@13/main::sc#5 )
  mul8s::return#6 = phi( main::@13/mul8s::return#3 )
  main::$10 = mul8s::return#6
  main::dist_sq#0 = main::$9 + main::$10
  main::$12 = main::dist_sq#0 < 2*9*2*9
  main::$13 = ! main::$12
  if(main::$13) goto main::@7
  to:main::@8
main::@6: scope:[main]  from main::@4
  main::sc#10 = phi( main::@4/main::sc#7 )
  main::count#8 = phi( main::@4/main::count#10 )
  main::y#4 = phi( main::@4/main::y#5 )
  main::y#1 = ++ main::y#4
  to:main::@1
main::@7: scope:[main]  from main::@14 main::@8
  main::count#12 = phi( main::@14/main::count#5, main::@8/main::count#1 )
  main::y#7 = phi( main::@14/main::y#8, main::@8/main::y#9 )
  main::x#4 = phi( main::@14/main::x#5, main::@8/main::x#6 )
  main::sc#2 = phi( main::@14/main::sc#4, main::@8/main::sc#3 )
  main::sc#1 = ++ main::sc#2
  main::x#1 = ++ main::x#4
  to:main::@4
main::@8: scope:[main]  from main::@14
  main::y#9 = phi( main::@14/main::y#8 )
  main::x#6 = phi( main::@14/main::x#5 )
  main::count#3 = phi( main::@14/main::count#5 )
  main::sc#3 = phi( main::@14/main::sc#4 )
  *main::sc#3 = '*'
  main::count#1 = ++ main::count#3
  to:main::@7
main::@return: scope:[main]  from main::@12
  return 
  to:@return

void __start()
__start: scope:[__start]  from
  to:__start::__init1
__start::__init1: scope:[__start]  from __start
  conio_cursor_x = 0
  conio_cursor_y = 0
  conio_line_text = CONIO_SCREEN_TEXT
  conio_line_color = CONIO_SCREEN_COLORS
  conio_textcolor = CONIO_TEXTCOLOR_DEFAULT
  conio_scroll_enable = 1
  call conio_c64_init
  to:__start::@2
__start::@2: scope:[__start]  from __start::__init1
  to:__start::@1
__start::@1: scope:[__start]  from __start::@2
  call main
  to:__start::@3
__start::@3: scope:[__start]  from __start::@1
  to:__start::@return
__start::@return: scope:[__start]  from __start::@3
  return 
  to:@return

SYMBOL TABLE SSA
__constant char BINARY = 2
__constant char * const COLORRAM = (char *)$d800
__constant char * const CONIO_SCREEN_COLORS = COLORRAM
__constant char * const CONIO_SCREEN_TEXT = DEFAULT_SCREEN
__constant const char CONIO_TEXTCOLOR_DEFAULT = LIGHT_BLUE
__constant char DECIMAL = $a
__constant char * const DEFAULT_SCREEN = (char *)$400
__constant char DIGITS[] = "0123456789abcdef"z
__constant char HEXADECIMAL = $10
__constant const char LIGHT_BLUE = $e
__constant char OCTAL = 8
__constant char OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS = 1
__constant char OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_SIGN = 0
__constant char RADIX::BINARY = 2
__constant char RADIX::DECIMAL = $a
__constant char RADIX::HEXADECIMAL = $10
__constant char RADIX::OCTAL = 8
__constant unsigned int RADIX_BINARY_VALUES[] = { $8000, $4000, $2000, $1000, $800, $400, $200, $100, $80, $40, $20, $10, 8, 4, 2 }
__constant unsigned int RADIX_DECIMAL_VALUES[] = { $2710, $3e8, $64, $a }
__constant unsigned int RADIX_HEXADECIMAL_VALUES[] = { $1000, $100, $10 }
__constant unsigned int RADIX_OCTAL_VALUES[] = { $8000, $1000, $200, $40, 8 }
__constant char * const SCREEN = (char *)$400
__constant char SIZEOF_UNSIGNED_INT = 2
__constant unsigned int STACK_BASE = $103
void __start()
void conio_c64_init()
bool conio_c64_init::$0
bool conio_c64_init::$1
__constant char * const conio_c64_init::BASIC_CURSOR_LINE = (char *)$d6
char conio_c64_init::line
char conio_c64_init::line#0
char conio_c64_init::line#1
char conio_c64_init::line#2
__loadstore char conio_cursor_x
__loadstore char conio_cursor_y
__loadstore char *conio_line_color
__loadstore char *conio_line_text
__loadstore char conio_scroll_enable
__loadstore char conio_textcolor
__stackcall void cputc(char c)
bool cputc::$0
bool cputc::$1
bool cputc::$2
__constant char cputc::OFFSET_STACK_C = 0
char cputc::c
char cputc::c#0
char cputc::c#1
void cputln()
void cscroll()
bool cscroll::$0
bool cscroll::$1
bool cscroll::$7
void gotoxy(char x , char y)
bool gotoxy::$0
bool gotoxy::$1
bool gotoxy::$2
bool gotoxy::$3
char *gotoxy::$5
char *gotoxy::$6
unsigned int gotoxy::$7
unsigned int gotoxy::line_offset
unsigned int gotoxy::line_offset#0
char gotoxy::x
char gotoxy::x#0
char gotoxy::x#1
char gotoxy::x#2
char gotoxy::x#3
char gotoxy::x#4
char gotoxy::x#5
char gotoxy::x#6
char gotoxy::x#7
char gotoxy::y
char gotoxy::y#0
char gotoxy::y#1
char gotoxy::y#2
char gotoxy::y#3
char gotoxy::y#4
char gotoxy::y#5
char gotoxy::y#6
char gotoxy::y#7
void main()
int main::$10
bool main::$12
bool main::$13
bool main::$3
bool main::$4
number main::$5
number main::$7
int main::$9
unsigned int main::count
unsigned int main::count#0
unsigned int main::count#1
unsigned int main::count#10
unsigned int main::count#11
unsigned int main::count#12
unsigned int main::count#2
unsigned int main::count#3
unsigned int main::count#4
unsigned int main::count#5
unsigned int main::count#6
unsigned int main::count#7
unsigned int main::count#8
unsigned int main::count#9
int main::dist_sq
int main::dist_sq#0
__constant char main::s[7] = " chars"
char *main::sc
char *main::sc#0
char *main::sc#1
char *main::sc#10
char *main::sc#2
char *main::sc#3
char *main::sc#4
char *main::sc#5
char *main::sc#6
char *main::sc#7
char *main::sc#8
char *main::sc#9
signed char main::x
signed char main::x#0
signed char main::x#1
signed char main::x#2
signed char main::x#3
signed char main::x#4
signed char main::x#5
signed char main::x#6
signed char main::x#7
signed char main::xd
signed char main::xd#0
signed char main::y
signed char main::y#0
signed char main::y#1
signed char main::y#10
signed char main::y#2
signed char main::y#3
signed char main::y#4
signed char main::y#5
signed char main::y#6
signed char main::y#7
signed char main::y#8
signed char main::y#9
signed char main::yd
signed char main::yd#0
signed char main::yd#1
void * memcpy(void *destination , void *source , unsigned int num)
bool memcpy::$1
char *memcpy::$2
void *memcpy::destination
void *memcpy::destination#0
void *memcpy::destination#1
void *memcpy::destination#2
void *memcpy::destination#3
void *memcpy::destination#4
void *memcpy::destination#5
char *memcpy::dst
char *memcpy::dst#0
char *memcpy::dst#1
char *memcpy::dst#2
char *memcpy::dst#3
unsigned int memcpy::num
unsigned int memcpy::num#0
unsigned int memcpy::num#1
unsigned int memcpy::num#2
void *memcpy::return
void *memcpy::return#0
void *memcpy::return#1
void *memcpy::return#2
void *memcpy::return#3
void *memcpy::return#4
void *memcpy::source
void *memcpy::source#0
void *memcpy::source#1
void *memcpy::source#2
char *memcpy::src
char *memcpy::src#0
char *memcpy::src#1
char *memcpy::src#2
char *memcpy::src#3
char *memcpy::src_end
char *memcpy::src_end#0
char *memcpy::src_end#1
char *memcpy::src_end#2
void * memset(void *str , char c , unsigned int num)
bool memset::$0
bool memset::$1
bool memset::$3
char *memset::$4
char memset::c
char memset::c#0
char memset::c#1
char memset::c#2
char memset::c#3
char memset::c#4
char memset::c#5
char memset::c#6
char *memset::dst
char *memset::dst#0
char *memset::dst#1
char *memset::dst#2
char *memset::dst#3
char *memset::end
char *memset::end#0
char *memset::end#1
char *memset::end#2
unsigned int memset::num
unsigned int memset::num#0
unsigned int memset::num#1
unsigned int memset::num#2
unsigned int memset::num#3
unsigned int memset::num#4
void *memset::return
void *memset::return#0
void *memset::return#1
void *memset::return#2
void *memset::return#3
void *memset::return#4
void *memset::return#5
void *memset::str
void *memset::str#0
void *memset::str#1
void *memset::str#2
void *memset::str#3
void *memset::str#4
void *memset::str#5
void *memset::str#6
void *memset::str#7
int mul8s(signed char a , signed char b)
bool mul8s::$1
char mul8s::$10
char mul8s::$11
char mul8s::$12
char mul8s::$13
char mul8s::$14
bool mul8s::$2
bool mul8s::$3
bool mul8s::$4
char mul8s::$6
char mul8s::$7
char mul8s::$9
signed char mul8s::a
signed char mul8s::a#0
signed char mul8s::a#1
signed char mul8s::a#2
signed char mul8s::a#3
signed char mul8s::a#4
signed char mul8s::a#5
signed char mul8s::a#6
signed char mul8s::b
signed char mul8s::b#0
signed char mul8s::b#1
signed char mul8s::b#2
signed char mul8s::b#3
signed char mul8s::b#4
signed char mul8s::b#5
unsigned int mul8s::m
unsigned int mul8s::m#0
unsigned int mul8s::m#1
unsigned int mul8s::m#2
unsigned int mul8s::m#3
unsigned int mul8s::m#4
unsigned int mul8s::m#5
unsigned int mul8s::m#6
int mul8s::return
int mul8s::return#0
int mul8s::return#1
int mul8s::return#2
int mul8s::return#3
int mul8s::return#4
int mul8s::return#5
int mul8s::return#6
unsigned int mul8u(char a , char b)
bool mul8u::$0
number mul8u::$1
bool mul8u::$2
bool mul8u::$3
unsigned int mul8u::$4
char mul8u::$5
unsigned int mul8u::$6
char mul8u::a
char mul8u::a#0
char mul8u::a#1
char mul8u::a#2
char mul8u::a#3
char mul8u::a#4
char mul8u::a#5
char mul8u::a#6
char mul8u::b
char mul8u::b#0
char mul8u::b#1
unsigned int mul8u::mb
unsigned int mul8u::mb#0
unsigned int mul8u::mb#1
unsigned int mul8u::mb#2
unsigned int mul8u::mb#3
unsigned int mul8u::mb#4
unsigned int mul8u::mb#5
unsigned int mul8u::res
unsigned int mul8u::res#0
unsigned int mul8u::res#1
unsigned int mul8u::res#2
unsigned int mul8u::res#3
unsigned int mul8u::res#4
unsigned int mul8u::res#5
unsigned int mul8u::res#6
unsigned int mul8u::return
unsigned int mul8u::return#0
unsigned int mul8u::return#1
unsigned int mul8u::return#2
unsigned int mul8u::return#3
unsigned int mul8u::return#4
__loadstore struct printf_buffer_number printf_buffer = {}
void printf_number_buffer(void (*putc)(char) , char buffer_sign , char *buffer_digits , char format_min_length , char format_justify_left , char format_sign_always , char format_zero_padding , char format_upper_case , char format_radix)
bool printf_number_buffer::$0
bool printf_number_buffer::$1
bool printf_number_buffer::$10
bool printf_number_buffer::$12
bool printf_number_buffer::$14
bool printf_number_buffer::$15
bool printf_number_buffer::$16
bool printf_number_buffer::$17
unsigned int printf_number_buffer::$19
bool printf_number_buffer::$2
bool printf_number_buffer::$20
signed char printf_number_buffer::$21
bool printf_number_buffer::$22
bool printf_number_buffer::$23
signed char printf_number_buffer::$25
bool printf_number_buffer::$26
bool printf_number_buffer::$27
bool printf_number_buffer::$28
bool printf_number_buffer::$29
bool printf_number_buffer::$3
bool printf_number_buffer::$30
bool printf_number_buffer::$31
bool printf_number_buffer::$32
bool printf_number_buffer::$4
bool printf_number_buffer::$5
bool printf_number_buffer::$7
bool printf_number_buffer::$9
struct printf_buffer_number printf_number_buffer::buffer
char *printf_number_buffer::buffer_digits
char *printf_number_buffer::buffer_digits#0
char *printf_number_buffer::buffer_digits#1
char *printf_number_buffer::buffer_digits#10
char *printf_number_buffer::buffer_digits#11
char *printf_number_buffer::buffer_digits#12
char *printf_number_buffer::buffer_digits#13
char *printf_number_buffer::buffer_digits#14
char *printf_number_buffer::buffer_digits#15
char *printf_number_buffer::buffer_digits#16
char *printf_number_buffer::buffer_digits#17
char *printf_number_buffer::buffer_digits#18
char *printf_number_buffer::buffer_digits#2
char *printf_number_buffer::buffer_digits#3
char *printf_number_buffer::buffer_digits#4
char *printf_number_buffer::buffer_digits#5
char *printf_number_buffer::buffer_digits#6
char *printf_number_buffer::buffer_digits#7
char *printf_number_buffer::buffer_digits#8
char *printf_number_buffer::buffer_digits#9
char printf_number_buffer::buffer_sign
char printf_number_buffer::buffer_sign#0
char printf_number_buffer::buffer_sign#1
char printf_number_buffer::buffer_sign#10
char printf_number_buffer::buffer_sign#11
char printf_number_buffer::buffer_sign#2
char printf_number_buffer::buffer_sign#3
char printf_number_buffer::buffer_sign#4
char printf_number_buffer::buffer_sign#5
char printf_number_buffer::buffer_sign#6
char printf_number_buffer::buffer_sign#7
char printf_number_buffer::buffer_sign#8
char printf_number_buffer::buffer_sign#9
struct printf_format_number printf_number_buffer::format
char printf_number_buffer::format_justify_left
char printf_number_buffer::format_justify_left#0
char printf_number_buffer::format_justify_left#1
char printf_number_buffer::format_justify_left#10
char printf_number_buffer::format_justify_left#11
char printf_number_buffer::format_justify_left#12
char printf_number_buffer::format_justify_left#13
char printf_number_buffer::format_justify_left#14
char printf_number_buffer::format_justify_left#15
char printf_number_buffer::format_justify_left#16
char printf_number_buffer::format_justify_left#17
char printf_number_buffer::format_justify_left#18
char printf_number_buffer::format_justify_left#19
char printf_number_buffer::format_justify_left#2
char printf_number_buffer::format_justify_left#3
char printf_number_buffer::format_justify_left#4
char printf_number_buffer::format_justify_left#5
char printf_number_buffer::format_justify_left#6
char printf_number_buffer::format_justify_left#7
char printf_number_buffer::format_justify_left#8
char printf_number_buffer::format_justify_left#9
char printf_number_buffer::format_min_length
char printf_number_buffer::format_min_length#0
char printf_number_buffer::format_min_length#1
char printf_number_buffer::format_min_length#2
char printf_number_buffer::format_min_length#3
char printf_number_buffer::format_min_length#4
char printf_number_buffer::format_min_length#5
char printf_number_buffer::format_radix
char printf_number_buffer::format_radix#0
char printf_number_buffer::format_sign_always
char printf_number_buffer::format_sign_always#0
char printf_number_buffer::format_upper_case
char printf_number_buffer::format_upper_case#0
char printf_number_buffer::format_upper_case#1
char printf_number_buffer::format_upper_case#10
char printf_number_buffer::format_upper_case#11
char printf_number_buffer::format_upper_case#12
char printf_number_buffer::format_upper_case#13
char printf_number_buffer::format_upper_case#14
char printf_number_buffer::format_upper_case#15
char printf_number_buffer::format_upper_case#2
char printf_number_buffer::format_upper_case#3
char printf_number_buffer::format_upper_case#4
char printf_number_buffer::format_upper_case#5
char printf_number_buffer::format_upper_case#6
char printf_number_buffer::format_upper_case#7
char printf_number_buffer::format_upper_case#8
char printf_number_buffer::format_upper_case#9
char printf_number_buffer::format_zero_padding
char printf_number_buffer::format_zero_padding#0
char printf_number_buffer::format_zero_padding#1
char printf_number_buffer::format_zero_padding#10
char printf_number_buffer::format_zero_padding#11
char printf_number_buffer::format_zero_padding#12
char printf_number_buffer::format_zero_padding#13
char printf_number_buffer::format_zero_padding#14
char printf_number_buffer::format_zero_padding#15
char printf_number_buffer::format_zero_padding#16
char printf_number_buffer::format_zero_padding#17
char printf_number_buffer::format_zero_padding#18
char printf_number_buffer::format_zero_padding#19
char printf_number_buffer::format_zero_padding#2
char printf_number_buffer::format_zero_padding#3
char printf_number_buffer::format_zero_padding#4
char printf_number_buffer::format_zero_padding#5
char printf_number_buffer::format_zero_padding#6
char printf_number_buffer::format_zero_padding#7
char printf_number_buffer::format_zero_padding#8
char printf_number_buffer::format_zero_padding#9
signed char printf_number_buffer::len
signed char printf_number_buffer::len#0
signed char printf_number_buffer::len#1
signed char printf_number_buffer::len#2
signed char printf_number_buffer::len#3
signed char printf_number_buffer::padding
signed char printf_number_buffer::padding#0
signed char printf_number_buffer::padding#1
signed char printf_number_buffer::padding#10
signed char printf_number_buffer::padding#11
signed char printf_number_buffer::padding#12
signed char printf_number_buffer::padding#13
signed char printf_number_buffer::padding#14
signed char printf_number_buffer::padding#15
signed char printf_number_buffer::padding#16
signed char printf_number_buffer::padding#2
signed char printf_number_buffer::padding#3
signed char printf_number_buffer::padding#4
signed char printf_number_buffer::padding#5
signed char printf_number_buffer::padding#6
signed char printf_number_buffer::padding#7
signed char printf_number_buffer::padding#8
signed char printf_number_buffer::padding#9
void (*printf_number_buffer::putc)(char)
void (*printf_number_buffer::putc#0)(char)
void (*printf_number_buffer::putc#1)(char)
void (*printf_number_buffer::putc#10)(char)
void (*printf_number_buffer::putc#11)(char)
void (*printf_number_buffer::putc#12)(char)
void (*printf_number_buffer::putc#13)(char)
void (*printf_number_buffer::putc#14)(char)
void (*printf_number_buffer::putc#15)(char)
void (*printf_number_buffer::putc#16)(char)
void (*printf_number_buffer::putc#17)(char)
void (*printf_number_buffer::putc#18)(char)
void (*printf_number_buffer::putc#19)(char)
void (*printf_number_buffer::putc#2)(char)
void (*printf_number_buffer::putc#20)(char)
void (*printf_number_buffer::putc#3)(char)
void (*printf_number_buffer::putc#4)(char)
void (*printf_number_buffer::putc#5)(char)
void (*printf_number_buffer::putc#6)(char)
void (*printf_number_buffer::putc#7)(char)
void (*printf_number_buffer::putc#8)(char)
void (*printf_number_buffer::putc#9)(char)
void printf_padding(void (*putc)(char) , char pad , char length)
bool printf_padding::$0
char printf_padding::i
char printf_padding::i#0
char printf_padding::i#1
char printf_padding::i#2
char printf_padding::i#3
char printf_padding::i#4
char printf_padding::length
char printf_padding::length#0
char printf_padding::length#1
char printf_padding::length#2
char printf_padding::length#3
char printf_padding::length#4
char printf_padding::length#5
char printf_padding::length#6
char printf_padding::pad
char printf_padding::pad#0
char printf_padding::pad#1
char printf_padding::pad#2
char printf_padding::pad#3
char printf_padding::pad#4
char printf_padding::pad#5
char printf_padding::pad#6
void (*printf_padding::putc)(char)
void (*printf_padding::putc#0)(char)
void (*printf_padding::putc#1)(char)
void (*printf_padding::putc#2)(char)
void (*printf_padding::putc#3)(char)
void (*printf_padding::putc#4)(char)
void (*printf_padding::putc#5)(char)
void (*printf_padding::putc#6)(char)
void printf_str(void (*putc)(char) , const char *s)
char printf_str::$0
bool printf_str::$2
char printf_str::c
char printf_str::c#0
char printf_str::c#1
char printf_str::c#2
void (*printf_str::putc)(char)
void (*printf_str::putc#0)(char)
void (*printf_str::putc#1)(char)
void (*printf_str::putc#2)(char)
void (*printf_str::putc#3)(char)
void (*printf_str::putc#4)(char)
const char *printf_str::s
const char *printf_str::s#0
const char *printf_str::s#1
const char *printf_str::s#2
const char *printf_str::s#3
const char *printf_str::s#4
const char *printf_str::s#5
void printf_uint(void (*putc)(char) , unsigned int uvalue , char format_min_length , char format_justify_left , char format_sign_always , char format_zero_padding , char format_upper_case , char format_radix)
number printf_uint::$0
char printf_uint::$1
number printf_uint::$2
bool printf_uint::$5
struct printf_format_number printf_uint::format
char printf_uint::format_justify_left
char printf_uint::format_justify_left#0
char printf_uint::format_justify_left#1
char printf_uint::format_justify_left#2
char printf_uint::format_justify_left#3
char printf_uint::format_justify_left#4
char printf_uint::format_justify_left#5
char printf_uint::format_min_length
char printf_uint::format_min_length#0
char printf_uint::format_min_length#1
char printf_uint::format_min_length#2
char printf_uint::format_min_length#3
char printf_uint::format_min_length#4
char printf_uint::format_min_length#5
char printf_uint::format_radix
char printf_uint::format_radix#0
char printf_uint::format_radix#1
char printf_uint::format_radix#2
char printf_uint::format_radix#3
char printf_uint::format_radix#4
char printf_uint::format_radix#5
char printf_uint::format_sign_always
char printf_uint::format_sign_always#0
char printf_uint::format_sign_always#1
char printf_uint::format_sign_always#2
char printf_uint::format_sign_always#3
char printf_uint::format_sign_always#4
char printf_uint::format_sign_always#5
char printf_uint::format_upper_case
char printf_uint::format_upper_case#0
char printf_uint::format_upper_case#1
char printf_uint::format_upper_case#2
char printf_uint::format_upper_case#3
char printf_uint::format_upper_case#4
char printf_uint::format_upper_case#5
char printf_uint::format_zero_padding
char printf_uint::format_zero_padding#0
char printf_uint::format_zero_padding#1
char printf_uint::format_zero_padding#2
char printf_uint::format_zero_padding#3
char printf_uint::format_zero_padding#4
char printf_uint::format_zero_padding#5
void (*printf_uint::putc)(char)
void (*printf_uint::putc#0)(char)
void (*printf_uint::putc#1)(char)
void (*printf_uint::putc#2)(char)
void (*printf_uint::putc#3)(char)
void (*printf_uint::putc#4)(char)
void (*printf_uint::putc#5)(char)
unsigned int printf_uint::uvalue
unsigned int printf_uint::uvalue#0
unsigned int printf_uint::uvalue#1
unsigned int printf_uint::uvalue#2
unsigned int printf_uint::uvalue#3
unsigned int printf_uint::uvalue#4
unsigned int strlen(char *str)
bool strlen::$0
unsigned int strlen::len
unsigned int strlen::len#0
unsigned int strlen::len#1
unsigned int strlen::len#2
unsigned int strlen::len#3
unsigned int strlen::len#4
unsigned int strlen::return
unsigned int strlen::return#0
unsigned int strlen::return#1
unsigned int strlen::return#2
unsigned int strlen::return#3
unsigned int strlen::return#4
char *strlen::str
char *strlen::str#0
char *strlen::str#1
char *strlen::str#2
char *strlen::str#3
char *strlen::str#4
char * strupr(char *str)
char strupr::$0
bool strupr::$1
char *strupr::return
char *strupr::return#0
char *strupr::return#1
char *strupr::return#2
char *strupr::return#3
char *strupr::src
char *strupr::src#0
char *strupr::src#1
char *strupr::src#2
char *strupr::src#3
char *strupr::src#4
char *strupr::str
char *strupr::str#0
char *strupr::str#1
char *strupr::str#2
char *strupr::str#3
char *strupr::str#4
char *strupr::str#5
char toupper(char ch)
bool toupper::$0
bool toupper::$1
bool toupper::$2
char toupper::$3
char toupper::ch
char toupper::ch#0
char toupper::ch#1
char toupper::ch#2
char toupper::ch#3
char toupper::return
char toupper::return#0
char toupper::return#1
char toupper::return#2
char toupper::return#3
char toupper::return#4
char toupper::return#5
void utoa(unsigned int value , char *buffer , char radix)
bool utoa::$0
bool utoa::$1
char utoa::$10
char utoa::$11
bool utoa::$2
bool utoa::$3
number utoa::$4
bool utoa::$5
bool utoa::$6
bool utoa::$7
bool utoa::$8
unsigned int utoa::$9
char *utoa::buffer
char *utoa::buffer#0
char *utoa::buffer#1
char *utoa::buffer#10
char *utoa::buffer#11
char *utoa::buffer#12
char *utoa::buffer#13
char *utoa::buffer#14
char *utoa::buffer#15
char *utoa::buffer#16
char *utoa::buffer#17
char *utoa::buffer#18
char *utoa::buffer#19
char *utoa::buffer#2
char *utoa::buffer#20
char *utoa::buffer#21
char *utoa::buffer#3
char *utoa::buffer#4
char *utoa::buffer#5
char *utoa::buffer#6
char *utoa::buffer#7
char *utoa::buffer#8
char *utoa::buffer#9
char utoa::digit
char utoa::digit#0
char utoa::digit#1
char utoa::digit#2
char utoa::digit#3
char utoa::digit#4
char utoa::digit#5
char utoa::digit#6
unsigned int utoa::digit_value
unsigned int utoa::digit_value#0
unsigned int utoa::digit_value#1
unsigned int *utoa::digit_values
unsigned int *utoa::digit_values#0
unsigned int *utoa::digit_values#1
unsigned int *utoa::digit_values#10
unsigned int *utoa::digit_values#2
unsigned int *utoa::digit_values#3
unsigned int *utoa::digit_values#4
unsigned int *utoa::digit_values#5
unsigned int *utoa::digit_values#6
unsigned int *utoa::digit_values#7
unsigned int *utoa::digit_values#8
unsigned int *utoa::digit_values#9
char utoa::max_digits
char utoa::max_digits#0
char utoa::max_digits#1
char utoa::max_digits#10
char utoa::max_digits#2
char utoa::max_digits#3
char utoa::max_digits#4
char utoa::max_digits#5
char utoa::max_digits#6
char utoa::max_digits#7
char utoa::max_digits#8
char utoa::max_digits#9
char utoa::radix
char utoa::radix#0
char utoa::radix#1
char utoa::radix#2
char utoa::radix#3
char utoa::radix#4
char utoa::started
char utoa::started#0
char utoa::started#1
char utoa::started#2
char utoa::started#3
char utoa::started#4
unsigned int utoa::value
unsigned int utoa::value#0
unsigned int utoa::value#1
unsigned int utoa::value#10
unsigned int utoa::value#11
unsigned int utoa::value#12
unsigned int utoa::value#13
unsigned int utoa::value#14
unsigned int utoa::value#15
unsigned int utoa::value#2
unsigned int utoa::value#3
unsigned int utoa::value#4
unsigned int utoa::value#5
unsigned int utoa::value#6
unsigned int utoa::value#7
unsigned int utoa::value#8
unsigned int utoa::value#9
unsigned int utoa_append(char *buffer , unsigned int value , unsigned int sub)
bool utoa_append::$0
char *utoa_append::buffer
char *utoa_append::buffer#0
char *utoa_append::buffer#1
char *utoa_append::buffer#2
char *utoa_append::buffer#3
char *utoa_append::buffer#4
char utoa_append::digit
char utoa_append::digit#0
char utoa_append::digit#1
char utoa_append::digit#2
char utoa_append::digit#3
char utoa_append::digit#4
unsigned int utoa_append::return
unsigned int utoa_append::return#0
unsigned int utoa_append::return#1
unsigned int utoa_append::return#2
unsigned int utoa_append::return#3
unsigned int utoa_append::return#4
unsigned int utoa_append::sub
unsigned int utoa_append::sub#0
unsigned int utoa_append::sub#1
unsigned int utoa_append::sub#2
unsigned int utoa_append::sub#3
unsigned int utoa_append::value
unsigned int utoa_append::value#0
unsigned int utoa_append::value#1
unsigned int utoa_append::value#2
unsigned int utoa_append::value#3
unsigned int utoa_append::value#4
unsigned int utoa_append::value#5

Adding number conversion cast (unumber) 0 in memset::$0 = memset::num#3 > 0
Adding number conversion cast (unumber) 0 in strlen::$0 = 0 != *strlen::str#2
Adding number conversion cast (unumber) 0 in strupr::$1 = 0 != *strupr::src#2
Adding number conversion cast (unumber) 0 in mul8u::$0 = mul8u::a#2 != 0
Adding number conversion cast (unumber) 1 in mul8u::$1 = mul8u::a#3 & 1
Adding number conversion cast (unumber) mul8u::$1 in mul8u::$1 = mul8u::a#3 & (unumber)1
Adding number conversion cast (unumber) 0 in mul8u::$2 = mul8u::$1 != 0
Adding number conversion cast (unumber) 1 in mul8u::$5 = mul8u::a#4 >> 1
Adding number conversion cast (unumber) 1 in mul8u::$6 = mul8u::mb#2 << 1
Adding number conversion cast (snumber) 0 in mul8s::$1 = mul8s::a#3 < 0
Adding number conversion cast (snumber) 0 in mul8s::$3 = mul8s::b#3 < 0
Adding number conversion cast (unumber) $19 in gotoxy::$0 = gotoxy::y#4 > $19
Adding number conversion cast (unumber) $28 in gotoxy::$2 = gotoxy::x#4 >= $28
Adding number conversion cast (unumber) 0 in gotoxy::y#0 = 0
Adding number conversion cast (unumber) $28 in gotoxy::line_offset#0 = gotoxy::$7 * $28
Adding number conversion cast (unumber) 0 in gotoxy::x#0 = 0
Adding number conversion cast (unumber) $28 in cputc::$1 = conio_cursor_x == $28
Adding number conversion cast (unumber) $28 in conio_line_text = conio_line_text + $28
Adding number conversion cast (unumber) $28 in conio_line_color = conio_line_color + $28
Adding number conversion cast (unumber) 0 in conio_cursor_x = 0
Adding number conversion cast (unumber) $19 in cscroll::$0 = conio_cursor_y == $19
Adding number conversion cast (unumber) 0 in cscroll::$7 = 0 != conio_scroll_enable
Adding number conversion cast (unumber) $28 in memcpy::source#0 = (void *)CONIO_SCREEN_TEXT+$28
Adding number conversion cast (unumber) $19*$28-$28 in memcpy::num#0 = $19*$28-$28
Adding number conversion cast (unumber) $28 in memcpy::source#1 = (void *)CONIO_SCREEN_COLORS+$28
Adding number conversion cast (unumber) $19*$28-$28 in memcpy::num#1 = $19*$28-$28
Adding number conversion cast (unumber) $28 in memset::str#0 = (void *)CONIO_SCREEN_TEXT+$19*$28-$28
Adding number conversion cast (unumber) $19*$28 in memset::str#0 = (void *)CONIO_SCREEN_TEXT+$19*$28-(unumber)$28
Adding number conversion cast (unumber) $28 in memset::num#0 = $28
Adding number conversion cast (unumber) $28 in memset::str#1 = (void *)CONIO_SCREEN_COLORS+$19*$28-$28
Adding number conversion cast (unumber) $19*$28 in memset::str#1 = (void *)CONIO_SCREEN_COLORS+$19*$28-(unumber)$28
Adding number conversion cast (unumber) $28 in memset::num#1 = $28
Adding number conversion cast (unumber) $28 in conio_line_text = conio_line_text - $28
Adding number conversion cast (unumber) $28 in conio_line_color = conio_line_color - $28
Adding number conversion cast (unumber) 0 in gotoxy::x#1 = 0
Adding number conversion cast (unumber) 0 in gotoxy::y#1 = 0
Adding number conversion cast (unumber) $19 in conio_c64_init::$0 = conio_c64_init::line#0 >= $19
Adding number conversion cast (unumber) 0 in gotoxy::x#2 = 0
Adding number conversion cast (unumber) $19-1 in conio_c64_init::line#1 = $19-1
Adding number conversion cast (unumber) 5 in utoa::max_digits#1 = 5
Adding number conversion cast (unumber) 4 in utoa::max_digits#2 = 4
Adding number conversion cast (unumber) 6 in utoa::max_digits#3 = 6
Adding number conversion cast (unumber) $10 in utoa::max_digits#4 = $10
Adding number conversion cast (unumber) 0 in *utoa::buffer#2 = 0
Adding number conversion cast (unumber) 1 in utoa::$4 = utoa::max_digits#5 - 1
Adding number conversion cast (unumber) utoa::$4 in utoa::$4 = utoa::max_digits#5 - (unumber)1
Adding number conversion cast (unumber) 0 in *utoa::buffer#3 = 0
Adding number conversion cast (unumber) 1 in utoa::started#1 = 1
Adding number conversion cast (unumber) 0 in printf_str::$2 = 0 != printf_str::$0
Adding number conversion cast (unumber) 0 in printf_uint::$5 = 0 != printf_uint::format_sign_always#1
Adding number conversion cast (unumber) printf_uint::$2 in printf_uint::format_upper_case#2 = phi( printf_uint::@1/printf_uint::format_upper_case#3, printf_uint::@2/printf_uint::format_upper_case#4 )
  printf_uint::format_zero_padding#2 = phi( printf_uint::@1/printf_uint::format_zero_padding#3, printf_uint::@2/printf_uint::format_zero_padding#4 )
  printf_uint::format_sign_always#3 = phi( printf_uint::@1/printf_uint::format_sign_always#4, printf_uint::@2/printf_uint::format_sign_always#5 )
  printf_uint::format_justify_left#2 = phi( printf_uint::@1/printf_uint::format_justify_left#3, printf_uint::@2/printf_uint::format_justify_left#4 )
  printf_uint::format_min_length#2 = phi( printf_uint::@1/printf_uint::format_min_length#3, printf_uint::@2/printf_uint::format_min_length#4 )
  printf_uint::putc#2 = phi( printf_uint::@1/printf_uint::putc#3, printf_uint::@2/printf_uint::putc#4 )
  printf_uint::format_radix#1 = phi( printf_uint::@1/printf_uint::format_radix#3, printf_uint::@2/printf_uint::format_radix#4 )
  printf_uint::uvalue#1 = phi( printf_uint::@1/printf_uint::uvalue#2, printf_uint::@2/printf_uint::uvalue#3 )
  printf_uint::$2 = phi( printf_uint::@1/printf_uint::$1, printf_uint::@2/printf_uint::$0 )
Adding number conversion cast (unumber) printf_uint::$0 in printf_uint::format_upper_case#2 = phi( printf_uint::@1/printf_uint::format_upper_case#3, printf_uint::@2/printf_uint::format_upper_case#4 )
  printf_uint::format_zero_padding#2 = phi( printf_uint::@1/printf_uint::format_zero_padding#3, printf_uint::@2/printf_uint::format_zero_padding#4 )
  printf_uint::format_sign_always#3 = phi( printf_uint::@1/printf_uint::format_sign_always#4, printf_uint::@2/printf_uint::format_sign_always#5 )
  printf_uint::format_justify_left#2 = phi( printf_uint::@1/printf_uint::format_justify_left#3, printf_uint::@2/printf_uint::format_justify_left#4 )
  printf_uint::format_min_length#2 = phi( printf_uint::@1/printf_uint::format_min_length#3, printf_uint::@2/printf_uint::format_min_length#4 )
  printf_uint::putc#2 = phi( printf_uint::@1/printf_uint::putc#3, printf_uint::@2/printf_uint::putc#4 )
  printf_uint::format_radix#1 = phi( printf_uint::@1/printf_uint::format_radix#3, printf_uint::@2/printf_uint::format_radix#4 )
  printf_uint::uvalue#1 = phi( printf_uint::@1/printf_uint::uvalue#2, printf_uint::@2/printf_uint::uvalue#3 )
  printf_uint::$2 = phi( printf_uint::@1/printf_uint::$1, printf_uint::@2/printf_uint::$0 )
Adding number conversion cast (unumber) 0 in printf_number_buffer::$26 = 0 != printf_number_buffer::format_min_length#1
Adding number conversion cast (unumber) 0 in printf_number_buffer::$27 = 0 != printf_number_buffer::format_justify_left#1
Adding number conversion cast (unumber) 0 in printf_number_buffer::$28 = 0 != printf_number_buffer::format_zero_padding#1
Adding number conversion cast (unumber) 0 in printf_number_buffer::$29 = 0 != printf_number_buffer::buffer_sign#1
Adding number conversion cast (snumber) 0 in printf_number_buffer::$22 = printf_number_buffer::padding#1 < 0
Adding number conversion cast (snumber) 0 in printf_number_buffer::padding#2 = 0
Adding number conversion cast (unumber) 0 in printf_number_buffer::$30 = 0 != printf_number_buffer::buffer_sign#2
Adding number conversion cast (unumber) 0 in printf_number_buffer::$31 = 0 != printf_number_buffer::format_upper_case#1
Adding number conversion cast (unumber) 0 in printf_number_buffer::$32 = 0 != printf_number_buffer::format_zero_padding#3
Adding number conversion cast (unumber) $3e8 in memset::num#2 = $3e8
Adding number conversion cast (snumber) $19 in main::$3 = main::y#2 < $19
Adding number conversion cast (unumber) 0 in gotoxy::x#3 = 0
Adding number conversion cast (unumber) 0 in gotoxy::y#3 = 0
Adding number conversion cast (snumber) $28 in main::$4 = main::x#2 < $28
Adding number conversion cast (snumber) 2 in main::$5 = main::x#3 * 2
Adding number conversion cast (snumber) main::$5 in main::$5 = main::x#3 * (snumber)2
Adding number conversion cast (snumber) $27 in main::xd#0 = main::$5 - $27
Adding number conversion cast (snumber) 2 in main::$7 = main::y#3 * 2
Adding number conversion cast (snumber) main::$7 in main::$7 = main::y#3 * (snumber)2
Adding number conversion cast (snumber) $18 in main::yd#0 = main::$7 - $18
Adding number conversion cast (snumber) 2*9*2*9 in main::$12 = main::dist_sq#0 < 2*9*2*9
Successful SSA optimization PassNAddNumberTypeConversions
Adding number conversion cast (unumber) 0 in printf_uint::$0 = 0
Successful SSA optimization PassNAddNumberTypeConversions
Inlining cast memcpy::src#0 = (char *)memcpy::source#2
Inlining cast memcpy::dst#0 = (char *)memcpy::destination#2
Inlining cast memset::dst#0 = (char *)memset::str#4
Inlining cast gotoxy::y#0 = (unumber)0
Inlining cast gotoxy::x#0 = (unumber)0
Inlining cast conio_cursor_x = (unumber)0
Inlining cast memcpy::num#0 = (unumber)$19*$28-$28
Inlining cast memcpy::num#1 = (unumber)$19*$28-$28
Inlining cast memset::num#0 = (unumber)$28
Inlining cast memset::num#1 = (unumber)$28
Inlining cast gotoxy::x#1 = (unumber)0
Inlining cast gotoxy::y#1 = (unumber)0
Inlining cast gotoxy::x#2 = (unumber)0
Inlining cast conio_c64_init::line#1 = (unumber)$19-1
Inlining cast utoa::max_digits#1 = (unumber)5
Inlining cast utoa::max_digits#2 = (unumber)4
Inlining cast utoa::max_digits#3 = (unumber)6
Inlining cast utoa::max_digits#4 = (unumber)$10
Inlining cast *utoa::buffer#2 = (unumber)0
Inlining cast *utoa::buffer#3 = (unumber)0
Inlining cast utoa::started#1 = (unumber)1
Inlining cast printf_uint::$0 = (unumber)0
Inlining cast printf_number_buffer::padding#2 = (snumber)0
Inlining cast memset::num#2 = (unumber)$3e8
Inlining cast gotoxy::x#3 = (unumber)0
Inlining cast gotoxy::y#3 = (unumber)0
Successful SSA optimization Pass2InlineCast
Simplifying constant pointer cast (char *) 55296
Simplifying constant pointer cast (char *) 1024
Simplifying constant pointer cast (char *) 214
Simplifying constant pointer cast (char *) 1024
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 1
Simplifying constant integer cast 0
Simplifying constant integer cast 1
Simplifying constant integer cast 1
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast $19
Simplifying constant integer cast $28
Simplifying constant integer cast 0
Simplifying constant integer cast $28
Simplifying constant integer cast 0
Simplifying constant integer cast $28
Simplifying constant integer cast $28
Simplifying constant integer cast $28
Simplifying constant integer cast 0
Simplifying constant integer cast $19
Simplifying constant integer cast 0
Simplifying constant integer cast $28
Simplifying constant integer cast $28
Simplifying constant integer cast $28
Simplifying constant integer cast $28
Simplifying constant integer cast $28
Simplifying constant integer cast $28
Simplifying constant integer cast $28
Simplifying constant integer cast $28
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast $19
Simplifying constant integer cast 0
Simplifying constant integer cast 5
Simplifying constant integer cast 4
Simplifying constant integer cast 6
Simplifying constant integer cast $10
Simplifying constant integer cast 0
Simplifying constant integer cast 1
Simplifying constant integer cast 0
Simplifying constant integer cast 1
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast $3e8
Simplifying constant integer cast $19
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast $28
Simplifying constant integer cast 2
Simplifying constant integer cast $27
Simplifying constant integer cast 2
Simplifying constant integer cast $18
Successful SSA optimization PassNCastSimplification
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 1
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 1
Finalized unsigned number type (char) 1
Finalized signed number type (signed char) 0
Finalized signed number type (signed char) 0
Finalized unsigned number type (char) $19
Finalized unsigned number type (char) $28
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) $28
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) $28
Finalized unsigned number type (char) $28
Finalized unsigned number type (char) $28
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) $19
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) $28
Finalized unsigned number type (char) $28
Finalized unsigned number type (char) $28
Finalized unsigned number type (char) $28
Finalized unsigned number type (char) $28
Finalized unsigned number type (char) $28
Finalized unsigned number type (char) $28
Finalized unsigned number type (char) $28
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) $19
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 5
Finalized unsigned number type (char) 4
Finalized unsigned number type (char) 6
Finalized unsigned number type (char) $10
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 1
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 1
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 0
Finalized signed number type (signed char) 0
Finalized signed number type (signed char) 0
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 0
Finalized unsigned number type (unsigned int) $3e8
Finalized signed number type (signed char) $19
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 0
Finalized signed number type (signed char) $28
Finalized signed number type (signed char) 2
Finalized signed number type (signed char) $27
Finalized signed number type (signed char) 2
Finalized signed number type (signed char) $18
Successful SSA optimization PassNFinalizeNumberTypeConversions
Inferred type updated to char in mul8u::$1 = mul8u::a#3 & 1
Inferred type updated to char in utoa::$4 = utoa::max_digits#5 - 1
Inferred type updated to char in printf_uint::$0 = 0
Inferred type updated to char for printf_uint::$2
Inferred type updated to signed char in main::$5 = main::x#3 * 2
Inferred type updated to signed char in main::$7 = main::y#3 * 2
Inversing boolean not [19] memset::$1 = memset::num#3 <= 0 from [18] memset::$0 = memset::num#3 > 0
Inversing boolean not [89] mul8u::$3 = mul8u::$1 == 0 from [88] mul8u::$2 = mul8u::$1 != 0
Inversing boolean not [112] mul8s::$2 = mul8s::a#3 >= 0 from [111] mul8s::$1 = mul8s::a#3 < 0
Inversing boolean not [116] mul8s::$4 = mul8s::b#3 >= 0 from [115] mul8s::$3 = mul8s::b#3 < 0
Inversing boolean not [137] gotoxy::$1 = gotoxy::y#4 <= $19 from [136] gotoxy::$0 = gotoxy::y#4 > $19
Inversing boolean not [141] gotoxy::$3 = gotoxy::x#4 < $28 from [140] gotoxy::$2 = gotoxy::x#4 >= $28
Inversing boolean not [166] cputc::$2 = conio_cursor_x != $28 from [165] cputc::$1 = conio_cursor_x == $28
Inversing boolean not [177] cscroll::$1 = conio_cursor_y != $19 from [176] cscroll::$0 = conio_cursor_y == $19
Inversing boolean not [210] conio_c64_init::$1 = conio_c64_init::line#0 < $19 from [209] conio_c64_init::$0 = conio_c64_init::line#0 >= $19
Inversing boolean not [352] printf_number_buffer::$0 = 0 == printf_number_buffer::format_min_length#1 from [351] printf_number_buffer::$26 = 0 != printf_number_buffer::format_min_length#1
Inversing boolean not [356] printf_number_buffer::$1 = 0 == printf_number_buffer::format_justify_left#1 from [355] printf_number_buffer::$27 = 0 != printf_number_buffer::format_justify_left#1
Inversing boolean not [358] printf_number_buffer::$2 = 0 == printf_number_buffer::format_zero_padding#1 from [357] printf_number_buffer::$28 = 0 != printf_number_buffer::format_zero_padding#1
Inversing boolean not [371] printf_number_buffer::$20 = 0 == printf_number_buffer::buffer_sign#1 from [370] printf_number_buffer::$29 = 0 != printf_number_buffer::buffer_sign#1
Inversing boolean not [378] printf_number_buffer::$23 = printf_number_buffer::padding#1 >= 0 from [377] printf_number_buffer::$22 = printf_number_buffer::padding#1 < 0
Inversing boolean not [386] printf_number_buffer::$7 = 0 == printf_number_buffer::buffer_sign#2 from [385] printf_number_buffer::$30 = 0 != printf_number_buffer::buffer_sign#2
Inversing boolean not [404] printf_number_buffer::$12 = 0 == printf_number_buffer::format_upper_case#1 from [403] printf_number_buffer::$31 = 0 != printf_number_buffer::format_upper_case#1
Inversing boolean not [418] printf_number_buffer::$14 = 0 == printf_number_buffer::format_zero_padding#3 from [417] printf_number_buffer::$32 = 0 != printf_number_buffer::format_zero_padding#3
Inversing boolean not [486] main::$13 = main::dist_sq#0 >= (int)2*9*2*9 from [485] main::$12 = main::dist_sq#0 < (int)2*9*2*9
Successful SSA optimization Pass2UnaryNotSimplification
Alias candidate removed (volatile)conio_line_text = gotoxy::$5 
Alias candidate removed (volatile)conio_line_color = gotoxy::$6 
Alias memcpy::src#2 = memcpy::src#3 
Alias memcpy::dst#2 = memcpy::dst#3 
Alias memcpy::src_end#1 = memcpy::src_end#2 
Alias memcpy::destination#3 = memcpy::destination#5 memcpy::destination#4 memcpy::return#0 memcpy::return#4 memcpy::return#1 
Alias memset::return#0 = memset::str#3 memset::return#5 memset::return#1 
Alias memset::str#4 = memset::str#5 
Alias memset::num#3 = memset::num#4 
Alias memset::c#5 = memset::c#6 
Alias memset::c#3 = memset::c#4 
Alias memset::dst#2 = memset::dst#3 
Alias memset::end#1 = memset::end#2 
Alias memset::str#6 = memset::str#7 
Alias strlen::len#2 = strlen::len#4 strlen::len#3 strlen::return#0 strlen::return#3 strlen::return#1 
Alias strlen::str#2 = strlen::str#3 
Alias toupper::ch#1 = toupper::ch#2 toupper::ch#3 toupper::return#1 
Alias toupper::return#0 = toupper::$3 
Alias toupper::return#2 = toupper::return#4 
Alias strupr::src#0 = strupr::str#1 
Alias strupr::src#2 = strupr::src#3 strupr::src#4 
Alias strupr::str#2 = strupr::str#5 strupr::str#3 strupr::str#4 strupr::return#0 strupr::return#3 strupr::return#1 
Alias toupper::return#3 = toupper::return#5 
Alias mul8u::a#2 = mul8u::a#3 mul8u::a#6 
Alias mul8u::mb#3 = mul8u::mb#4 mul8u::mb#5 
Alias mul8u::res#2 = mul8u::res#5 mul8u::res#4 mul8u::return#0 mul8u::res#3 mul8u::return#3 mul8u::return#1 
Alias mul8u::a#0 = mul8u::$5 
Alias mul8u::mb#1 = mul8u::$6 
Alias mul8u::res#1 = mul8u::$4 
Alias mul8u::return#2 = mul8u::return#4 
Alias mul8s::a#2 = mul8s::a#3 mul8s::a#6 
Alias mul8s::b#2 = mul8s::b#5 mul8s::b#4 
Alias mul8s::m#0 = mul8s::m#3 
Alias mul8s::$11 = mul8s::$7 
Alias mul8s::m#5 = mul8s::m#6 
Alias mul8s::a#4 = mul8s::a#5 
Alias mul8s::$12 = mul8s::$10 
Alias mul8s::return#0 = mul8s::return#4 mul8s::return#1 
Alias gotoxy::x#6 = gotoxy::x#7 
Alias gotoxy::y#6 = gotoxy::y#7 
Alias cputc::c#0 = cputc::c#1 
Alias utoa::value#10 = utoa::value#8 utoa::value#12 utoa::value#13 utoa::value#9 utoa::value#14 utoa::value#15 utoa::value#11 
Alias utoa::buffer#10 = utoa::buffer#17 utoa::buffer#21 utoa::buffer#16 utoa::buffer#18 utoa::buffer#13 utoa::buffer#19 utoa::buffer#20 utoa::buffer#6 
Alias utoa::radix#1 = utoa::radix#2 utoa::radix#3 utoa::radix#4 
Alias utoa::digit#2 = utoa::digit#3 utoa::digit#6 utoa::digit#5 
Alias utoa::digit_values#10 = utoa::digit_values#5 utoa::digit_values#6 utoa::digit_values#9 
Alias utoa::value#2 = utoa::value#5 utoa::value#3 utoa::value#4 
Alias utoa::started#2 = utoa::started#3 
Alias utoa::buffer#11 = utoa::buffer#12 utoa::buffer#7 utoa::buffer#8 utoa::buffer#9 
Alias utoa::max_digits#10 = utoa::max_digits#8 utoa::max_digits#5 utoa::max_digits#9 
Alias utoa::digit_value#0 = utoa::digit_value#1 
Alias utoa_append::return#0 = utoa_append::return#3 
Alias utoa::value#0 = utoa::$9 
Alias utoa_append::digit#2 = utoa_append::digit#4 utoa_append::digit#3 
Alias utoa_append::value#2 = utoa_append::value#3 utoa_append::value#4 utoa_append::return#1 utoa_append::return#4 utoa_append::return#2 
Alias utoa_append::sub#1 = utoa_append::sub#2 
Alias utoa_append::buffer#1 = utoa_append::buffer#4 utoa_append::buffer#2 
Alias printf_str::c#1 = printf_str::$0 printf_str::c#2 
Alias printf_str::putc#2 = printf_str::putc#3 
Alias printf_str::s#0 = printf_str::s#5 
Alias printf_padding::pad#3 = printf_padding::pad#4 printf_padding::pad#6 
Alias printf_padding::putc#3 = printf_padding::putc#4 printf_padding::putc#6 
Alias printf_padding::i#2 = printf_padding::i#4 printf_padding::i#3 
Alias printf_padding::length#3 = printf_padding::length#6 printf_padding::length#5 
Alias printf_uint::uvalue#2 = printf_uint::uvalue#4 printf_uint::uvalue#3 
Alias printf_uint::format_radix#3 = printf_uint::format_radix#5 printf_uint::format_radix#4 
Alias printf_uint::putc#3 = printf_uint::putc#5 printf_uint::putc#4 
Alias printf_uint::format_min_length#3 = printf_uint::format_min_length#5 printf_uint::format_min_length#4 
Alias printf_uint::format_justify_left#3 = printf_uint::format_justify_left#5 printf_uint::format_justify_left#4 
Alias printf_uint::format_sign_always#1 = printf_uint::format_sign_always#4 printf_uint::format_sign_always#5 
Alias printf_uint::format_zero_padding#3 = printf_uint::format_zero_padding#5 printf_uint::format_zero_padding#4 
Alias printf_uint::format_upper_case#3 = printf_uint::format_upper_case#5 printf_uint::format_upper_case#4 
Alias printf_uint::putc#1 = printf_uint::putc#2 
Alias printf_uint::format_min_length#1 = printf_uint::format_min_length#2 
Alias printf_uint::format_justify_left#1 = printf_uint::format_justify_left#2 
Alias printf_uint::format_sign_always#2 = printf_uint::format_sign_always#3 
Alias printf_uint::format_zero_padding#1 = printf_uint::format_zero_padding#2 
Alias printf_uint::format_upper_case#1 = printf_uint::format_upper_case#2 
Alias printf_uint::format_radix#1 = printf_uint::format_radix#2 
Alias printf_number_buffer::buffer_digits#1 = printf_number_buffer::buffer_digits#4 printf_number_buffer::buffer_digits#17 printf_number_buffer::buffer_digits#18 
Alias printf_number_buffer::buffer_sign#1 = printf_number_buffer::buffer_sign#4 printf_number_buffer::buffer_sign#7 printf_number_buffer::buffer_sign#11 
Alias printf_number_buffer::format_min_length#1 = printf_number_buffer::format_min_length#5 printf_number_buffer::format_min_length#3 printf_number_buffer::format_min_length#4 
Alias printf_number_buffer::format_justify_left#11 = printf_number_buffer::format_justify_left#3 printf_number_buffer::format_justify_left#7 printf_number_buffer::format_justify_left#8 
Alias printf_number_buffer::format_zero_padding#10 = printf_number_buffer::format_zero_padding#15 printf_number_buffer::format_zero_padding#4 printf_number_buffer::format_zero_padding#11 
Alias printf_number_buffer::putc#12 = printf_number_buffer::putc#20 printf_number_buffer::putc#18 printf_number_buffer::putc#19 
Alias printf_number_buffer::format_upper_case#13 = printf_number_buffer::format_upper_case#15 printf_number_buffer::format_upper_case#9 printf_number_buffer::format_upper_case#14 
Alias strlen::return#2 = strlen::return#4 
Alias printf_number_buffer::padding#1 = printf_number_buffer::$21 
Alias printf_number_buffer::len#0 = printf_number_buffer::len#3 
Alias printf_number_buffer::format_justify_left#4 = printf_number_buffer::format_justify_left#5 
Alias printf_number_buffer::format_zero_padding#5 = printf_number_buffer::format_zero_padding#6 
Alias printf_number_buffer::buffer_sign#8 = printf_number_buffer::buffer_sign#9 
Alias printf_number_buffer::putc#13 = printf_number_buffer::putc#14 
Alias printf_number_buffer::format_upper_case#10 = printf_number_buffer::format_upper_case#11 
Alias printf_number_buffer::buffer_digits#14 = printf_number_buffer::buffer_digits#15 
Alias printf_number_buffer::putc#1 = printf_number_buffer::putc#6 printf_number_buffer::putc#15 
Alias printf_number_buffer::padding#12 = printf_number_buffer::padding#4 printf_number_buffer::padding#3 
Alias printf_number_buffer::buffer_sign#10 = printf_number_buffer::buffer_sign#5 printf_number_buffer::buffer_sign#6 
Alias printf_number_buffer::format_zero_padding#1 = printf_number_buffer::format_zero_padding#16 printf_number_buffer::format_zero_padding#12 
Alias printf_number_buffer::format_upper_case#12 = printf_number_buffer::format_upper_case#7 printf_number_buffer::format_upper_case#8 
Alias printf_number_buffer::buffer_digits#12 = printf_number_buffer::buffer_digits#16 printf_number_buffer::buffer_digits#13 
Alias printf_number_buffer::format_justify_left#1 = printf_number_buffer::format_justify_left#19 printf_number_buffer::format_justify_left#18 
Alias printf_number_buffer::buffer_sign#2 = printf_number_buffer::buffer_sign#3 
Alias printf_number_buffer::putc#2 = printf_number_buffer::putc#7 
Alias printf_number_buffer::format_zero_padding#7 = printf_number_buffer::format_zero_padding#8 
Alias printf_number_buffer::padding#10 = printf_number_buffer::padding#9 
Alias printf_number_buffer::format_upper_case#4 = printf_number_buffer::format_upper_case#5 
Alias printf_number_buffer::buffer_digits#10 = printf_number_buffer::buffer_digits#9 
Alias printf_number_buffer::format_justify_left#15 = printf_number_buffer::format_justify_left#16 
Alias printf_number_buffer::putc#16 = printf_number_buffer::putc#3 printf_number_buffer::putc#8 
Alias printf_number_buffer::padding#15 = printf_number_buffer::padding#6 printf_number_buffer::padding#5 
Alias printf_number_buffer::format_upper_case#2 = printf_number_buffer::format_upper_case#6 printf_number_buffer::format_upper_case#3 
Alias printf_number_buffer::buffer_digits#11 = printf_number_buffer::buffer_digits#8 printf_number_buffer::buffer_digits#7 
Alias printf_number_buffer::format_zero_padding#17 = printf_number_buffer::format_zero_padding#19 printf_number_buffer::format_zero_padding#2 
Alias printf_number_buffer::format_justify_left#12 = printf_number_buffer::format_justify_left#17 printf_number_buffer::format_justify_left#13 
Alias printf_number_buffer::format_zero_padding#3 = printf_number_buffer::format_zero_padding#9 
Alias printf_number_buffer::format_justify_left#2 = printf_number_buffer::format_justify_left#6 
Alias printf_number_buffer::padding#11 = printf_number_buffer::padding#7 printf_number_buffer::padding#8 
Alias printf_number_buffer::putc#11 = printf_number_buffer::putc#4 printf_number_buffer::putc#5 
Alias printf_number_buffer::buffer_digits#3 = printf_number_buffer::buffer_digits#6 printf_number_buffer::buffer_digits#5 
Alias printf_number_buffer::putc#10 = printf_number_buffer::putc#17 printf_number_buffer::putc#9 
Alias printf_number_buffer::format_zero_padding#13 = printf_number_buffer::format_zero_padding#18 printf_number_buffer::format_zero_padding#14 
Alias printf_number_buffer::format_justify_left#10 = printf_number_buffer::format_justify_left#14 printf_number_buffer::format_justify_left#9 
Alias printf_number_buffer::padding#13 = printf_number_buffer::padding#16 printf_number_buffer::padding#14 
Alias main::y#2 = main::y#6 
Alias main::sc#8 = main::sc#9 
Alias main::count#11 = main::count#6 main::count#4 main::count#2 
Alias main::x#2 = main::x#3 main::x#7 main::x#5 main::x#6 
Alias main::y#10 = main::y#3 main::y#5 main::y#8 main::y#4 main::y#9 
Alias main::sc#10 = main::sc#6 main::sc#7 main::sc#5 main::sc#4 main::sc#3 
Alias main::count#10 = main::count#9 main::count#7 main::count#5 main::count#8 main::count#3 
Alias mul8s::return#2 = mul8s::return#5 
Alias main::yd#0 = main::yd#1 
Alias mul8s::return#3 = mul8s::return#6 
Successful SSA optimization Pass2AliasElimination
Alias candidate removed (volatile)conio_line_text = gotoxy::$5 
Alias candidate removed (volatile)conio_line_color = gotoxy::$6 
Alias mul8u::a#2 = mul8u::a#4 
Alias mul8u::mb#2 = mul8u::mb#3 
Alias mul8s::b#2 = mul8s::b#3 
Alias mul8s::a#2 = mul8s::a#4 
Alias gotoxy::x#4 = gotoxy::x#6 
Alias gotoxy::y#5 = gotoxy::y#6 
Alias utoa::value#10 = utoa::value#7 
Alias utoa::buffer#10 = utoa::buffer#15 
Alias utoa::digit#2 = utoa::digit#4 
Alias utoa::max_digits#10 = utoa::max_digits#6 
Alias utoa::digit_values#10 = utoa::digit_values#7 
Alias printf_uint::uvalue#1 = printf_uint::uvalue#2 
Alias printf_uint::format_radix#1 = printf_uint::format_radix#3 
Alias printf_uint::putc#1 = printf_uint::putc#3 
Alias printf_uint::format_min_length#1 = printf_uint::format_min_length#3 
Alias printf_uint::format_justify_left#1 = printf_uint::format_justify_left#3 
Alias printf_uint::format_sign_always#1 = printf_uint::format_sign_always#2 
Alias printf_uint::format_zero_padding#1 = printf_uint::format_zero_padding#3 
Alias printf_uint::format_upper_case#1 = printf_uint::format_upper_case#3 
Alias printf_number_buffer::format_min_length#1 = printf_number_buffer::format_min_length#2 
Alias printf_number_buffer::format_justify_left#11 = printf_number_buffer::format_justify_left#4 
Alias printf_number_buffer::format_zero_padding#10 = printf_number_buffer::format_zero_padding#5 
Alias printf_number_buffer::buffer_sign#1 = printf_number_buffer::buffer_sign#8 
Alias printf_number_buffer::putc#12 = printf_number_buffer::putc#13 
Alias printf_number_buffer::format_upper_case#10 = printf_number_buffer::format_upper_case#13 
Alias printf_number_buffer::buffer_digits#1 = printf_number_buffer::buffer_digits#14 
Alias printf_number_buffer::buffer_sign#10 = printf_number_buffer::buffer_sign#2 
Alias printf_number_buffer::format_zero_padding#1 = printf_number_buffer::format_zero_padding#7 printf_number_buffer::format_zero_padding#17 printf_number_buffer::format_zero_padding#13 printf_number_buffer::format_zero_padding#3 
Alias printf_number_buffer::padding#10 = printf_number_buffer::padding#12 printf_number_buffer::padding#15 printf_number_buffer::padding#13 printf_number_buffer::padding#11 
Alias printf_number_buffer::putc#1 = printf_number_buffer::putc#2 printf_number_buffer::putc#16 printf_number_buffer::putc#10 printf_number_buffer::putc#11 
Alias printf_number_buffer::format_upper_case#1 = printf_number_buffer::format_upper_case#4 printf_number_buffer::format_upper_case#12 printf_number_buffer::format_upper_case#2 
Alias printf_number_buffer::buffer_digits#10 = printf_number_buffer::buffer_digits#12 printf_number_buffer::buffer_digits#11 printf_number_buffer::buffer_digits#3 printf_number_buffer::buffer_digits#2 
Alias printf_number_buffer::format_justify_left#1 = printf_number_buffer::format_justify_left#15 printf_number_buffer::format_justify_left#12 printf_number_buffer::format_justify_left#10 printf_number_buffer::format_justify_left#2 
Alias main::sc#10 = main::sc#2 
Alias main::x#2 = main::x#4 
Alias main::y#10 = main::y#7 
Successful SSA optimization Pass2AliasElimination
Alias candidate removed (volatile)conio_line_text = gotoxy::$5 
Alias candidate removed (volatile)conio_line_color = gotoxy::$6 
Alias printf_number_buffer::format_justify_left#1 = printf_number_buffer::format_justify_left#11 
Alias printf_number_buffer::format_zero_padding#1 = printf_number_buffer::format_zero_padding#10 
Alias printf_number_buffer::buffer_sign#1 = printf_number_buffer::buffer_sign#10 
Alias printf_number_buffer::putc#1 = printf_number_buffer::putc#12 
Alias printf_number_buffer::format_upper_case#1 = printf_number_buffer::format_upper_case#10 
Alias printf_number_buffer::buffer_digits#1 = printf_number_buffer::buffer_digits#10 
Successful SSA optimization Pass2AliasElimination
Alias candidate removed (volatile)conio_line_text = gotoxy::$5 
Alias candidate removed (volatile)conio_line_color = gotoxy::$6 
Identical Phi Values memcpy::src_end#1 memcpy::src_end#0
Identical Phi Values memcpy::destination#3 memcpy::destination#2
Identical Phi Values memset::end#1 memset::end#0
Identical Phi Values memset::str#6 memset::str#4
Identical Phi Values memset::c#3 memset::c#5
Identical Phi Values strlen::str#4 strlen::str#1
Identical Phi Values toupper::ch#1 toupper::ch#0
Identical Phi Values strupr::src#0 strupr::str#0
Identical Phi Values strupr::str#2 strupr::src#0
Identical Phi Values mul8u::b#1 mul8u::b#0
Identical Phi Values mul8u::a#5 mul8u::a#1
Identical Phi Values utoa::radix#1 utoa::radix#0
Identical Phi Values utoa::value#10 utoa::value#1
Identical Phi Values utoa::buffer#10 utoa::buffer#5
Identical Phi Values utoa::max_digits#10 utoa::max_digits#7
Identical Phi Values utoa::digit_values#10 utoa::digit_values#8
Identical Phi Values utoa_append::value#5 utoa_append::value#0
Identical Phi Values utoa_append::sub#3 utoa_append::sub#0
Identical Phi Values utoa_append::buffer#3 utoa_append::buffer#0
Identical Phi Values utoa_append::sub#1 utoa_append::sub#3
Identical Phi Values utoa_append::buffer#1 utoa_append::buffer#3
Identical Phi Values printf_str::putc#2 printf_str::putc#4
Identical Phi Values printf_padding::length#3 printf_padding::length#4
Identical Phi Values printf_padding::pad#3 printf_padding::pad#5
Identical Phi Values printf_padding::putc#3 printf_padding::putc#5
Identical Phi Values printf_uint::format_sign_always#1 printf_uint::format_sign_always#0
Identical Phi Values printf_uint::uvalue#1 printf_uint::uvalue#0
Identical Phi Values printf_uint::format_radix#1 printf_uint::format_radix#0
Identical Phi Values printf_uint::putc#1 printf_uint::putc#0
Identical Phi Values printf_uint::format_min_length#1 printf_uint::format_min_length#0
Identical Phi Values printf_uint::format_justify_left#1 printf_uint::format_justify_left#0
Identical Phi Values printf_uint::format_zero_padding#1 printf_uint::format_zero_padding#0
Identical Phi Values printf_uint::format_upper_case#1 printf_uint::format_upper_case#0
Identical Phi Values printf_number_buffer::format_min_length#1 printf_number_buffer::format_min_length#0
Identical Phi Values printf_number_buffer::format_justify_left#1 printf_number_buffer::format_justify_left#0
Identical Phi Values printf_number_buffer::format_zero_padding#1 printf_number_buffer::format_zero_padding#0
Identical Phi Values printf_number_buffer::buffer_digits#1 printf_number_buffer::buffer_digits#0
Identical Phi Values printf_number_buffer::buffer_sign#1 printf_number_buffer::buffer_sign#0
Identical Phi Values printf_number_buffer::putc#1 printf_number_buffer::putc#0
Identical Phi Values printf_number_buffer::format_upper_case#1 printf_number_buffer::format_upper_case#0
Identical Phi Values main::y#10 main::y#2
Successful SSA optimization Pass2IdenticalPhiElimination
Identical Phi Values memset::return#0 memset::str#4
Successful SSA optimization Pass2IdenticalPhiElimination
Simple Condition memcpy::$1 [7] if(memcpy::src#2!=memcpy::src_end#0) goto memcpy::@2
Simple Condition memset::$1 [14] if(memset::num#3<=0) goto memset::@1
Simple Condition memset::$3 [21] if(memset::dst#2!=memset::end#0) goto memset::@4
Simple Condition strlen::$0 [29] if(0!=*strlen::str#2) goto strlen::@2
Simple Condition strupr::$1 [44] if(0!=*strupr::src#2) goto strupr::@2
Simple Condition mul8u::$0 [57] if(mul8u::a#2!=0) goto mul8u::@2
Simple Condition mul8u::$3 [60] if(mul8u::$1==0) goto mul8u::@4
Simple Condition mul8s::$2 [73] if(mul8s::a#2>=0) goto mul8s::@1
Simple Condition mul8s::$4 [76] if(mul8s::b#2>=0) goto mul8s::@2
Simple Condition gotoxy::$1 [90] if(gotoxy::y#4<=$19) goto gotoxy::@1
Simple Condition gotoxy::$3 [93] if(gotoxy::x#4<$28) goto gotoxy::@2
Simple Condition cputc::$0 [108] if(cputc::c#0=='
') goto cputc::@1
Simple Condition cputc::$2 [114] if(conio_cursor_x!=$28) goto cputc::@return
Simple Condition cscroll::$1 [124] if(conio_cursor_y!=$19) goto cscroll::@return
Simple Condition cscroll::$7 [126] if(0!=conio_scroll_enable) goto cscroll::@3
Simple Condition conio_c64_init::$1 [156] if(conio_c64_init::line#0<$19) goto conio_c64_init::@1
Simple Condition utoa::$0 [167] if(utoa::radix#0==DECIMAL) goto utoa::@1
Simple Condition utoa::$1 [171] if(utoa::radix#0==HEXADECIMAL) goto utoa::@2
Simple Condition utoa::$2 [175] if(utoa::radix#0==OCTAL) goto utoa::@3
Simple Condition utoa::$3 [179] if(utoa::radix#0==BINARY) goto utoa::@4
Simple Condition utoa::$5 [196] if(utoa::digit#2<utoa::$4) goto utoa::@11
Simple Condition utoa_append::$0 [221] if(utoa_append::value#2>=utoa_append::sub#0) goto utoa_append::@2
Simple Condition printf_str::$2 [232] if(0!=printf_str::c#1) goto printf_str::@2
Simple Condition printf_padding::$0 [241] if(printf_padding::i#2<printf_padding::length#4) goto printf_padding::@2
Simple Condition printf_uint::$5 [249] if(0!=printf_uint::format_sign_always#0) goto printf_uint::@1
Simple Condition printf_number_buffer::$0 [272] if(0==printf_number_buffer::format_min_length#0) goto printf_number_buffer::@1
Simple Condition printf_number_buffer::$20 [286] if(0==printf_number_buffer::buffer_sign#0) goto printf_number_buffer::@13
Simple Condition printf_number_buffer::$23 [291] if(printf_number_buffer::padding#1>=0) goto printf_number_buffer::@1
Simple Condition printf_number_buffer::$7 [295] if(0==printf_number_buffer::buffer_sign#0) goto printf_number_buffer::@3
Simple Condition printf_number_buffer::$12 [307] if(0==printf_number_buffer::format_upper_case#0) goto printf_number_buffer::@5
Simple Condition main::$3 [338] if(main::y#2<$19) goto main::@2
Simple Condition main::$4 [357] if(main::x#2<$28) goto main::@5
Simple Condition main::$13 [374] if(main::dist_sq#0>=(int)2*9*2*9) goto main::@7
Successful SSA optimization Pass2ConditionalJumpSimplification
Rewriting && if()-condition to two if()s [36] toupper::$2 = toupper::$0 && toupper::$1
Rewriting ! if()-condition to reversed if() [201] utoa::$8 = ! utoa::$7
Rewriting || if()-condition to two if()s [200] utoa::$7 = utoa::started#2 || utoa::$6
Rewriting ! if()-condition to reversed if() [278] printf_number_buffer::$5 = ! printf_number_buffer::$4
Rewriting && if()-condition to two if()s [277] printf_number_buffer::$4 = printf_number_buffer::$3 && printf_number_buffer::padding#10
Rewriting && if()-condition to two if()s [276] printf_number_buffer::$3 = printf_number_buffer::$1 && printf_number_buffer::$2
Rewriting ! if()-condition to reversed if() [301] printf_number_buffer::$10 = ! printf_number_buffer::$9
Rewriting && if()-condition to two if()s [300] printf_number_buffer::$9 = printf_number_buffer::format_zero_padding#0 && printf_number_buffer::padding#10
Rewriting ! if()-condition to reversed if() [318] printf_number_buffer::$17 = ! printf_number_buffer::$16
Rewriting && if()-condition to two if()s [317] printf_number_buffer::$16 = printf_number_buffer::$15 && printf_number_buffer::padding#10
Rewriting && if()-condition to two if()s [316] printf_number_buffer::$15 = printf_number_buffer::format_justify_left#0 && printf_number_buffer::$14
Successful SSA optimization Pass2ConditionalAndOrRewriting
Warning! Adding boolean cast to non-boolean condition utoa::started#2
Warning! Adding boolean cast to non-boolean condition printf_number_buffer::format_zero_padding#0
Warning! Adding boolean cast to non-boolean condition printf_number_buffer::format_justify_left#0
Warning! Adding boolean cast to non-boolean condition printf_number_buffer::padding#10
Warning! Adding boolean cast to non-boolean condition printf_number_buffer::padding#10
Warning! Adding boolean cast to non-boolean condition printf_number_buffer::padding#10
Constant right-side identified [129] memcpy::num#0 = (unumber)$19*$28-$28
Constant right-side identified [134] memcpy::num#1 = (unumber)$19*$28-$28
Constant right-side identified [161] conio_c64_init::line#1 = (unumber)$19-1
Successful SSA optimization Pass2ConstantRValueConsolidation
Constant strlen::len#0 = 0
Constant mul8u::res#0 = 0
Constant gotoxy::y#0 = 0
Constant gotoxy::x#0 = 0
Constant memcpy::destination#0 = (void *)CONIO_SCREEN_TEXT
Constant memcpy::source#0 = (void *)CONIO_SCREEN_TEXT+$28
Constant memcpy::num#0 = (unumber)$19*$28-$28
Constant memcpy::destination#1 = (void *)CONIO_SCREEN_COLORS
Constant memcpy::source#1 = (void *)CONIO_SCREEN_COLORS+$28
Constant memcpy::num#1 = (unumber)$19*$28-$28
Constant memset::str#0 = (void *)CONIO_SCREEN_TEXT+(unsigned int)$19*$28-$28
Constant memset::c#0 = ' '
Constant memset::num#0 = $28
Constant memset::str#1 = (void *)CONIO_SCREEN_COLORS+(unsigned int)$19*$28-$28
Constant memset::num#1 = $28
Constant gotoxy::x#1 = 0
Constant gotoxy::y#1 = 0
Constant gotoxy::x#2 = 0
Constant conio_c64_init::line#1 = (unumber)$19-1
Constant utoa::max_digits#0 = 0
Constant utoa::digit_values#0 = (unsigned int *) 0
Constant utoa::max_digits#1 = 5
Constant utoa::digit_values#1 = RADIX_DECIMAL_VALUES
Constant utoa::max_digits#2 = 4
Constant utoa::digit_values#2 = RADIX_HEXADECIMAL_VALUES
Constant utoa::max_digits#3 = 6
Constant utoa::digit_values#3 = RADIX_OCTAL_VALUES
Constant utoa::max_digits#4 = $10
Constant utoa::digit_values#4 = RADIX_BINARY_VALUES
Constant utoa::started#0 = 0
Constant utoa::digit#0 = 0
Constant utoa::started#1 = 1
Constant utoa_append::digit#0 = 0
Constant printf_str::c#0 = 0
Constant printf_padding::i#0 = 0
Constant printf_uint::$1 = '+'
Constant printf_uint::$0 = 0
Constant utoa::buffer#5 = (char *)&printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS
Constant printf_number_buffer::buffer_digits#0 = (char *)&printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS
Constant printf_number_buffer::padding#0 = 0
Constant printf_number_buffer::padding#2 = 0
Constant printf_padding::pad#0 = ' '
Constant printf_padding::pad#1 = '0'
Constant printf_padding::pad#2 = ' '
Constant memset::str#2 = (void *)SCREEN
Constant memset::c#2 = ' '
Constant memset::num#2 = $3e8
Constant main::count#0 = 0
Constant main::sc#0 = SCREEN
Constant main::y#0 = 0
Constant main::x#0 = 0
Constant gotoxy::x#3 = 0
Constant gotoxy::y#3 = 0
Constant printf_uint::putc#0 = &cputc
Constant printf_uint::format_min_length#0 = 0
Constant printf_uint::format_justify_left#0 = 0
Constant printf_uint::format_sign_always#0 = 0
Constant printf_uint::format_zero_padding#0 = 0
Constant printf_uint::format_upper_case#0 = 0
Constant printf_uint::format_radix#0 = DECIMAL
Constant printf_str::putc#1 = &cputc
Constant printf_str::s#2 = main::s
Constant conio_textcolor = CONIO_TEXTCOLOR_DEFAULT
Constant conio_scroll_enable = 1
Successful SSA optimization Pass2ConstantIdentification
Constant memset::c#1 = conio_textcolor
Constant utoa::radix#0 = printf_uint::format_radix#0
Constant printf_number_buffer::putc#0 = printf_uint::putc#0
Constant printf_number_buffer::format_min_length#0 = printf_uint::format_min_length#0
Constant printf_number_buffer::format_justify_left#0 = printf_uint::format_justify_left#0
Constant printf_number_buffer::format_sign_always#0 = printf_uint::format_sign_always#0
Constant printf_number_buffer::format_zero_padding#0 = printf_uint::format_zero_padding#0
Constant printf_number_buffer::format_upper_case#0 = printf_uint::format_upper_case#0
Constant printf_number_buffer::format_radix#0 = printf_uint::format_radix#0
Constant strlen::str#1 = printf_number_buffer::buffer_digits#0
Constant printf_str::s#1 = printf_number_buffer::buffer_digits#0
Constant strupr::str#0 = printf_number_buffer::buffer_digits#0
Successful SSA optimization Pass2ConstantIdentification
Constant printf_number_buffer::$25 = (signed char)printf_number_buffer::format_min_length#0
Constant printf_padding::putc#0 = printf_number_buffer::putc#0
Constant printf_padding::putc#1 = printf_number_buffer::putc#0
Constant printf_str::putc#0 = printf_number_buffer::putc#0
Constant strupr::return#2 = strupr::str#0
Constant printf_padding::putc#2 = printf_number_buffer::putc#0
Successful SSA optimization Pass2ConstantIdentification
Replacing constant pointer function [304] callexecute cputc 
Successful SSA optimization Pass2ConstantCallPointerIdentification
if() condition always true - replacing block destination [126] if(0!=conio_scroll_enable) goto cscroll::@3
if() condition always true - replacing block destination [167] if(utoa::radix#0==DECIMAL) goto utoa::@1
if() condition always false - eliminating [171] if(utoa::radix#0==HEXADECIMAL) goto utoa::@2
if() condition always false - eliminating [175] if(utoa::radix#0==OCTAL) goto utoa::@3
if() condition always false - eliminating [179] if(utoa::radix#0==BINARY) goto utoa::@4
if() condition always false - eliminating [249] if(0!=printf_uint::format_sign_always#0) goto printf_uint::@1
if() condition always true - replacing block destination [272] if(0==printf_number_buffer::format_min_length#0) goto printf_number_buffer::@1
if() condition always true - replacing block destination [307] if(0==printf_number_buffer::format_upper_case#0) goto printf_number_buffer::@5
Successful SSA optimization Pass2ConstantIfs
Rewriting conditional comparison [90] if(gotoxy::y#4<=$19) goto gotoxy::@1
Simplifying constant evaluating to zero (signed char)printf_number_buffer::format_min_length#0 in 
Successful SSA optimization PassNSimplifyConstantZero
Simplifying expression containing zero (char *)&printf_buffer in [253] *((char *)&printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_SIGN) = printf_uint::$2
Simplifying expression containing zero (char *)&printf_buffer in [259] printf_number_buffer::buffer_sign#0 = *((char *)&printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_SIGN)
Simplifying expression containing zero printf_number_buffer::len#2 in [289] printf_number_buffer::padding#1 = printf_number_buffer::$25 - printf_number_buffer::len#2
Successful SSA optimization PassNSimplifyExpressionWithZero
Eliminating variable strlen::str#2 from unused block strlen::@1
Eliminating variable strlen::len#2 from unused block strlen::@1
Eliminating variable strlen::len#1 from unused block strlen::@2
Eliminating variable strlen::str#0 from unused block strlen::@2
Eliminating variable toupper::$0 from unused block toupper
Eliminating variable toupper::$1 from unused block toupper
Eliminating variable toupper::return#0 from unused block toupper::@1
Eliminating variable toupper::return#2 from unused block toupper::@return
Eliminating variable strupr::src#2 from unused block strupr::@1
Eliminating variable toupper::ch#0 from unused block strupr::@2
Eliminating variable toupper::return#3 from unused block strupr::@2
Eliminating variable strupr::$0 from unused block strupr::@4
Eliminating variable strupr::src#1 from unused block strupr::@4
Eliminating variable utoa::buffer#0 from unused block utoa::@9
Eliminating variable utoa::buffer#1 from unused block utoa::@9
Eliminating variable utoa::buffer#2 from unused block utoa::@9
Eliminating variable strlen::return#2 from unused block printf_number_buffer::@6
Eliminating variable printf_number_buffer::$19 from unused block printf_number_buffer::@15
Eliminating variable printf_number_buffer::len#0 from unused block printf_number_buffer::@15
Eliminating variable printf_number_buffer::len#2 from unused block printf_number_buffer::@13
Eliminating variable printf_number_buffer::padding#1 from unused block printf_number_buffer::@13
Eliminating variable printf_number_buffer::len#1 from unused block printf_number_buffer::@7
Removing unused procedure strlen
Removing unused procedure block strlen
Removing PHI-reference to removed block (strlen) in block strlen::@1
Removing PHI-reference to removed block (strlen) in block strlen::@1
Removing unused procedure block strlen::@1
Removing unused procedure block strlen::@2
Removing unused procedure block strlen::@3
Removing unused procedure block strlen::@return
Removing unused procedure toupper
Removing unused procedure block toupper
Removing unused procedure block toupper::@1
Removing PHI-reference to removed block (toupper::@1) in block toupper::@return
Removing unused procedure block toupper::@2
Removing PHI-reference to removed block (toupper::@2) in block toupper::@return
Removing unused procedure block toupper::@return
Removing unused procedure block toupper::@3
Removing unused procedure strupr
Removing unused procedure block strupr
Removing PHI-reference to removed block (strupr) in block strupr::@1
Removing unused procedure block strupr::@1
Removing unused procedure block strupr::@2
Removing unused procedure block strupr::@4
Removing unused procedure block strupr::@3
Removing unused procedure block strupr::@return
Removing PHI-reference to removed block (cscroll::@2) in block gotoxy
Removing PHI-reference to removed block (cscroll::@2) in block gotoxy
Removing unused block cscroll::@2
Removing unused block cscroll::@8
Removing unused block utoa::@6
Removing PHI-reference to removed block (utoa::@2) in block utoa::@5
Removing PHI-reference to removed block (utoa::@2) in block utoa::@5
Removing unused block utoa::@2
Removing unused block utoa::@7
Removing PHI-reference to removed block (utoa::@3) in block utoa::@5
Removing PHI-reference to removed block (utoa::@3) in block utoa::@5
Removing unused block utoa::@3
Removing unused block utoa::@8
Removing PHI-reference to removed block (utoa::@4) in block utoa::@5
Removing PHI-reference to removed block (utoa::@4) in block utoa::@5
Removing unused block utoa::@4
Removing unused block utoa::@9
Removing PHI-reference to removed block (printf_uint::@1) in block printf_uint::@3
Removing unused block printf_uint::@1
Removing unused block printf_number_buffer::@6
Removing PHI-reference to removed block (printf_number_buffer::@15) in block printf_number_buffer::@13
Removing unused block printf_number_buffer::@15
Removing PHI-reference to removed block (printf_number_buffer::@13) in block printf_number_buffer::@1
Removing unused block printf_number_buffer::@13
Removing unused block printf_number_buffer::@7
Removing PHI-reference to removed block (printf_number_buffer::@14) in block printf_number_buffer::@1
Removing unused block printf_number_buffer::@14
Removing unused block printf_number_buffer::@11
Removing unused block printf_number_buffer::@19
Successful SSA optimization Pass2EliminateUnusedBlocks
Eliminating unused variable memcpy::return#2 and assignment [82] memcpy::return#2 = memcpy::destination#2
Eliminating unused variable memcpy::return#3 and assignment [84] memcpy::return#3 = memcpy::destination#2
Eliminating unused variable memset::return#2 and assignment [86] memset::return#2 = memset::str#4
Eliminating unused variable memset::return#3 and assignment [88] memset::return#3 = memset::str#4
Eliminating unused variable memset::return#4 and assignment [174] memset::return#4 = memset::str#4
Eliminating unused constant gotoxy::x#1
Eliminating unused constant gotoxy::y#1
Eliminating unused constant BINARY
Eliminating unused constant OCTAL
Eliminating unused constant HEXADECIMAL
Eliminating unused constant utoa::max_digits#0
Eliminating unused constant utoa::digit_values#0
Eliminating unused constant utoa::max_digits#2
Eliminating unused constant utoa::digit_values#2
Eliminating unused constant utoa::max_digits#3
Eliminating unused constant utoa::digit_values#3
Eliminating unused constant utoa::max_digits#4
Eliminating unused constant utoa::digit_values#4
Eliminating unused constant utoa::radix#0
Eliminating unused constant printf_str::c#0
Eliminating unused constant printf_uint::$1
Eliminating unused constant printf_number_buffer::padding#2
Eliminating unused constant printf_number_buffer::format_min_length#0
Eliminating unused constant printf_number_buffer::format_sign_always#0
Eliminating unused constant printf_number_buffer::format_upper_case#0
Eliminating unused constant printf_number_buffer::format_radix#0
Eliminating unused constant printf_number_buffer::$25
Eliminating unused constant OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_SIGN
Eliminating unused constant conio_scroll_enable
Successful SSA optimization PassNEliminateUnusedVars
Eliminating unused constant RADIX_BINARY_VALUES
Eliminating unused constant RADIX_OCTAL_VALUES
Eliminating unused constant RADIX_HEXADECIMAL_VALUES
Eliminating unused constant printf_uint::format_min_length#0
Eliminating unused constant printf_uint::format_sign_always#0
Eliminating unused constant printf_uint::format_upper_case#0
Eliminating unused constant printf_uint::format_radix#0
Successful SSA optimization PassNEliminateUnusedVars
Eliminating unused constant DECIMAL
Successful SSA optimization PassNEliminateUnusedVars
Adding number conversion cast (unumber) $19+1 in if(gotoxy::y#4<$19+1) goto gotoxy::@1
Adding number conversion cast (unumber) 1 in if(gotoxy::y#4<(unumber)$19+1) goto gotoxy::@1
Adding number conversion cast (unumber) 0 in utoa::$12 = 0 != utoa::started#2
Adding number conversion cast (unumber) 0 in printf_number_buffer::$33 = 0 != printf_number_buffer::format_zero_padding#0
Adding number conversion cast (unumber) 0 in printf_number_buffer::$34 = 0 != printf_number_buffer::format_justify_left#0
Adding number conversion cast (snumber) 0 in printf_number_buffer::$35 = 0 != printf_number_buffer::padding#10
Adding number conversion cast (snumber) 0 in printf_number_buffer::$36 = 0 != printf_number_buffer::padding#10
Adding number conversion cast (snumber) 0 in printf_number_buffer::$37 = 0 != printf_number_buffer::padding#10
Successful SSA optimization PassNAddNumberTypeConversions
Simplifying constant integer cast $19+(unumber)1
Simplifying constant integer cast 1
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Successful SSA optimization PassNCastSimplification
Finalized unsigned number type (char) 1
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 0
Finalized unsigned number type (char) 0
Finalized signed number type (signed char) 0
Finalized signed number type (signed char) 0
Finalized signed number type (signed char) 0
Successful SSA optimization PassNFinalizeNumberTypeConversions
Alias candidate removed (volatile)conio_line_text = gotoxy::$5 
Alias candidate removed (volatile)conio_line_color = gotoxy::$6 
Identical Phi Values utoa::max_digits#7 utoa::max_digits#1
Identical Phi Values utoa::digit_values#8 utoa::digit_values#1
Identical Phi Values printf_uint::$2 printf_uint::$0
Identical Phi Values printf_number_buffer::padding#10 printf_number_buffer::padding#0
Successful SSA optimization Pass2IdenticalPhiElimination
Simple Condition utoa::$12 [104] if(0!=utoa::started#2) goto utoa::@14
Simple Condition printf_number_buffer::$1 [151] if(0==printf_number_buffer::format_justify_left#0) goto printf_number_buffer::@22
Simple Condition printf_number_buffer::$33 [156] if(0!=printf_number_buffer::format_zero_padding#0) goto printf_number_buffer::@23
Simple Condition printf_number_buffer::$34 [165] if(0!=printf_number_buffer::format_justify_left#0) goto printf_number_buffer::@25
Simple Condition utoa::$6 [208] if(utoa::value#2>=utoa::digit_value#0) goto utoa::@14
Simple Condition printf_number_buffer::$35 [210] if(0!=printf_number_buffer::padding#0) goto printf_number_buffer::@8
Simple Condition printf_number_buffer::$2 [211] if(0==printf_number_buffer::format_zero_padding#0) goto printf_number_buffer::@21
Simple Condition printf_number_buffer::$36 [213] if(0!=printf_number_buffer::padding#0) goto printf_number_buffer::@10
Simple Condition printf_number_buffer::$37 [215] if(0!=printf_number_buffer::padding#0) goto printf_number_buffer::@12
Simple Condition printf_number_buffer::$14 [216] if(0==printf_number_buffer::format_zero_padding#0) goto printf_number_buffer::@24
Successful SSA optimization Pass2ConditionalJumpSimplification
Negating conditional jump and destination [151] if(0!=printf_number_buffer::format_justify_left#0) goto printf_number_buffer::@2
Negating conditional jump and destination [156] if(0==printf_number_buffer::format_zero_padding#0) goto printf_number_buffer::@4
Negating conditional jump and destination [165] if(0==printf_number_buffer::format_justify_left#0) goto printf_number_buffer::@return
Negating conditional jump and destination [211] if(0!=printf_number_buffer::format_zero_padding#0) goto printf_number_buffer::@2
Negating conditional jump and destination [216] if(0!=printf_number_buffer::format_zero_padding#0) goto printf_number_buffer::@return
Successful SSA optimization Pass2ConditionalJumpSequenceImprovement
Constant right-side identified [98] utoa::$4 = utoa::max_digits#1 - 1
Constant right-side identified [153] printf_padding::length#0 = (char)printf_number_buffer::padding#0
Constant right-side identified [160] printf_padding::length#1 = (char)printf_number_buffer::padding#0
Constant right-side identified [166] printf_padding::length#2 = (char)printf_number_buffer::padding#0
Successful SSA optimization Pass2ConstantRValueConsolidation
Constant utoa::$4 = utoa::max_digits#1-1
Constant printf_padding::length#0 = (char)printf_number_buffer::padding#0
Constant printf_padding::length#1 = (char)printf_number_buffer::padding#0
Constant printf_padding::length#2 = (char)printf_number_buffer::padding#0
Successful SSA optimization Pass2ConstantIdentification
if() condition always false - eliminating [151] if(0!=printf_number_buffer::format_justify_left#0) goto printf_number_buffer::@2
if() condition always true - replacing block destination [156] if(0==printf_number_buffer::format_zero_padding#0) goto printf_number_buffer::@4
if() condition always true - replacing block destination [165] if(0==printf_number_buffer::format_justify_left#0) goto printf_number_buffer::@return
if() condition always false - eliminating [210] if(0!=printf_number_buffer::padding#0) goto printf_number_buffer::@8
if() condition always false - eliminating [211] if(0!=printf_number_buffer::format_zero_padding#0) goto printf_number_buffer::@2
if() condition always false - eliminating [213] if(0!=printf_number_buffer::padding#0) goto printf_number_buffer::@10
if() condition always false - eliminating [215] if(0!=printf_number_buffer::padding#0) goto printf_number_buffer::@12
if() condition always false - eliminating [216] if(0!=printf_number_buffer::format_zero_padding#0) goto printf_number_buffer::@return
Successful SSA optimization Pass2ConstantIfs
Simplifying constant evaluating to zero (char)printf_number_buffer::padding#0 in 
Simplifying constant evaluating to zero (char)printf_number_buffer::padding#0 in 
Simplifying constant evaluating to zero (char)printf_number_buffer::padding#0 in 
Successful SSA optimization PassNSimplifyConstantZero
Eliminating variable printf_padding::length#4 from unused block printf_padding
Eliminating variable printf_padding::pad#5 from unused block printf_padding
Eliminating variable printf_padding::putc#5 from unused block printf_padding
Eliminating variable printf_padding::i#2 from unused block printf_padding::@1
Eliminating variable printf_padding::i#1 from unused block printf_padding::@3
Removing unused procedure printf_padding
Removing unused procedure block printf_padding
Removing PHI-reference to removed block (printf_padding) in block printf_padding::@1
Removing unused procedure block printf_padding::@1
Removing unused procedure block printf_padding::@2
Removing unused procedure block printf_padding::@3
Removing unused procedure block printf_padding::@return
Removing unused block printf_number_buffer::@8
Removing unused block printf_number_buffer::@16
Removing unused block printf_number_buffer::@10
Removing unused block printf_number_buffer::@17
Removing unused block printf_number_buffer::@12
Removing unused block printf_number_buffer::@20
Removing unused block printf_number_buffer::@23
Removing unused block printf_number_buffer::@24
Removing unused block printf_number_buffer::@25
Successful SSA optimization Pass2EliminateUnusedBlocks
Eliminating unused constant printf_number_buffer::padding#0
Eliminating unused constant printf_number_buffer::format_justify_left#0
Eliminating unused constant printf_number_buffer::format_zero_padding#0
Successful SSA optimization PassNEliminateUnusedVars
Eliminating unused constant printf_uint::format_justify_left#0
Eliminating unused constant printf_uint::format_zero_padding#0
Successful SSA optimization PassNEliminateUnusedVars
Alias candidate removed (volatile)conio_line_text = gotoxy::$5 
Alias candidate removed (volatile)conio_line_color = gotoxy::$6 
Inlining Noop Cast [1] memcpy::src#0 = (char *)memcpy::source#2 keeping memcpy::source#2
Inlining Noop Cast [2] memcpy::dst#0 = (char *)memcpy::destination#2 keeping memcpy::destination#2
Inlining Noop Cast [3] memcpy::$2 = (char *)memcpy::source#2 keeping memcpy::source#2
Inlining Noop Cast [13] memset::$4 = (char *)memset::str#4 keeping memset::str#4
Inlining Noop Cast [15] memset::dst#0 = (char *)memset::str#4 keeping memset::str#4
Inlining Noop Cast [41] mul8s::$13 = (char)mul8s::b#2 keeping mul8s::b#2
Inlining Noop Cast [45] mul8s::return#0 = (int)mul8s::m#4 keeping mul8s::m#4
Inlining Noop Cast [47] mul8s::$14 = (char)mul8s::a#2 keeping mul8s::a#2
Successful SSA optimization Pass2NopCastInlining
Inlining Noop Cast [157] mul8s::return#2 = (int)mul8s::m#4 keeping mul8s::m#4
Inlining Noop Cast [162] mul8s::return#3 = (int)mul8s::m#4 keeping mul8s::m#4
Successful SSA optimization Pass2NopCastInlining
Rewriting multiplication to use shift and addition[59] gotoxy::line_offset#0 = gotoxy::$7 * $28
Rewriting multiplication to use shift [98] utoa::$10 = utoa::digit#2 * SIZEOF_UNSIGNED_INT
Rewriting multiplication to use shift [150] main::$5 = main::x#2 * 2
Rewriting multiplication to use shift [152] main::$7 = main::y#2 * 2
Successful SSA optimization Pass2MultiplyToShiftRewriting
Inlining constant with var siblings memcpy::destination#0
Inlining constant with var siblings memcpy::source#0
Inlining constant with var siblings memcpy::num#0
Inlining constant with var siblings memcpy::destination#1
Inlining constant with var siblings memcpy::source#1
Inlining constant with var siblings memcpy::num#1
Inlining constant with var siblings memset::str#0
Inlining constant with var siblings memset::c#0
Inlining constant with var siblings memset::num#0
Inlining constant with var siblings memset::str#1
Inlining constant with var siblings memset::num#1
Inlining constant with var siblings memset::str#2
Inlining constant with var siblings memset::c#2
Inlining constant with var siblings memset::num#2
Inlining constant with var siblings memset::c#1
Inlining constant with var siblings mul8u::res#0
Inlining constant with var siblings gotoxy::y#0
Inlining constant with var siblings gotoxy::x#0
Inlining constant with var siblings gotoxy::x#2
Inlining constant with var siblings gotoxy::x#3
Inlining constant with var siblings gotoxy::y#3
Inlining constant with var siblings conio_c64_init::line#1
Inlining constant with var siblings utoa::started#0
Inlining constant with var siblings utoa::digit#0
Inlining constant with var siblings utoa::started#1
Inlining constant with var siblings utoa::buffer#5
Inlining constant with var siblings utoa_append::digit#0
Inlining constant with var siblings printf_str::putc#1
Inlining constant with var siblings printf_str::s#2
Inlining constant with var siblings printf_str::s#1
Inlining constant with var siblings printf_str::putc#0
Inlining constant with var siblings main::count#0
Inlining constant with var siblings main::sc#0
Inlining constant with var siblings main::y#0
Inlining constant with var siblings main::x#0
Constant inlined utoa_append::digit#0 = 0
Constant inlined utoa::digit_values#1 = RADIX_DECIMAL_VALUES
Constant inlined memset::num#2 = $3e8
Constant inlined printf_str::putc#0 = printf_uint::putc#0
Constant inlined conio_textcolor = LIGHT_BLUE
Constant inlined printf_str::putc#1 = &cputc
Constant inlined memcpy::destination#0 = (void *)DEFAULT_SCREEN
Constant inlined memset::num#1 = $28
Constant inlined memcpy::destination#1 = (void *)COLORRAM
Constant inlined memset::num#0 = $28
Constant inlined conio_c64_init::line#1 = (char)$19-1
Constant inlined memcpy::source#1 = (void *)COLORRAM+$28
Constant inlined utoa::digit#0 = 0
Constant inlined CONIO_SCREEN_TEXT = DEFAULT_SCREEN
Constant inlined printf_str::s#1 = printf_number_buffer::buffer_digits#0
Constant inlined printf_str::s#2 = main::s
Constant inlined utoa::$4 = utoa::max_digits#1-1
Constant inlined CONIO_TEXTCOLOR_DEFAULT = LIGHT_BLUE
Constant inlined memset::str#2 = (void *)SCREEN
Constant inlined memset::str#1 = (void *)COLORRAM+(unsigned int)$19*$28-$28
Constant inlined memset::str#0 = (void *)DEFAULT_SCREEN+(unsigned int)$19*$28-$28
Constant inlined CONIO_SCREEN_COLORS = COLORRAM
Constant inlined printf_uint::$0 = 0
Constant inlined utoa::started#1 = 1
Constant inlined main::sc#0 = SCREEN
Constant inlined utoa::started#0 = 0
Constant inlined main::x#0 = 0
Constant inlined printf_number_buffer::putc#0 = printf_uint::putc#0
Constant inlined main::y#0 = 0
Constant inlined memcpy::source#0 = (void *)DEFAULT_SCREEN+$28
Constant inlined memcpy::num#1 = (unsigned int)$19*$28-$28
Constant inlined gotoxy::x#3 = 0
Constant inlined memcpy::num#0 = (unsigned int)$19*$28-$28
Constant inlined gotoxy::y#3 = 0
Constant inlined main::count#0 = 0
Constant inlined mul8u::res#0 = 0
Constant inlined gotoxy::x#0 = 0
Constant inlined utoa::buffer#5 = (char *)&printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS
Constant inlined gotoxy::y#0 = 0
Constant inlined gotoxy::x#2 = 0
Constant inlined memset::c#0 = ' '
Constant inlined memset::c#1 = LIGHT_BLUE
Constant inlined memset::c#2 = ' '
Successful SSA optimization Pass2ConstantInlining
Alias candidate removed (volatile)conio_line_text = gotoxy::$5 
Alias candidate removed (volatile)conio_line_color = gotoxy::$6 
Alias gotoxy::line_offset#0 = gotoxy::$10 
Successful SSA optimization Pass2AliasElimination
Alias candidate removed (volatile)conio_line_text = gotoxy::$5 
Alias candidate removed (volatile)conio_line_color = gotoxy::$6 
Identical Phi Values memcpy::num#2 (unsigned int)$19*$28-$28
Identical Phi Values gotoxy::x#4 0
Successful SSA optimization Pass2IdenticalPhiElimination
Identical Phi Values gotoxy::x#5 0
Successful SSA optimization Pass2IdenticalPhiElimination
if() condition always true - replacing block destination [46] if(0<$28) goto gotoxy::@2
Successful SSA optimization Pass2ConstantIfs
Removing unused block gotoxy::@4
Successful SSA optimization Pass2EliminateUnusedBlocks
Eliminating unused constant SIZEOF_UNSIGNED_INT
Successful SSA optimization PassNEliminateUnusedVars
Alias candidate removed (volatile)conio_line_text = gotoxy::$5 
Alias candidate removed (volatile)conio_line_color = gotoxy::$6 
Finalized unsigned number type (char) 2
Finalized unsigned number type (char) 8
Finalized unsigned number type (char) $a
Finalized unsigned number type (char) $10
Finalized unsigned number type (char) $b
Finalized unsigned number type (char) $b
Finalized unsigned number type (char) $19
Finalized unsigned number type (char) $28
Finalized unsigned number type (char) $28
Finalized unsigned number type (char) $19
Finalized unsigned number type (char) $28
Finalized unsigned number type (char) $19
Finalized unsigned number type (char) $28
Finalized unsigned number type (char) $19
Finalized unsigned number type (char) 1
Finalized unsigned number type (char) 1
Finalized unsigned number type (char) 1
Finalized unsigned number type (char) 2
Finalized unsigned number type (char) 9
Finalized unsigned number type (char) 2
Finalized unsigned number type (char) 9
Successful SSA optimization PassNFinalizeNumberTypeConversions
Simplifying constant integer cast $19-1
Successful SSA optimization PassNCastSimplification
Alias candidate removed (volatile)conio_line_text = gotoxy::$5 
Alias candidate removed (volatile)conio_line_color = gotoxy::$6 
Alias candidate removed (volatile)conio_line_text = gotoxy::$5 
Alias candidate removed (volatile)conio_line_color = gotoxy::$6 
Added new block during phi lifting mul8u::@6(between mul8u::@2 and mul8u::@4)
Added new block during phi lifting mul8s::@6(between mul8s::@5 and mul8s::@1)
Added new block during phi lifting mul8s::@7(between mul8s::@1 and mul8s::@2)
Added new block during phi lifting gotoxy::@5(between gotoxy and gotoxy::@1)
Added new block during phi lifting conio_c64_init::@4(between conio_c64_init and conio_c64_init::@1)
Added new block during phi lifting utoa::@17(between utoa::@16 and utoa::@13)
Added new block during phi lifting main::@15(between main::@14 and main::@7)
Adding NOP phi() at start of __start
Adding NOP phi() at start of __start::@2
Adding NOP phi() at start of __start::@1
Adding NOP phi() at start of __start::@3
Adding NOP phi() at start of conio_c64_init::@2
Adding NOP phi() at start of conio_c64_init::@3
Adding NOP phi() at start of cputc::@3
Adding NOP phi() at start of cputc::@5
Adding NOP phi() at start of cputc::@1
Adding NOP phi() at start of cputc::@4
Adding NOP phi() at start of main
Adding NOP phi() at start of main::@9
Adding NOP phi() at start of main::@3
Adding NOP phi() at start of main::@11
Adding NOP phi() at start of main::@12
Adding NOP phi() at start of gotoxy::@3
Adding NOP phi() at start of cputln::@1
Adding NOP phi() at start of memset::@1
Adding NOP phi() at start of printf_uint
Adding NOP phi() at start of printf_uint::@2
Adding NOP phi() at start of printf_uint::@5
Adding NOP phi() at start of cscroll::@1
Adding NOP phi() at start of cscroll::@3
Adding NOP phi() at start of cscroll::@4
Adding NOP phi() at start of cscroll::@5
Adding NOP phi() at start of cscroll::@6
Adding NOP phi() at start of utoa
Adding NOP phi() at start of utoa::@1
Adding NOP phi() at start of printf_number_buffer
Adding NOP phi() at start of printf_number_buffer::@1
Adding NOP phi() at start of printf_number_buffer::@22
Adding NOP phi() at start of printf_number_buffer::@21
Adding NOP phi() at start of printf_number_buffer::@3
Adding NOP phi() at start of printf_number_buffer::@4
Adding NOP phi() at start of printf_number_buffer::@5
Adding NOP phi() at start of printf_number_buffer::@18
Adding NOP phi() at start of mul8u::@3
Adding NOP phi() at start of memcpy::@3
CALL GRAPH
Calls in [__start] to conio_c64_init:5 main:8 
Calls in [conio_c64_init] to gotoxy:17 
Calls in [cputc] to cputln:28 cputln:32 
Calls in [main] to memset:35 gotoxy:40 printf_uint:42 printf_str:44 mul8s:63 mul8s:69 
Calls in [cputln] to cscroll:103 
Calls in [printf_uint] to utoa:121 printf_number_buffer:123 
Calls in [printf_str] to null:134 
Calls in [mul8s] to mul8u:140 
Calls in [cscroll] to memcpy:161 memcpy:163 memset:165 memset:167 
Calls in [utoa] to utoa_append:198 
Calls in [printf_number_buffer] to cputc:210 printf_str:215 

Created 38 initial phi equivalence classes
Coalesced [16] gotoxy::y#8 = gotoxy::y#2
Coalesced [20] conio_c64_init::line#3 = conio_c64_init::line#0
Coalesced [47] main::sc#12 = main::sc#8
Coalesced [48] main::count#14 = main::count#11
Coalesced [52] main::y#11 = main::y#1
Coalesced (already) [53] main::count#13 = main::count#10
Coalesced (already) [54] main::sc#11 = main::sc#10
Coalesced [61] mul8s::a#8 = mul8s::a#0
Coalesced [62] mul8s::b#7 = mul8s::b#0
Coalesced [67] mul8s::a#7 = mul8s::a#1
Coalesced [68] mul8s::b#6 = mul8s::b#1
Coalesced [75] main::count#17 = main::count#1
Coalesced [79] main::x#8 = main::x#1
Coalesced [80] main::sc#13 = main::sc#1
Coalesced [81] main::count#15 = main::count#12
Coalesced (already) [82] main::count#16 = main::count#10
Coalesced [98] gotoxy::y#9 = gotoxy::y#4
Coalesced [116] memset::dst#5 = memset::dst#1
Coalesced [127] printf_str::s#6 = printf_str::s#4
Coalesced [136] printf_str::s#7 = printf_str::s#0
Coalesced [147] mul8s::m#7 = mul8s::m#1
Coalesced [153] mul8s::m#10 = mul8s::m#2
Coalesced [156] mul8s::m#9 = mul8s::m#5
Coalesced [157] mul8s::m#8 = mul8s::m#0
Coalesced [174] utoa::value#17 = utoa::value#1
Coalesced [186] utoa::value#18 = utoa::value#2
Coalesced [187] utoa::started#6 = utoa::started#2
Coalesced [188] utoa::buffer#23 = utoa::buffer#11
Coalesced [191] utoa::digit#7 = utoa::digit#1
Coalesced (already) [192] utoa::value#16 = utoa::value#6
Coalesced (already) [193] utoa::started#5 = utoa::started#4
Coalesced (already) [194] utoa::buffer#22 = utoa::buffer#14
Coalesced [202] utoa::value#19 = utoa::value#0
Coalesced [203] utoa::buffer#24 = utoa::buffer#4
Coalesced [219] mul8u::a#7 = mul8u::a#1
Coalesced [220] mul8u::mb#6 = mul8u::mb#0
Coalesced [228] mul8u::res#9 = mul8u::res#1
Coalesced [232] mul8u::a#8 = mul8u::a#0
Coalesced [233] mul8u::res#7 = mul8u::res#6
Coalesced [234] mul8u::mb#7 = mul8u::mb#1
Coalesced (already) [235] mul8u::res#8 = mul8u::res#2
Coalesced [247] memcpy::src#5 = memcpy::src#1
Coalesced [248] memcpy::dst#5 = memcpy::dst#1
Coalesced [249] utoa_append::value#6 = utoa_append::value#0
Coalesced [256] utoa_append::value#7 = utoa_append::value#1
Coalesced [257] utoa_append::digit#5 = utoa_append::digit#1
Coalesced down to 28 phi equivalence classes
Culled Empty Block label __start::@2
Culled Empty Block label __start::@3
Culled Empty Block label conio_c64_init::@2
Culled Empty Block label conio_c64_init::@3
Culled Empty Block label cputc::@5
Culled Empty Block label cputc::@4
Culled Empty Block label main::@9
Culled Empty Block label main::@12
Culled Empty Block label main::@2
Culled Empty Block label main::@15
Culled Empty Block label gotoxy::@3
Culled Empty Block label cputln::@1
Culled Empty Block label memset::@1
Culled Empty Block label printf_uint::@2
Culled Empty Block label printf_uint::@5
Culled Empty Block label mul8s::@7
Culled Empty Block label mul8s::@6
Culled Empty Block label cscroll::@1
Culled Empty Block label utoa::@1
Culled Empty Block label utoa::@5
Culled Empty Block label utoa::@17
Culled Empty Block label printf_number_buffer::@1
Culled Empty Block label printf_number_buffer::@22
Culled Empty Block label printf_number_buffer::@21
Culled Empty Block label printf_number_buffer::@3
Culled Empty Block label printf_number_buffer::@4
Culled Empty Block label printf_number_buffer::@18
Culled Empty Block label mul8u::@3
Culled Empty Block label mul8u::@6
Culled Empty Block label memcpy::@3
Renumbering block memset::@2 to memset::@1
Renumbering block memset::@3 to memset::@2
Renumbering block memset::@4 to memset::@3
Renumbering block mul8u::@4 to mul8u::@3
Renumbering block mul8u::@5 to mul8u::@4
Renumbering block gotoxy::@5 to gotoxy::@3
Renumbering block cscroll::@3 to cscroll::@1
Renumbering block cscroll::@4 to cscroll::@2
Renumbering block cscroll::@5 to cscroll::@3
Renumbering block cscroll::@6 to cscroll::@4
Renumbering block cscroll::@7 to cscroll::@5
Renumbering block conio_c64_init::@4 to conio_c64_init::@2
Renumbering block utoa::@10 to utoa::@1
Renumbering block utoa::@11 to utoa::@2
Renumbering block utoa::@12 to utoa::@3
Renumbering block utoa::@13 to utoa::@4
Renumbering block utoa::@14 to utoa::@5
Renumbering block utoa::@15 to utoa::@6
Renumbering block utoa::@16 to utoa::@7
Renumbering block printf_uint::@3 to printf_uint::@1
Renumbering block printf_uint::@4 to printf_uint::@2
Renumbering block printf_number_buffer::@2 to printf_number_buffer::@1
Renumbering block printf_number_buffer::@5 to printf_number_buffer::@2
Renumbering block printf_number_buffer::@9 to printf_number_buffer::@3
Renumbering block main::@3 to main::@2
Renumbering block main::@4 to main::@3
Renumbering block main::@5 to main::@4
Renumbering block main::@6 to main::@5
Renumbering block main::@7 to main::@6
Renumbering block main::@8 to main::@7
Renumbering block main::@10 to main::@8
Renumbering block main::@11 to main::@9
Renumbering block main::@13 to main::@10
Renumbering block main::@14 to main::@11
Adding NOP phi() at start of __start
Adding NOP phi() at start of __start::@1
Adding NOP phi() at start of conio_c64_init::@2
Adding NOP phi() at start of cputc::@3
Adding NOP phi() at start of cputc::@1
Adding NOP phi() at start of main
Adding NOP phi() at start of main::@2
Adding NOP phi() at start of main::@9
Adding NOP phi() at start of gotoxy::@3
Adding NOP phi() at start of printf_uint
Adding NOP phi() at start of cscroll::@1
Adding NOP phi() at start of cscroll::@2
Adding NOP phi() at start of cscroll::@3
Adding NOP phi() at start of cscroll::@4
Adding NOP phi() at start of utoa
Adding NOP phi() at start of printf_number_buffer
Adding NOP phi() at start of printf_number_buffer::@2
Adding NOP phi() at start of utoa_append

FINAL CONTROL FLOW GRAPH

void __start()
__start: scope:[__start]  from
  [0] phi()
  to:__start::__init1
__start::__init1: scope:[__start]  from __start
  [1] conio_cursor_x = 0
  [2] conio_cursor_y = 0
  [3] conio_line_text = DEFAULT_SCREEN
  [4] conio_line_color = COLORRAM
  [5] call conio_c64_init
  to:__start::@1
__start::@1: scope:[__start]  from __start::__init1
  [6] phi()
  [7] call main
  to:__start::@return
__start::@return: scope:[__start]  from __start::@1
  [8] return 
  to:@return

void conio_c64_init()
conio_c64_init: scope:[conio_c64_init]  from __start::__init1
  [9] conio_c64_init::line#0 = *conio_c64_init::BASIC_CURSOR_LINE
  [10] if(conio_c64_init::line#0<$19) goto conio_c64_init::@2
  to:conio_c64_init::@1
conio_c64_init::@2: scope:[conio_c64_init]  from conio_c64_init
  [11] phi()
  to:conio_c64_init::@1
conio_c64_init::@1: scope:[conio_c64_init]  from conio_c64_init conio_c64_init::@2
  [12] conio_c64_init::line#2 = phi( conio_c64_init::@2/conio_c64_init::line#0, conio_c64_init/$19-1 )
  [13] gotoxy::y#2 = conio_c64_init::line#2
  [14] call gotoxy
  to:conio_c64_init::@return
conio_c64_init::@return: scope:[conio_c64_init]  from conio_c64_init::@1
  [15] return 
  to:@return

__stackcall void cputc(char c)
cputc: scope:[cputc]  from printf_number_buffer::@3
  [16] cputc::c#0 = stackidx(char,cputc::OFFSET_STACK_C)
  [17] if(cputc::c#0=='
') goto cputc::@1
  to:cputc::@2
cputc::@2: scope:[cputc]  from cputc
  [18] conio_line_text[conio_cursor_x] = cputc::c#0
  [19] conio_line_color[conio_cursor_x] = LIGHT_BLUE
  [20] conio_cursor_x = ++ conio_cursor_x
  [21] if(conio_cursor_x!=$28) goto cputc::@return
  to:cputc::@3
cputc::@3: scope:[cputc]  from cputc::@2
  [22] phi()
  [23] call cputln
  to:cputc::@return
cputc::@return: scope:[cputc]  from cputc::@1 cputc::@2 cputc::@3
  [24] return 
  to:@return
cputc::@1: scope:[cputc]  from cputc
  [25] phi()
  [26] call cputln
  to:cputc::@return

void main()
main: scope:[main]  from __start::@1
  [27] phi()
  [28] call memset
  to:main::@1
main::@1: scope:[main]  from main main::@5
  [29] main::sc#8 = phi( main::@5/main::sc#10, main/SCREEN )
  [29] main::count#11 = phi( main::@5/main::count#10, main/0 )
  [29] main::y#2 = phi( main::@5/main::y#1, main/0 )
  [30] if(main::y#2<$19) goto main::@3
  to:main::@2
main::@2: scope:[main]  from main::@1
  [31] phi()
  [32] call gotoxy
  to:main::@8
main::@8: scope:[main]  from main::@2
  [33] printf_uint::uvalue#0 = main::count#11
  [34] call printf_uint
  to:main::@9
main::@9: scope:[main]  from main::@8
  [35] phi()
  [36] call printf_str
  to:main::@return
main::@return: scope:[main]  from main::@9
  [37] return 
  to:@return
main::@3: scope:[main]  from main::@1 main::@6
  [38] main::count#10 = phi( main::@1/main::count#11, main::@6/main::count#12 )
  [38] main::sc#10 = phi( main::@1/main::sc#8, main::@6/main::sc#1 )
  [38] main::x#2 = phi( main::@1/0, main::@6/main::x#1 )
  [39] if(main::x#2<$28) goto main::@4
  to:main::@5
main::@5: scope:[main]  from main::@3
  [40] main::y#1 = ++ main::y#2
  to:main::@1
main::@4: scope:[main]  from main::@3
  [41] main::$5 = main::x#2 << 1
  [42] main::xd#0 = main::$5 - $27
  [43] main::$7 = main::y#2 << 1
  [44] main::yd#0 = main::$7 - $18
  [45] mul8s::a#0 = main::xd#0
  [46] mul8s::b#0 = main::xd#0
  [47] call mul8s
  to:main::@10
main::@10: scope:[main]  from main::@4
  [48] main::$9 = (int)mul8s::m#4
  [49] mul8s::a#1 = main::yd#0
  [50] mul8s::b#1 = main::yd#0
  [51] call mul8s
  to:main::@11
main::@11: scope:[main]  from main::@10
  [52] main::$10 = (int)mul8s::m#4
  [53] main::dist_sq#0 = main::$9 + main::$10
  [54] if(main::dist_sq#0>=(int)2*9*2*9) goto main::@6
  to:main::@7
main::@7: scope:[main]  from main::@11
  [55] *main::sc#10 = '*'
  [56] main::count#1 = ++ main::count#10
  to:main::@6
main::@6: scope:[main]  from main::@11 main::@7
  [57] main::count#12 = phi( main::@11/main::count#10, main::@7/main::count#1 )
  [58] main::sc#1 = ++ main::sc#10
  [59] main::x#1 = ++ main::x#2
  to:main::@3

void gotoxy(char x , char y)
gotoxy: scope:[gotoxy]  from conio_c64_init::@1 main::@2
  [60] gotoxy::y#4 = phi( conio_c64_init::@1/gotoxy::y#2, main::@2/0 )
  [61] if(gotoxy::y#4<$19+1) goto gotoxy::@3
  to:gotoxy::@1
gotoxy::@3: scope:[gotoxy]  from gotoxy
  [62] phi()
  to:gotoxy::@1
gotoxy::@1: scope:[gotoxy]  from gotoxy gotoxy::@3
  [63] gotoxy::y#5 = phi( gotoxy::@3/gotoxy::y#4, gotoxy/0 )
  to:gotoxy::@2
gotoxy::@2: scope:[gotoxy]  from gotoxy::@1
  [64] conio_cursor_x = 0
  [65] conio_cursor_y = gotoxy::y#5
  [66] gotoxy::$7 = (unsigned int)gotoxy::y#5
  [67] gotoxy::$8 = gotoxy::$7 << 2
  [68] gotoxy::$9 = gotoxy::$8 + gotoxy::$7
  [69] gotoxy::line_offset#0 = gotoxy::$9 << 3
  [70] gotoxy::$5 = DEFAULT_SCREEN + gotoxy::line_offset#0
  [71] conio_line_text = gotoxy::$5
  [72] gotoxy::$6 = COLORRAM + gotoxy::line_offset#0
  [73] conio_line_color = gotoxy::$6
  to:gotoxy::@return
gotoxy::@return: scope:[gotoxy]  from gotoxy::@2
  [74] return 
  to:@return

void cputln()
cputln: scope:[cputln]  from cputc::@1 cputc::@3
  [75] conio_line_text = conio_line_text + $28
  [76] conio_line_color = conio_line_color + $28
  [77] conio_cursor_x = 0
  [78] conio_cursor_y = ++ conio_cursor_y
  [79] call cscroll
  to:cputln::@return
cputln::@return: scope:[cputln]  from cputln
  [80] return 
  to:@return

void * memset(void *str , char c , unsigned int num)
memset: scope:[memset]  from cscroll::@3 cscroll::@4 main
  [81] memset::c#5 = phi( cscroll::@3/' ', cscroll::@4/LIGHT_BLUE, main/' ' )
  [81] memset::str#4 = phi( cscroll::@3/(void *)DEFAULT_SCREEN+(unsigned int)$19*$28-$28, cscroll::@4/(void *)COLORRAM+(unsigned int)$19*$28-$28, main/(void *)SCREEN )
  [81] memset::num#3 = phi( cscroll::@3/$28, cscroll::@4/$28, main/$3e8 )
  [82] if(memset::num#3<=0) goto memset::@return
  to:memset::@1
memset::@1: scope:[memset]  from memset
  [83] memset::end#0 = (char *)memset::str#4 + memset::num#3
  [84] memset::dst#4 = (char *)memset::str#4
  to:memset::@2
memset::@2: scope:[memset]  from memset::@1 memset::@3
  [85] memset::dst#2 = phi( memset::@1/memset::dst#4, memset::@3/memset::dst#1 )
  [86] if(memset::dst#2!=memset::end#0) goto memset::@3
  to:memset::@return
memset::@return: scope:[memset]  from memset memset::@2
  [87] return 
  to:@return
memset::@3: scope:[memset]  from memset::@2
  [88] *memset::dst#2 = memset::c#5
  [89] memset::dst#1 = ++ memset::dst#2
  to:memset::@2

void printf_uint(void (*putc)(char) , unsigned int uvalue , char format_min_length , char format_justify_left , char format_sign_always , char format_zero_padding , char format_upper_case , char format_radix)
printf_uint: scope:[printf_uint]  from main::@8
  [90] phi()
  to:printf_uint::@1
printf_uint::@1: scope:[printf_uint]  from printf_uint
  [91] *((char *)&printf_buffer) = 0
  [92] utoa::value#1 = printf_uint::uvalue#0
  [93] call utoa
  to:printf_uint::@2
printf_uint::@2: scope:[printf_uint]  from printf_uint::@1
  [94] printf_number_buffer::buffer_sign#0 = *((char *)&printf_buffer)
  [95] call printf_number_buffer
  to:printf_uint::@return
printf_uint::@return: scope:[printf_uint]  from printf_uint::@2
  [96] return 
  to:@return

void printf_str(void (*putc)(char) , const char *s)
printf_str: scope:[printf_str]  from main::@9 printf_number_buffer::@2
  [97] printf_str::putc#4 = phi( main::@9/&cputc, printf_number_buffer::@2/printf_uint::putc#0 )
  [97] printf_str::s#4 = phi( main::@9/main::s, printf_number_buffer::@2/printf_number_buffer::buffer_digits#0 )
  to:printf_str::@1
printf_str::@1: scope:[printf_str]  from printf_str printf_str::@2
  [98] printf_str::s#3 = phi( printf_str/printf_str::s#4, printf_str::@2/printf_str::s#0 )
  [99] printf_str::c#1 = *printf_str::s#3
  [100] printf_str::s#0 = ++ printf_str::s#3
  [101] if(0!=printf_str::c#1) goto printf_str::@2
  to:printf_str::@return
printf_str::@return: scope:[printf_str]  from printf_str::@1
  [102] return 
  to:@return
printf_str::@2: scope:[printf_str]  from printf_str::@1
  [103] stackpush(char) = printf_str::c#1
  [104] callexecute *printf_str::putc#4 
  sideeffect stackpullbytes(1)
  to:printf_str::@1

int mul8s(signed char a , signed char b)
mul8s: scope:[mul8s]  from main::@10 main::@4
  [106] mul8s::b#2 = phi( main::@10/mul8s::b#1, main::@4/mul8s::b#0 )
  [106] mul8s::a#2 = phi( main::@10/mul8s::a#1, main::@4/mul8s::a#0 )
  [107] mul8u::a#1 = (char)mul8s::a#2
  [108] mul8u::b#0 = (char)mul8s::b#2
  [109] call mul8u
  [110] mul8u::return#2 = mul8u::res#2
  to:mul8s::@5
mul8s::@5: scope:[mul8s]  from mul8s
  [111] mul8s::m#0 = mul8u::return#2
  [112] if(mul8s::a#2>=0) goto mul8s::@1
  to:mul8s::@3
mul8s::@3: scope:[mul8s]  from mul8s::@5
  [113] mul8s::$6 = byte1  mul8s::m#0
  [114] mul8s::$11 = mul8s::$6 - (char)mul8s::b#2
  [115] mul8s::m#1 = mul8s::m#0 byte1= mul8s::$11
  to:mul8s::@1
mul8s::@1: scope:[mul8s]  from mul8s::@3 mul8s::@5
  [116] mul8s::m#5 = phi( mul8s::@3/mul8s::m#1, mul8s::@5/mul8s::m#0 )
  [117] if(mul8s::b#2>=0) goto mul8s::@2
  to:mul8s::@4
mul8s::@4: scope:[mul8s]  from mul8s::@1
  [118] mul8s::$9 = byte1  mul8s::m#5
  [119] mul8s::$12 = mul8s::$9 - (char)mul8s::a#2
  [120] mul8s::m#2 = mul8s::m#5 byte1= mul8s::$12
  to:mul8s::@2
mul8s::@2: scope:[mul8s]  from mul8s::@1 mul8s::@4
  [121] mul8s::m#4 = phi( mul8s::@1/mul8s::m#5, mul8s::@4/mul8s::m#2 )
  to:mul8s::@return
mul8s::@return: scope:[mul8s]  from mul8s::@2
  [122] return 
  to:@return

void cscroll()
cscroll: scope:[cscroll]  from cputln
  [123] if(conio_cursor_y!=$19) goto cscroll::@return
  to:cscroll::@1
cscroll::@1: scope:[cscroll]  from cscroll
  [124] phi()
  [125] call memcpy
  to:cscroll::@2
cscroll::@2: scope:[cscroll]  from cscroll::@1
  [126] phi()
  [127] call memcpy
  to:cscroll::@3
cscroll::@3: scope:[cscroll]  from cscroll::@2
  [128] phi()
  [129] call memset
  to:cscroll::@4
cscroll::@4: scope:[cscroll]  from cscroll::@3
  [130] phi()
  [131] call memset
  to:cscroll::@5
cscroll::@5: scope:[cscroll]  from cscroll::@4
  [132] conio_line_text = conio_line_text - $28
  [133] conio_line_color = conio_line_color - $28
  [134] conio_cursor_y = -- conio_cursor_y
  to:cscroll::@return
cscroll::@return: scope:[cscroll]  from cscroll cscroll::@5
  [135] return 
  to:@return

void utoa(unsigned int value , char *buffer , char radix)
utoa: scope:[utoa]  from printf_uint::@1
  [136] phi()
  to:utoa::@1
utoa::@1: scope:[utoa]  from utoa utoa::@4
  [137] utoa::buffer#11 = phi( utoa::@4/utoa::buffer#14, utoa/(char *)&printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS )
  [137] utoa::started#2 = phi( utoa::@4/utoa::started#4, utoa/0 )
  [137] utoa::value#2 = phi( utoa::@4/utoa::value#6, utoa/utoa::value#1 )
  [137] utoa::digit#2 = phi( utoa::@4/utoa::digit#1, utoa/0 )
  [138] if(utoa::digit#2<utoa::max_digits#1-1) goto utoa::@2
  to:utoa::@3
utoa::@3: scope:[utoa]  from utoa::@1
  [139] utoa::$11 = (char)utoa::value#2
  [140] *utoa::buffer#11 = DIGITS[utoa::$11]
  [141] utoa::buffer#3 = ++ utoa::buffer#11
  [142] *utoa::buffer#3 = 0
  to:utoa::@return
utoa::@return: scope:[utoa]  from utoa::@3
  [143] return 
  to:@return
utoa::@2: scope:[utoa]  from utoa::@1
  [144] utoa::$10 = utoa::digit#2 << 1
  [145] utoa::digit_value#0 = RADIX_DECIMAL_VALUES[utoa::$10]
  [146] if(0!=utoa::started#2) goto utoa::@5
  to:utoa::@7
utoa::@7: scope:[utoa]  from utoa::@2
  [147] if(utoa::value#2>=utoa::digit_value#0) goto utoa::@5
  to:utoa::@4
utoa::@4: scope:[utoa]  from utoa::@6 utoa::@7
  [148] utoa::buffer#14 = phi( utoa::@7/utoa::buffer#11, utoa::@6/utoa::buffer#4 )
  [148] utoa::started#4 = phi( utoa::@7/utoa::started#2, utoa::@6/1 )
  [148] utoa::value#6 = phi( utoa::@7/utoa::value#2, utoa::@6/utoa::value#0 )
  [149] utoa::digit#1 = ++ utoa::digit#2
  to:utoa::@1
utoa::@5: scope:[utoa]  from utoa::@2 utoa::@7
  [150] utoa_append::buffer#0 = utoa::buffer#11
  [151] utoa_append::value#0 = utoa::value#2
  [152] utoa_append::sub#0 = utoa::digit_value#0
  [153] call utoa_append
  [154] utoa_append::return#0 = utoa_append::value#2
  to:utoa::@6
utoa::@6: scope:[utoa]  from utoa::@5
  [155] utoa::value#0 = utoa_append::return#0
  [156] utoa::buffer#4 = ++ utoa::buffer#11
  to:utoa::@4

void printf_number_buffer(void (*putc)(char) , char buffer_sign , char *buffer_digits , char format_min_length , char format_justify_left , char format_sign_always , char format_zero_padding , char format_upper_case , char format_radix)
printf_number_buffer: scope:[printf_number_buffer]  from printf_uint::@2
  [157] phi()
  to:printf_number_buffer::@1
printf_number_buffer::@1: scope:[printf_number_buffer]  from printf_number_buffer
  [158] if(0==printf_number_buffer::buffer_sign#0) goto printf_number_buffer::@2
  to:printf_number_buffer::@3
printf_number_buffer::@3: scope:[printf_number_buffer]  from printf_number_buffer::@1
  [159] stackpush(char) = printf_number_buffer::buffer_sign#0
  [160] callexecute cputc 
  sideeffect stackpullbytes(1)
  to:printf_number_buffer::@2
printf_number_buffer::@2: scope:[printf_number_buffer]  from printf_number_buffer::@1 printf_number_buffer::@3
  [162] phi()
  [163] call printf_str
  to:printf_number_buffer::@return
printf_number_buffer::@return: scope:[printf_number_buffer]  from printf_number_buffer::@2
  [164] return 
  to:@return

unsigned int mul8u(char a , char b)
mul8u: scope:[mul8u]  from mul8s
  [165] mul8u::mb#0 = (unsigned int)mul8u::b#0
  to:mul8u::@1
mul8u::@1: scope:[mul8u]  from mul8u mul8u::@3
  [166] mul8u::mb#2 = phi( mul8u/mul8u::mb#0, mul8u::@3/mul8u::mb#1 )
  [166] mul8u::res#2 = phi( mul8u/0, mul8u::@3/mul8u::res#6 )
  [166] mul8u::a#2 = phi( mul8u/mul8u::a#1, mul8u::@3/mul8u::a#0 )
  [167] if(mul8u::a#2!=0) goto mul8u::@2
  to:mul8u::@return
mul8u::@return: scope:[mul8u]  from mul8u::@1
  [168] return 
  to:@return
mul8u::@2: scope:[mul8u]  from mul8u::@1
  [169] mul8u::$1 = mul8u::a#2 & 1
  [170] if(mul8u::$1==0) goto mul8u::@3
  to:mul8u::@4
mul8u::@4: scope:[mul8u]  from mul8u::@2
  [171] mul8u::res#1 = mul8u::res#2 + mul8u::mb#2
  to:mul8u::@3
mul8u::@3: scope:[mul8u]  from mul8u::@2 mul8u::@4
  [172] mul8u::res#6 = phi( mul8u::@2/mul8u::res#2, mul8u::@4/mul8u::res#1 )
  [173] mul8u::a#0 = mul8u::a#2 >> 1
  [174] mul8u::mb#1 = mul8u::mb#2 << 1
  to:mul8u::@1

void * memcpy(void *destination , void *source , unsigned int num)
memcpy: scope:[memcpy]  from cscroll::@1 cscroll::@2
  [175] memcpy::destination#2 = phi( cscroll::@1/(void *)DEFAULT_SCREEN, cscroll::@2/(void *)COLORRAM )
  [175] memcpy::source#2 = phi( cscroll::@1/(void *)DEFAULT_SCREEN+$28, cscroll::@2/(void *)COLORRAM+$28 )
  [176] memcpy::src_end#0 = (char *)memcpy::source#2 + (unsigned int)$19*$28-$28
  [177] memcpy::src#4 = (char *)memcpy::source#2
  [178] memcpy::dst#4 = (char *)memcpy::destination#2
  to:memcpy::@1
memcpy::@1: scope:[memcpy]  from memcpy memcpy::@2
  [179] memcpy::dst#2 = phi( memcpy/memcpy::dst#4, memcpy::@2/memcpy::dst#1 )
  [179] memcpy::src#2 = phi( memcpy/memcpy::src#4, memcpy::@2/memcpy::src#1 )
  [180] if(memcpy::src#2!=memcpy::src_end#0) goto memcpy::@2
  to:memcpy::@return
memcpy::@return: scope:[memcpy]  from memcpy::@1
  [181] return 
  to:@return
memcpy::@2: scope:[memcpy]  from memcpy::@1
  [182] *memcpy::dst#2 = *memcpy::src#2
  [183] memcpy::dst#1 = ++ memcpy::dst#2
  [184] memcpy::src#1 = ++ memcpy::src#2
  to:memcpy::@1

unsigned int utoa_append(char *buffer , unsigned int value , unsigned int sub)
utoa_append: scope:[utoa_append]  from utoa::@5
  [185] phi()
  to:utoa_append::@1
utoa_append::@1: scope:[utoa_append]  from utoa_append utoa_append::@2
  [186] utoa_append::digit#2 = phi( utoa_append/0, utoa_append::@2/utoa_append::digit#1 )
  [186] utoa_append::value#2 = phi( utoa_append/utoa_append::value#0, utoa_append::@2/utoa_append::value#1 )
  [187] if(utoa_append::value#2>=utoa_append::sub#0) goto utoa_append::@2
  to:utoa_append::@3
utoa_append::@3: scope:[utoa_append]  from utoa_append::@1
  [188] *utoa_append::buffer#0 = DIGITS[utoa_append::digit#2]
  to:utoa_append::@return
utoa_append::@return: scope:[utoa_append]  from utoa_append::@3
  [189] return 
  to:@return
utoa_append::@2: scope:[utoa_append]  from utoa_append::@1
  [190] utoa_append::digit#1 = ++ utoa_append::digit#2
  [191] utoa_append::value#1 = utoa_append::value#2 - utoa_append::sub#0
  to:utoa_append::@1


VARIABLE REGISTER WEIGHTS
void __start()
void conio_c64_init()
char conio_c64_init::line
char conio_c64_init::line#0 // 11.0
char conio_c64_init::line#2 // 22.0
__loadstore char conio_cursor_x // 5773.423076923077
__loadstore char conio_cursor_y // 74421.11627906976
__loadstore char *conio_line_color // 65003.17647058824
__loadstore char *conio_line_text // 63145.94285714286
__stackcall void cputc(char c)
char cputc::c
char cputc::c#0 // 15001.5
void cputln()
void cscroll()
void gotoxy(char x , char y)
char *gotoxy::$5 // 202.0
char *gotoxy::$6 // 202.0
unsigned int gotoxy::$7 // 151.5
unsigned int gotoxy::$8 // 202.0
unsigned int gotoxy::$9 // 202.0
unsigned int gotoxy::line_offset
unsigned int gotoxy::line_offset#0 // 101.0
char gotoxy::x
char gotoxy::y
char gotoxy::y#2 // 22.0
char gotoxy::y#4 // 71.0
char gotoxy::y#5 // 67.33333333333333
void main()
int main::$10 // 2002.0
signed char main::$5 // 2002.0
signed char main::$7 // 2002.0
int main::$9 // 400.4
unsigned int main::count
unsigned int main::count#1 // 2002.0
unsigned int main::count#10 // 178.05555555555557
unsigned int main::count#11 // 53.25
unsigned int main::count#12 // 1001.0
int main::dist_sq
int main::dist_sq#0 // 2002.0
char *main::sc
char *main::sc#1 // 1001.0
char *main::sc#10 // 160.25
char *main::sc#8 // 101.0
signed char main::x
signed char main::x#1 // 2002.0
signed char main::x#2 // 200.2
signed char main::xd
signed char main::xd#0 // 750.75
signed char main::y
signed char main::y#1 // 202.0
signed char main::y#2 // 56.69565217391305
signed char main::yd
signed char main::yd#0 // 500.5
void * memcpy(void *destination , void *source , unsigned int num)
void *memcpy::destination
void *memcpy::destination#2
char *memcpy::dst
char *memcpy::dst#1 // 1.00000001E8
char *memcpy::dst#2 // 1.0333333466666667E8
char *memcpy::dst#4 // 2.0000002E7
unsigned int memcpy::num
void *memcpy::return
void *memcpy::source
void *memcpy::source#2
char *memcpy::src
char *memcpy::src#1 // 2.00000002E8
char *memcpy::src#2 // 1.0250000125E8
char *memcpy::src#4 // 1.0000001E7
char *memcpy::src_end
char *memcpy::src_end#0 // 1.375000025E7
void * memset(void *str , char c , unsigned int num)
char memset::c
char memset::c#5 // 1.2500000125E7
char *memset::dst
char *memset::dst#1 // 2.00000002E8
char *memset::dst#2 // 1.3666666833333334E8
char *memset::dst#4 // 2.0000002E7
char *memset::end
char *memset::end#0 // 1.8333333666666668E7
unsigned int memset::num
unsigned int memset::num#3 // 1.0000001E7
void *memset::return
void *memset::str
void *memset::str#4
int mul8s(signed char a , signed char b)
char mul8s::$11 // 20002.0
char mul8s::$12 // 20002.0
char mul8s::$6 // 20002.0
char mul8s::$9 // 20002.0
signed char mul8s::a
signed char mul8s::a#0 // 1001.0
signed char mul8s::a#1 // 1001.0
signed char mul8s::a#2 // 923.3076923076923
signed char mul8s::b
signed char mul8s::b#0 // 2002.0
signed char mul8s::b#1 // 2002.0
signed char mul8s::b#2 // 1091.181818181818
unsigned int mul8s::m
unsigned int mul8s::m#0 // 10001.0
unsigned int mul8s::m#1 // 20002.0
unsigned int mul8s::m#2 // 20002.0
unsigned int mul8s::m#4 // 5000.5
unsigned int mul8s::m#5 // 12501.25
int mul8s::return
unsigned int mul8u(char a , char b)
char mul8u::$1 // 2.00000002E8
char mul8u::a
char mul8u::a#0 // 1.00000001E8
char mul8u::a#1 // 36667.33333333333
char mul8u::a#2 // 6.668333416666667E7
char mul8u::b
char mul8u::b#0 // 10001.0
unsigned int mul8u::mb
unsigned int mul8u::mb#0 // 200002.0
unsigned int mul8u::mb#1 // 2.00000002E8
unsigned int mul8u::mb#2 // 4.287142914285715E7
unsigned int mul8u::res
unsigned int mul8u::res#1 // 2.00000002E8
unsigned int mul8u::res#2 // 5.0001667333333336E7
unsigned int mul8u::res#6 // 1.00000001E8
unsigned int mul8u::return
unsigned int mul8u::return#2 // 20002.0
__loadstore struct printf_buffer_number printf_buffer = {}
void printf_number_buffer(void (*putc)(char) , char buffer_sign , char *buffer_digits , char format_min_length , char format_justify_left , char format_sign_always , char format_zero_padding , char format_upper_case , char format_radix)
struct printf_buffer_number printf_number_buffer::buffer
char *printf_number_buffer::buffer_digits
char printf_number_buffer::buffer_sign
char printf_number_buffer::buffer_sign#0 // 701.0
struct printf_format_number printf_number_buffer::format
char printf_number_buffer::format_justify_left
char printf_number_buffer::format_min_length
char printf_number_buffer::format_radix
char printf_number_buffer::format_sign_always
char printf_number_buffer::format_upper_case
char printf_number_buffer::format_zero_padding
signed char printf_number_buffer::len
signed char printf_number_buffer::padding
void (*printf_number_buffer::putc)(char)
void printf_str(void (*putc)(char) , const char *s)
char printf_str::c
char printf_str::c#1 // 100001.0
void (*printf_str::putc)(char)
void (*printf_str::putc#4)(char)
const char *printf_str::s
const char *printf_str::s#0 // 100001.0
const char *printf_str::s#3 // 155002.0
const char *printf_str::s#4 // 10001.0
void printf_uint(void (*putc)(char) , unsigned int uvalue , char format_min_length , char format_justify_left , char format_sign_always , char format_zero_padding , char format_upper_case , char format_radix)
struct printf_format_number printf_uint::format
char printf_uint::format_justify_left
char printf_uint::format_min_length
char printf_uint::format_radix
char printf_uint::format_sign_always
char printf_uint::format_upper_case
char printf_uint::format_zero_padding
void (*printf_uint::putc)(char)
unsigned int printf_uint::uvalue
unsigned int printf_uint::uvalue#0 // 37.33333333333333
void utoa(unsigned int value , char *buffer , char radix)
char utoa::$10 // 20002.0
char utoa::$11 // 2002.0
char *utoa::buffer
char *utoa::buffer#11 // 3000.4285714285716
char *utoa::buffer#14 // 15001.5
char *utoa::buffer#3 // 2002.0
char *utoa::buffer#4 // 20002.0
char utoa::digit
char utoa::digit#1 // 20002.0
char utoa::digit#2 // 2857.4285714285716
unsigned int utoa::digit_value
unsigned int utoa::digit_value#0 // 6000.6
unsigned int *utoa::digit_values
char utoa::max_digits
char utoa::radix
char utoa::started
char utoa::started#2 // 5000.5
char utoa::started#4 // 10001.0
unsigned int utoa::value
unsigned int utoa::value#0 // 10001.0
unsigned int utoa::value#1 // 551.0
unsigned int utoa::value#2 // 5857.857142857143
unsigned int utoa::value#6 // 15001.5
unsigned int utoa_append(char *buffer , unsigned int value , unsigned int sub)
char *utoa_append::buffer
char *utoa_append::buffer#0 // 13750.25
char utoa_append::digit
char utoa_append::digit#1 // 1.0000001E7
char utoa_append::digit#2 // 1.00500015E7
unsigned int utoa_append::return
unsigned int utoa_append::return#0 // 20002.0
unsigned int utoa_append::sub
unsigned int utoa_append::sub#0 // 3335000.5
unsigned int utoa_append::value
unsigned int utoa_append::value#0 // 36667.33333333333
unsigned int utoa_append::value#1 // 2.0000002E7
unsigned int utoa_append::value#2 // 5018334.166666666

Initial phi equivalence classes
[ conio_c64_init::line#2 conio_c64_init::line#0 ]
[ main::y#2 main::y#1 ]
[ main::count#11 main::count#10 main::count#12 main::count#1 ]
[ main::sc#8 main::sc#10 main::sc#1 ]
[ main::x#2 main::x#1 ]
[ gotoxy::y#5 gotoxy::y#4 gotoxy::y#2 ]
[ memset::num#3 ]
[ memset::str#4 ]
[ memset::c#5 ]
[ memset::dst#2 memset::dst#4 memset::dst#1 ]
[ printf_str::putc#4 ]
[ printf_str::s#3 printf_str::s#4 printf_str::s#0 ]
[ mul8s::a#2 mul8s::a#1 mul8s::a#0 ]
[ mul8s::b#2 mul8s::b#1 mul8s::b#0 ]
[ mul8s::m#4 mul8s::m#5 mul8s::m#1 mul8s::m#0 mul8s::m#2 ]
[ utoa::digit#2 utoa::digit#1 ]
[ utoa::value#2 utoa::value#6 utoa::value#1 utoa::value#0 ]
[ utoa::started#2 utoa::started#4 ]
[ utoa::buffer#11 utoa::buffer#14 utoa::buffer#4 ]
[ mul8u::a#2 mul8u::a#1 mul8u::a#0 ]
[ mul8u::res#2 mul8u::res#6 mul8u::res#1 ]
[ mul8u::mb#2 mul8u::mb#0 mul8u::mb#1 ]
[ memcpy::source#2 ]
[ memcpy::destination#2 ]
[ memcpy::src#2 memcpy::src#4 memcpy::src#1 ]
[ memcpy::dst#2 memcpy::dst#4 memcpy::dst#1 ]
[ utoa_append::value#2 utoa_append::value#0 utoa_append::value#1 ]
[ utoa_append::digit#2 utoa_append::digit#1 ]
Added variable conio_cursor_x to live range equivalence class [ conio_cursor_x ]
Added variable conio_cursor_y to live range equivalence class [ conio_cursor_y ]
Added variable conio_line_text to live range equivalence class [ conio_line_text ]
Added variable conio_line_color to live range equivalence class [ conio_line_color ]
Added variable cputc::c#0 to live range equivalence class [ cputc::c#0 ]
Added variable printf_uint::uvalue#0 to live range equivalence class [ printf_uint::uvalue#0 ]
Added variable main::$5 to live range equivalence class [ main::$5 ]
Added variable main::xd#0 to live range equivalence class [ main::xd#0 ]
Added variable main::$7 to live range equivalence class [ main::$7 ]
Added variable main::yd#0 to live range equivalence class [ main::yd#0 ]
Added variable main::$9 to live range equivalence class [ main::$9 ]
Added variable main::$10 to live range equivalence class [ main::$10 ]
Added variable main::dist_sq#0 to live range equivalence class [ main::dist_sq#0 ]
Added variable gotoxy::$7 to live range equivalence class [ gotoxy::$7 ]
Added variable gotoxy::$8 to live range equivalence class [ gotoxy::$8 ]
Added variable gotoxy::$9 to live range equivalence class [ gotoxy::$9 ]
Added variable gotoxy::line_offset#0 to live range equivalence class [ gotoxy::line_offset#0 ]
Added variable gotoxy::$5 to live range equivalence class [ gotoxy::$5 ]
Added variable gotoxy::$6 to live range equivalence class [ gotoxy::$6 ]
Added variable memset::end#0 to live range equivalence class [ memset::end#0 ]
Added variable printf_number_buffer::buffer_sign#0 to live range equivalence class [ printf_number_buffer::buffer_sign#0 ]
Added variable printf_str::c#1 to live range equivalence class [ printf_str::c#1 ]
Added variable mul8u::b#0 to live range equivalence class [ mul8u::b#0 ]
Added variable mul8u::return#2 to live range equivalence class [ mul8u::return#2 ]
Added variable mul8s::$6 to live range equivalence class [ mul8s::$6 ]
Added variable mul8s::$11 to live range equivalence class [ mul8s::$11 ]
Added variable mul8s::$9 to live range equivalence class [ mul8s::$9 ]
Added variable mul8s::$12 to live range equivalence class [ mul8s::$12 ]
Added variable utoa::$11 to live range equivalence class [ utoa::$11 ]
Added variable utoa::buffer#3 to live range equivalence class [ utoa::buffer#3 ]
Added variable utoa::$10 to live range equivalence class [ utoa::$10 ]
Added variable utoa::digit_value#0 to live range equivalence class [ utoa::digit_value#0 ]
Added variable utoa_append::buffer#0 to live range equivalence class [ utoa_append::buffer#0 ]
Added variable utoa_append::sub#0 to live range equivalence class [ utoa_append::sub#0 ]
Added variable utoa_append::return#0 to live range equivalence class [ utoa_append::return#0 ]
Added variable mul8u::$1 to live range equivalence class [ mul8u::$1 ]
Added variable memcpy::src_end#0 to live range equivalence class [ memcpy::src_end#0 ]
Added variable printf_buffer to live range equivalence class [ printf_buffer ]
Complete equivalence classes
[ conio_c64_init::line#2 conio_c64_init::line#0 ]
[ main::y#2 main::y#1 ]
[ main::count#11 main::count#10 main::count#12 main::count#1 ]
[ main::sc#8 main::sc#10 main::sc#1 ]
[ main::x#2 main::x#1 ]
[ gotoxy::y#5 gotoxy::y#4 gotoxy::y#2 ]
[ memset::num#3 ]
[ memset::str#4 ]
[ memset::c#5 ]
[ memset::dst#2 memset::dst#4 memset::dst#1 ]
[ printf_str::putc#4 ]
[ printf_str::s#3 printf_str::s#4 printf_str::s#0 ]
[ mul8s::a#2 mul8s::a#1 mul8s::a#0 ]
[ mul8s::b#2 mul8s::b#1 mul8s::b#0 ]
[ mul8s::m#4 mul8s::m#5 mul8s::m#1 mul8s::m#0 mul8s::m#2 ]
[ utoa::digit#2 utoa::digit#1 ]
[ utoa::value#2 utoa::value#6 utoa::value#1 utoa::value#0 ]
[ utoa::started#2 utoa::started#4 ]
[ utoa::buffer#11 utoa::buffer#14 utoa::buffer#4 ]
[ mul8u::a#2 mul8u::a#1 mul8u::a#0 ]
[ mul8u::res#2 mul8u::res#6 mul8u::res#1 ]
[ mul8u::mb#2 mul8u::mb#0 mul8u::mb#1 ]
[ memcpy::source#2 ]
[ memcpy::destination#2 ]
[ memcpy::src#2 memcpy::src#4 memcpy::src#1 ]
[ memcpy::dst#2 memcpy::dst#4 memcpy::dst#1 ]
[ utoa_append::value#2 utoa_append::value#0 utoa_append::value#1 ]
[ utoa_append::digit#2 utoa_append::digit#1 ]
[ conio_cursor_x ]
[ conio_cursor_y ]
[ conio_line_text ]
[ conio_line_color ]
[ cputc::c#0 ]
[ printf_uint::uvalue#0 ]
[ main::$5 ]
[ main::xd#0 ]
[ main::$7 ]
[ main::yd#0 ]
[ main::$9 ]
[ main::$10 ]
[ main::dist_sq#0 ]
[ gotoxy::$7 ]
[ gotoxy::$8 ]
[ gotoxy::$9 ]
[ gotoxy::line_offset#0 ]
[ gotoxy::$5 ]
[ gotoxy::$6 ]
[ memset::end#0 ]
[ printf_number_buffer::buffer_sign#0 ]
[ printf_str::c#1 ]
[ mul8u::b#0 ]
[ mul8u::return#2 ]
[ mul8s::$6 ]
[ mul8s::$11 ]
[ mul8s::$9 ]
[ mul8s::$12 ]
[ utoa::$11 ]
[ utoa::buffer#3 ]
[ utoa::$10 ]
[ utoa::digit_value#0 ]
[ utoa_append::buffer#0 ]
[ utoa_append::sub#0 ]
[ utoa_append::return#0 ]
[ mul8u::$1 ]
[ memcpy::src_end#0 ]
[ printf_buffer ]
Allocated zp[1]:2 [ conio_c64_init::line#2 conio_c64_init::line#0 ]
Allocated zp[1]:3 [ main::y#2 main::y#1 ]
Allocated zp[2]:4 [ main::count#11 main::count#10 main::count#12 main::count#1 ]
Allocated zp[2]:6 [ main::sc#8 main::sc#10 main::sc#1 ]
Allocated zp[1]:8 [ main::x#2 main::x#1 ]
Allocated zp[1]:9 [ gotoxy::y#5 gotoxy::y#4 gotoxy::y#2 ]
Allocated zp[2]:10 [ memset::num#3 ]
Allocated zp[2]:12 [ memset::str#4 ]
Allocated zp[1]:14 [ memset::c#5 ]
Allocated zp[2]:15 [ memset::dst#2 memset::dst#4 memset::dst#1 ]
Allocated zp[2]:17 [ printf_str::putc#4 ]
Allocated zp[2]:19 [ printf_str::s#3 printf_str::s#4 printf_str::s#0 ]
Allocated zp[1]:21 [ mul8s::a#2 mul8s::a#1 mul8s::a#0 ]
Allocated zp[1]:22 [ mul8s::b#2 mul8s::b#1 mul8s::b#0 ]
Allocated zp[2]:23 [ mul8s::m#4 mul8s::m#5 mul8s::m#1 mul8s::m#0 mul8s::m#2 ]
Allocated zp[1]:25 [ utoa::digit#2 utoa::digit#1 ]
Allocated zp[2]:26 [ utoa::value#2 utoa::value#6 utoa::value#1 utoa::value#0 ]
Allocated zp[1]:28 [ utoa::started#2 utoa::started#4 ]
Allocated zp[2]:29 [ utoa::buffer#11 utoa::buffer#14 utoa::buffer#4 ]
Allocated zp[1]:31 [ mul8u::a#2 mul8u::a#1 mul8u::a#0 ]
Allocated zp[2]:32 [ mul8u::res#2 mul8u::res#6 mul8u::res#1 ]
Allocated zp[2]:34 [ mul8u::mb#2 mul8u::mb#0 mul8u::mb#1 ]
Allocated zp[2]:36 [ memcpy::source#2 ]
Allocated zp[2]:38 [ memcpy::destination#2 ]
Allocated zp[2]:40 [ memcpy::src#2 memcpy::src#4 memcpy::src#1 ]
Allocated zp[2]:42 [ memcpy::dst#2 memcpy::dst#4 memcpy::dst#1 ]
Allocated zp[2]:44 [ utoa_append::value#2 utoa_append::value#0 utoa_append::value#1 ]
Allocated zp[1]:46 [ utoa_append::digit#2 utoa_append::digit#1 ]
Allocated zp[1]:47 [ conio_cursor_x ]
Allocated zp[1]:48 [ conio_cursor_y ]
Allocated zp[2]:49 [ conio_line_text ]
Allocated zp[2]:51 [ conio_line_color ]
Allocated zp[1]:53 [ cputc::c#0 ]
Allocated zp[2]:54 [ printf_uint::uvalue#0 ]
Allocated zp[1]:56 [ main::$5 ]
Allocated zp[1]:57 [ main::xd#0 ]
Allocated zp[1]:58 [ main::$7 ]
Allocated zp[1]:59 [ main::yd#0 ]
Allocated zp[2]:60 [ main::$9 ]
Allocated zp[2]:62 [ main::$10 ]
Allocated zp[2]:64 [ main::dist_sq#0 ]
Allocated zp[2]:66 [ gotoxy::$7 ]
Allocated zp[2]:68 [ gotoxy::$8 ]
Allocated zp[2]:70 [ gotoxy::$9 ]
Allocated zp[2]:72 [ gotoxy::line_offset#0 ]
Allocated zp[2]:74 [ gotoxy::$5 ]
Allocated zp[2]:76 [ gotoxy::$6 ]
Allocated zp[2]:78 [ memset::end#0 ]
Allocated zp[1]:80 [ printf_number_buffer::buffer_sign#0 ]
Allocated zp[1]:81 [ printf_str::c#1 ]
Allocated zp[1]:82 [ mul8u::b#0 ]
Allocated zp[2]:83 [ mul8u::return#2 ]
Allocated zp[1]:85 [ mul8s::$6 ]
Allocated zp[1]:86 [ mul8s::$11 ]
Allocated zp[1]:87 [ mul8s::$9 ]
Allocated zp[1]:88 [ mul8s::$12 ]
Allocated zp[1]:89 [ utoa::$11 ]
Allocated zp[2]:90 [ utoa::buffer#3 ]
Allocated zp[1]:92 [ utoa::$10 ]
Allocated zp[2]:93 [ utoa::digit_value#0 ]
Allocated zp[2]:95 [ utoa_append::buffer#0 ]
Allocated zp[2]:97 [ utoa_append::sub#0 ]
Allocated zp[2]:99 [ utoa_append::return#0 ]
Allocated zp[1]:101 [ mul8u::$1 ]
Allocated zp[2]:102 [ memcpy::src_end#0 ]
Allocated mem[12] [ printf_buffer ]
REGISTER UPLIFT POTENTIAL REGISTERS
Statement [1] conio_cursor_x = 0 [ printf_buffer ] (  [ printf_buffer ] { }  ) always clobbers reg byte a 
Statement [2] conio_cursor_y = 0 [ printf_buffer ] (  [ printf_buffer ] { }  ) always clobbers reg byte a 
Statement [3] conio_line_text = DEFAULT_SCREEN [ printf_buffer ] (  [ printf_buffer ] { }  ) always clobbers reg byte a 
Statement [4] conio_line_color = COLORRAM [ printf_buffer ] (  [ printf_buffer ] { }  ) always clobbers reg byte a 
Statement [16] cputc::c#0 = stackidx(char,cputc::OFFSET_STACK_C) [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color cputc::c#0 ] (  [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color cputc::c#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color cputc::c#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a reg byte x 
Statement [18] conio_line_text[conio_cursor_x] = cputc::c#0 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] (  [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte y 
Statement [19] conio_line_color[conio_cursor_x] = LIGHT_BLUE [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] (  [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a reg byte y 
Statement [21] if(conio_cursor_x!=$28) goto cputc::@return [ conio_cursor_y conio_line_text conio_line_color ] (  [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [30] if(main::y#2<$19) goto main::@3 [ main::y#2 main::count#11 main::sc#8 printf_buffer ] ( main:7 [ main::y#2 main::count#11 main::sc#8 printf_buffer ] { }  ) always clobbers reg byte a 
Removing always clobbered register reg byte a as potential for zp[1]:3 [ main::y#2 main::y#1 ]
Statement [33] printf_uint::uvalue#0 = main::count#11 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_uint::uvalue#0 printf_buffer ] ( main:7 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_uint::uvalue#0 printf_buffer ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [39] if(main::x#2<$28) goto main::@4 [ main::y#2 main::count#10 main::sc#10 main::x#2 printf_buffer ] ( main:7 [ main::y#2 main::count#10 main::sc#10 main::x#2 printf_buffer ] { }  ) always clobbers reg byte a 
Removing always clobbered register reg byte a as potential for zp[1]:8 [ main::x#2 main::x#1 ]
Statement [41] main::$5 = main::x#2 << 1 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$5 printf_buffer ] ( main:7 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$5 printf_buffer ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } }  ) always clobbers reg byte a 
Statement [43] main::$7 = main::y#2 << 1 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::xd#0 main::$7 printf_buffer ] ( main:7 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::xd#0 main::$7 printf_buffer ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } }  ) always clobbers reg byte a 
Removing always clobbered register reg byte a as potential for zp[1]:57 [ main::xd#0 ]
Statement [48] main::$9 = (int)mul8s::m#4 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 main::$9 printf_buffer ] ( main:7 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 main::$9 printf_buffer ] { { mul8s::b#1 = mul8s::b#2 mul8s::a#2 mul8s::a#1 main::yd#0 } }  ) always clobbers reg byte a 
Removing always clobbered register reg byte a as potential for zp[1]:59 [ main::yd#0 ]
Statement [52] main::$10 = (int)mul8s::m#4 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 main::$10 printf_buffer ] ( main:7 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 main::$10 printf_buffer ] { }  ) always clobbers reg byte a 
Statement [53] main::dist_sq#0 = main::$9 + main::$10 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::dist_sq#0 printf_buffer ] ( main:7 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::dist_sq#0 printf_buffer ] { }  ) always clobbers reg byte a 
Statement [54] if(main::dist_sq#0>=(int)2*9*2*9) goto main::@6 [ main::y#2 main::count#10 main::sc#10 main::x#2 printf_buffer ] ( main:7 [ main::y#2 main::count#10 main::sc#10 main::x#2 printf_buffer ] { }  ) always clobbers reg byte a 
Statement [55] *main::sc#10 = '*' [ main::y#2 main::count#10 main::sc#10 main::x#2 printf_buffer ] ( main:7 [ main::y#2 main::count#10 main::sc#10 main::x#2 printf_buffer ] { }  ) always clobbers reg byte a reg byte y 
Removing always clobbered register reg byte y as potential for zp[1]:3 [ main::y#2 main::y#1 ]
Removing always clobbered register reg byte y as potential for zp[1]:8 [ main::x#2 main::x#1 ]
Statement [64] conio_cursor_x = 0 [ conio_cursor_x gotoxy::y#5 ] ( gotoxy:14 [ conio_cursor_x gotoxy::y#5 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x gotoxy::y#5 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x gotoxy::y#5 ] { }  ) always clobbers reg byte a 
Removing always clobbered register reg byte a as potential for zp[1]:9 [ gotoxy::y#5 gotoxy::y#4 gotoxy::y#2 ]
Statement [66] gotoxy::$7 = (unsigned int)gotoxy::y#5 [ conio_cursor_x conio_cursor_y gotoxy::$7 ] ( gotoxy:14 [ conio_cursor_x conio_cursor_y gotoxy::$7 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x conio_cursor_y gotoxy::$7 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x conio_cursor_y gotoxy::$7 ] { }  ) always clobbers reg byte a 
Statement [67] gotoxy::$8 = gotoxy::$7 << 2 [ conio_cursor_x conio_cursor_y gotoxy::$7 gotoxy::$8 ] ( gotoxy:14 [ conio_cursor_x conio_cursor_y gotoxy::$7 gotoxy::$8 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x conio_cursor_y gotoxy::$7 gotoxy::$8 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x conio_cursor_y gotoxy::$7 gotoxy::$8 ] { }  ) always clobbers reg byte a 
Statement [68] gotoxy::$9 = gotoxy::$8 + gotoxy::$7 [ conio_cursor_x conio_cursor_y gotoxy::$9 ] ( gotoxy:14 [ conio_cursor_x conio_cursor_y gotoxy::$9 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x conio_cursor_y gotoxy::$9 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x conio_cursor_y gotoxy::$9 ] { }  ) always clobbers reg byte a 
Statement [69] gotoxy::line_offset#0 = gotoxy::$9 << 3 [ conio_cursor_x conio_cursor_y gotoxy::line_offset#0 ] ( gotoxy:14 [ conio_cursor_x conio_cursor_y gotoxy::line_offset#0 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x conio_cursor_y gotoxy::line_offset#0 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x conio_cursor_y gotoxy::line_offset#0 ] { }  ) always clobbers reg byte a 
Statement [70] gotoxy::$5 = DEFAULT_SCREEN + gotoxy::line_offset#0 [ conio_cursor_x conio_cursor_y gotoxy::line_offset#0 gotoxy::$5 ] ( gotoxy:14 [ conio_cursor_x conio_cursor_y gotoxy::line_offset#0 gotoxy::$5 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x conio_cursor_y gotoxy::line_offset#0 gotoxy::$5 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x conio_cursor_y gotoxy::line_offset#0 gotoxy::$5 ] { }  ) always clobbers reg byte a 
Statement [71] conio_line_text = gotoxy::$5 [ conio_cursor_x conio_cursor_y conio_line_text gotoxy::line_offset#0 ] ( gotoxy:14 [ conio_cursor_x conio_cursor_y conio_line_text gotoxy::line_offset#0 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x conio_cursor_y conio_line_text gotoxy::line_offset#0 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x conio_cursor_y conio_line_text gotoxy::line_offset#0 ] { }  ) always clobbers reg byte a 
Statement [72] gotoxy::$6 = COLORRAM + gotoxy::line_offset#0 [ conio_cursor_x conio_cursor_y conio_line_text gotoxy::$6 ] ( gotoxy:14 [ conio_cursor_x conio_cursor_y conio_line_text gotoxy::$6 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x conio_cursor_y conio_line_text gotoxy::$6 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x conio_cursor_y conio_line_text gotoxy::$6 ] { }  ) always clobbers reg byte a 
Statement [73] conio_line_color = gotoxy::$6 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] ( gotoxy:14 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] { }  ) always clobbers reg byte a 
Statement [75] conio_line_text = conio_line_text + $28 [ conio_cursor_y conio_line_text conio_line_color ] ( cputln:23 [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26 [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [76] conio_line_color = conio_line_color + $28 [ conio_cursor_y conio_line_text conio_line_color ] ( cputln:23 [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26 [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [77] conio_cursor_x = 0 [ conio_cursor_y conio_line_text conio_line_color ] ( cputln:23 [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26 [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [82] if(memset::num#3<=0) goto memset::@return [ memset::num#3 memset::str#4 memset::c#5 ] ( main:7::memset:28 [ printf_buffer memset::num#3 memset::str#4 memset::c#5 ] { }  cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::num#3 memset::str#4 memset::c#5 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::num#3 memset::str#4 memset::c#5 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::num#3 memset::str#4 memset::c#5 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::num#3 memset::str#4 memset::c#5 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::num#3 memset::str#4 memset::c#5 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::num#3 memset::str#4 memset::c#5 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::num#3 memset::str#4 memset::c#5 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::num#3 memset::str#4 memset::c#5 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Removing always clobbered register reg byte a as potential for zp[1]:14 [ memset::c#5 ]
Statement [83] memset::end#0 = (char *)memset::str#4 + memset::num#3 [ memset::str#4 memset::c#5 memset::end#0 ] ( main:7::memset:28 [ printf_buffer memset::str#4 memset::c#5 memset::end#0 ] { }  cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::str#4 memset::c#5 memset::end#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::str#4 memset::c#5 memset::end#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::str#4 memset::c#5 memset::end#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::str#4 memset::c#5 memset::end#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::str#4 memset::c#5 memset::end#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::str#4 memset::c#5 memset::end#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::str#4 memset::c#5 memset::end#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::str#4 memset::c#5 memset::end#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [84] memset::dst#4 = (char *)memset::str#4 [ memset::c#5 memset::end#0 memset::dst#4 ] ( main:7::memset:28 [ printf_buffer memset::c#5 memset::end#0 memset::dst#4 ] { }  cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [86] if(memset::dst#2!=memset::end#0) goto memset::@3 [ memset::c#5 memset::end#0 memset::dst#2 ] ( main:7::memset:28 [ printf_buffer memset::c#5 memset::end#0 memset::dst#2 ] { }  cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [88] *memset::dst#2 = memset::c#5 [ memset::c#5 memset::end#0 memset::dst#2 ] ( main:7::memset:28 [ printf_buffer memset::c#5 memset::end#0 memset::dst#2 ] { }  cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a reg byte y 
Removing always clobbered register reg byte y as potential for zp[1]:14 [ memset::c#5 ]
Statement [91] *((char *)&printf_buffer) = 0 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_uint::uvalue#0 printf_buffer ] ( main:7::printf_uint:34 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_uint::uvalue#0 printf_buffer ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a 
Statement [92] utoa::value#1 = printf_uint::uvalue#0 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::value#1 ] ( main:7::printf_uint:34 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::value#1 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a 
Statement [99] printf_str::c#1 = *printf_str::s#3 [ printf_str::s#3 printf_str::c#1 ] ( main:7::printf_str:36 [ printf_str::s#3 printf_str::c#1 ] { }  main:7::printf_uint:34::printf_number_buffer:95::printf_str:163 [ printf_str::s#3 printf_str::c#1 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a reg byte y 
Statement [104] callexecute *printf_str::putc#4  [ printf_str::s#0 ] ( main:7::printf_str:36 [ printf_str::s#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::printf_str:163 [ printf_str::s#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a reg byte x reg byte y 
Statement sideeffect stackpullbytes(1) always clobbers reg byte a 
Statement [110] mul8u::return#2 = mul8u::res#2 [ mul8s::a#2 mul8s::b#2 mul8u::return#2 ] ( main:7::mul8s:47 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 printf_buffer mul8s::a#2 mul8s::b#2 mul8u::return#2 ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } { mul8u::return#2 = mul8u::res#2 } }  main:7::mul8s:51 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 printf_buffer mul8s::a#2 mul8s::b#2 mul8u::return#2 ] { { mul8s::b#1 = mul8s::b#2 mul8s::a#2 mul8s::a#1 main::yd#0 } { mul8u::return#2 = mul8u::res#2 } }  ) always clobbers reg byte a 
Removing always clobbered register reg byte a as potential for zp[1]:21 [ mul8s::a#2 mul8s::a#1 mul8s::a#0 ]
Removing always clobbered register reg byte a as potential for zp[1]:22 [ mul8s::b#2 mul8s::b#1 mul8s::b#0 ]
Statement [111] mul8s::m#0 = mul8u::return#2 [ mul8s::a#2 mul8s::b#2 mul8s::m#0 ] ( main:7::mul8s:47 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 printf_buffer mul8s::a#2 mul8s::b#2 mul8s::m#0 ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } }  main:7::mul8s:51 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 printf_buffer mul8s::a#2 mul8s::b#2 mul8s::m#0 ] { { mul8s::b#1 = mul8s::b#2 mul8s::a#2 mul8s::a#1 main::yd#0 } }  ) always clobbers reg byte a 
Statement [114] mul8s::$11 = mul8s::$6 - (char)mul8s::b#2 [ mul8s::a#2 mul8s::b#2 mul8s::m#0 mul8s::$11 ] ( main:7::mul8s:47 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 printf_buffer mul8s::a#2 mul8s::b#2 mul8s::m#0 mul8s::$11 ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } }  main:7::mul8s:51 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 printf_buffer mul8s::a#2 mul8s::b#2 mul8s::m#0 mul8s::$11 ] { { mul8s::b#1 = mul8s::b#2 mul8s::a#2 mul8s::a#1 main::yd#0 } }  ) always clobbers reg byte a 
Statement [119] mul8s::$12 = mul8s::$9 - (char)mul8s::a#2 [ mul8s::m#5 mul8s::$12 ] ( main:7::mul8s:47 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 printf_buffer mul8s::m#5 mul8s::$12 ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } }  main:7::mul8s:51 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 printf_buffer mul8s::m#5 mul8s::$12 ] { { mul8s::b#1 = mul8s::b#2 mul8s::a#2 mul8s::a#1 main::yd#0 } }  ) always clobbers reg byte a 
Statement [123] if(conio_cursor_y!=$19) goto cscroll::@return [ conio_cursor_y conio_line_text conio_line_color ] ( cputln:23::cscroll:79 [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79 [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [132] conio_line_text = conio_line_text - $28 [ conio_cursor_y conio_line_color ] ( cputln:23::cscroll:79 [ conio_cursor_y conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79 [ conio_cursor_y conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79 [ conio_cursor_y conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79 [ conio_cursor_y conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [133] conio_line_color = conio_line_color - $28 [ conio_cursor_y ] ( cputln:23::cscroll:79 [ conio_cursor_y ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79 [ conio_cursor_y ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79 [ conio_cursor_y ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79 [ conio_cursor_y ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [140] *utoa::buffer#11 = DIGITS[utoa::$11] [ printf_buffer utoa::buffer#11 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::buffer#11 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a reg byte y 
Statement [141] utoa::buffer#3 = ++ utoa::buffer#11 [ printf_buffer utoa::buffer#3 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::buffer#3 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a 
Statement [142] *utoa::buffer#3 = 0 [ printf_buffer ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a reg byte y 
Statement [144] utoa::$10 = utoa::digit#2 << 1 [ printf_buffer utoa::digit#2 utoa::value#2 utoa::started#2 utoa::buffer#11 utoa::$10 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::value#2 utoa::started#2 utoa::buffer#11 utoa::$10 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a 
Removing always clobbered register reg byte a as potential for zp[1]:25 [ utoa::digit#2 utoa::digit#1 ]
Removing always clobbered register reg byte a as potential for zp[1]:28 [ utoa::started#2 utoa::started#4 ]
Statement [145] utoa::digit_value#0 = RADIX_DECIMAL_VALUES[utoa::$10] [ printf_buffer utoa::digit#2 utoa::value#2 utoa::started#2 utoa::buffer#11 utoa::digit_value#0 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::value#2 utoa::started#2 utoa::buffer#11 utoa::digit_value#0 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a 
Statement [147] if(utoa::value#2>=utoa::digit_value#0) goto utoa::@5 [ printf_buffer utoa::digit#2 utoa::value#2 utoa::started#2 utoa::buffer#11 utoa::digit_value#0 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::value#2 utoa::started#2 utoa::buffer#11 utoa::digit_value#0 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a 
Statement [150] utoa_append::buffer#0 = utoa::buffer#11 [ printf_buffer utoa::digit#2 utoa::value#2 utoa::buffer#11 utoa::digit_value#0 utoa_append::buffer#0 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::value#2 utoa::buffer#11 utoa::digit_value#0 utoa_append::buffer#0 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } { utoa_append::buffer#0 = utoa::buffer#11 } { utoa_append::value#0 = utoa::value#2 } { utoa_append::sub#0 = utoa::digit_value#0 } { utoa_append::return#0 = utoa_append::value#2 } }  ) always clobbers reg byte a 
Statement [151] utoa_append::value#0 = utoa::value#2 [ printf_buffer utoa::digit#2 utoa::buffer#11 utoa::digit_value#0 utoa_append::buffer#0 utoa_append::value#0 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::buffer#11 utoa::digit_value#0 utoa_append::buffer#0 utoa_append::value#0 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } { utoa_append::buffer#0 = utoa::buffer#11 } { utoa_append::value#0 = utoa::value#2 } { utoa_append::sub#0 = utoa::digit_value#0 } { utoa_append::return#0 = utoa_append::value#2 } }  ) always clobbers reg byte a 
Statement [152] utoa_append::sub#0 = utoa::digit_value#0 [ printf_buffer utoa::digit#2 utoa::buffer#11 utoa_append::buffer#0 utoa_append::value#0 utoa_append::sub#0 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::buffer#11 utoa_append::buffer#0 utoa_append::value#0 utoa_append::sub#0 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } { utoa_append::buffer#0 = utoa::buffer#11 } { utoa_append::value#0 = utoa::value#2 } { utoa_append::sub#0 = utoa::digit_value#0 } { utoa_append::return#0 = utoa_append::value#2 } }  ) always clobbers reg byte a 
Statement [154] utoa_append::return#0 = utoa_append::value#2 [ printf_buffer utoa::digit#2 utoa::buffer#11 utoa_append::return#0 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::buffer#11 utoa_append::return#0 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } { utoa_append::buffer#0 = utoa::buffer#11 } { utoa_append::value#0 = utoa::value#2 } { utoa_append::sub#0 = utoa::digit_value#0 } { utoa_append::return#0 = utoa_append::value#2 } }  ) always clobbers reg byte a 
Statement [155] utoa::value#0 = utoa_append::return#0 [ printf_buffer utoa::digit#2 utoa::buffer#11 utoa::value#0 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::buffer#11 utoa::value#0 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a 
Statement sideeffect stackpullbytes(1) always clobbers reg byte a 
Statement [165] mul8u::mb#0 = (unsigned int)mul8u::b#0 [ mul8u::a#1 mul8u::mb#0 ] ( main:7::mul8s:47::mul8u:109 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 printf_buffer mul8s::a#2 mul8s::b#2 mul8u::a#1 mul8u::mb#0 ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } { mul8u::return#2 = mul8u::res#2 } }  main:7::mul8s:51::mul8u:109 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 printf_buffer mul8s::a#2 mul8s::b#2 mul8u::a#1 mul8u::mb#0 ] { { mul8s::b#1 = mul8s::b#2 mul8s::a#2 mul8s::a#1 main::yd#0 } { mul8u::return#2 = mul8u::res#2 } }  ) always clobbers reg byte a 
Removing always clobbered register reg byte a as potential for zp[1]:31 [ mul8u::a#2 mul8u::a#1 mul8u::a#0 ]
Statement [169] mul8u::$1 = mul8u::a#2 & 1 [ mul8u::res#2 mul8u::a#2 mul8u::mb#2 mul8u::$1 ] ( main:7::mul8s:47::mul8u:109 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 printf_buffer mul8s::a#2 mul8s::b#2 mul8u::res#2 mul8u::a#2 mul8u::mb#2 mul8u::$1 ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } { mul8u::return#2 = mul8u::res#2 } }  main:7::mul8s:51::mul8u:109 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 printf_buffer mul8s::a#2 mul8s::b#2 mul8u::res#2 mul8u::a#2 mul8u::mb#2 mul8u::$1 ] { { mul8s::b#1 = mul8s::b#2 mul8s::a#2 mul8s::a#1 main::yd#0 } { mul8u::return#2 = mul8u::res#2 } }  ) always clobbers reg byte a 
Statement [171] mul8u::res#1 = mul8u::res#2 + mul8u::mb#2 [ mul8u::a#2 mul8u::mb#2 mul8u::res#1 ] ( main:7::mul8s:47::mul8u:109 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 printf_buffer mul8s::a#2 mul8s::b#2 mul8u::a#2 mul8u::mb#2 mul8u::res#1 ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } { mul8u::return#2 = mul8u::res#2 } }  main:7::mul8s:51::mul8u:109 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 printf_buffer mul8s::a#2 mul8s::b#2 mul8u::a#2 mul8u::mb#2 mul8u::res#1 ] { { mul8s::b#1 = mul8s::b#2 mul8s::a#2 mul8s::a#1 main::yd#0 } { mul8u::return#2 = mul8u::res#2 } }  ) always clobbers reg byte a 
Statement [176] memcpy::src_end#0 = (char *)memcpy::source#2 + (unsigned int)$19*$28-$28 [ memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] ( cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [177] memcpy::src#4 = (char *)memcpy::source#2 [ memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] ( cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [178] memcpy::dst#4 = (char *)memcpy::destination#2 [ memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] ( cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [180] if(memcpy::src#2!=memcpy::src_end#0) goto memcpy::@2 [ memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] ( cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [182] *memcpy::dst#2 = *memcpy::src#2 [ memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] ( cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a reg byte y 
Statement [187] if(utoa_append::value#2>=utoa_append::sub#0) goto utoa_append::@2 [ utoa_append::buffer#0 utoa_append::sub#0 utoa_append::value#2 utoa_append::digit#2 ] ( main:7::printf_uint:34::utoa:93::utoa_append:153 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::buffer#11 utoa_append::buffer#0 utoa_append::sub#0 utoa_append::value#2 utoa_append::digit#2 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } { utoa_append::buffer#0 = utoa::buffer#11 } { utoa_append::value#0 = utoa::value#2 } { utoa_append::sub#0 = utoa::digit_value#0 } { utoa_append::return#0 = utoa_append::value#2 } }  ) always clobbers reg byte a 
Removing always clobbered register reg byte a as potential for zp[1]:46 [ utoa_append::digit#2 utoa_append::digit#1 ]
Statement [188] *utoa_append::buffer#0 = DIGITS[utoa_append::digit#2] [ utoa_append::value#2 ] ( main:7::printf_uint:34::utoa:93::utoa_append:153 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::buffer#11 utoa_append::value#2 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } { utoa_append::buffer#0 = utoa::buffer#11 } { utoa_append::value#0 = utoa::value#2 } { utoa_append::sub#0 = utoa::digit_value#0 } { utoa_append::return#0 = utoa_append::value#2 } }  ) always clobbers reg byte a reg byte y 
Removing always clobbered register reg byte y as potential for zp[1]:25 [ utoa::digit#2 utoa::digit#1 ]
Statement [191] utoa_append::value#1 = utoa_append::value#2 - utoa_append::sub#0 [ utoa_append::buffer#0 utoa_append::sub#0 utoa_append::value#1 utoa_append::digit#1 ] ( main:7::printf_uint:34::utoa:93::utoa_append:153 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::buffer#11 utoa_append::buffer#0 utoa_append::sub#0 utoa_append::value#1 utoa_append::digit#1 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } { utoa_append::buffer#0 = utoa::buffer#11 } { utoa_append::value#0 = utoa::value#2 } { utoa_append::sub#0 = utoa::digit_value#0 } { utoa_append::return#0 = utoa_append::value#2 } }  ) always clobbers reg byte a 
Statement [1] conio_cursor_x = 0 [ printf_buffer ] (  [ printf_buffer ] { }  ) always clobbers reg byte a 
Statement [2] conio_cursor_y = 0 [ printf_buffer ] (  [ printf_buffer ] { }  ) always clobbers reg byte a 
Statement [3] conio_line_text = DEFAULT_SCREEN [ printf_buffer ] (  [ printf_buffer ] { }  ) always clobbers reg byte a 
Statement [4] conio_line_color = COLORRAM [ printf_buffer ] (  [ printf_buffer ] { }  ) always clobbers reg byte a 
Statement [16] cputc::c#0 = stackidx(char,cputc::OFFSET_STACK_C) [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color cputc::c#0 ] (  [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color cputc::c#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color cputc::c#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a reg byte x 
Statement [18] conio_line_text[conio_cursor_x] = cputc::c#0 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] (  [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte y 
Statement [19] conio_line_color[conio_cursor_x] = LIGHT_BLUE [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] (  [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a reg byte y 
Statement [21] if(conio_cursor_x!=$28) goto cputc::@return [ conio_cursor_y conio_line_text conio_line_color ] (  [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [30] if(main::y#2<$19) goto main::@3 [ main::y#2 main::count#11 main::sc#8 printf_buffer ] ( main:7 [ main::y#2 main::count#11 main::sc#8 printf_buffer ] { }  ) always clobbers reg byte a 
Statement [33] printf_uint::uvalue#0 = main::count#11 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_uint::uvalue#0 printf_buffer ] ( main:7 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_uint::uvalue#0 printf_buffer ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [39] if(main::x#2<$28) goto main::@4 [ main::y#2 main::count#10 main::sc#10 main::x#2 printf_buffer ] ( main:7 [ main::y#2 main::count#10 main::sc#10 main::x#2 printf_buffer ] { }  ) always clobbers reg byte a 
Statement [41] main::$5 = main::x#2 << 1 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$5 printf_buffer ] ( main:7 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$5 printf_buffer ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } }  ) always clobbers reg byte a 
Statement [43] main::$7 = main::y#2 << 1 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::xd#0 main::$7 printf_buffer ] ( main:7 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::xd#0 main::$7 printf_buffer ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } }  ) always clobbers reg byte a 
Statement [48] main::$9 = (int)mul8s::m#4 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 main::$9 printf_buffer ] ( main:7 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 main::$9 printf_buffer ] { { mul8s::b#1 = mul8s::b#2 mul8s::a#2 mul8s::a#1 main::yd#0 } }  ) always clobbers reg byte a 
Statement [52] main::$10 = (int)mul8s::m#4 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 main::$10 printf_buffer ] ( main:7 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 main::$10 printf_buffer ] { }  ) always clobbers reg byte a 
Statement [53] main::dist_sq#0 = main::$9 + main::$10 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::dist_sq#0 printf_buffer ] ( main:7 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::dist_sq#0 printf_buffer ] { }  ) always clobbers reg byte a 
Statement [54] if(main::dist_sq#0>=(int)2*9*2*9) goto main::@6 [ main::y#2 main::count#10 main::sc#10 main::x#2 printf_buffer ] ( main:7 [ main::y#2 main::count#10 main::sc#10 main::x#2 printf_buffer ] { }  ) always clobbers reg byte a 
Statement [55] *main::sc#10 = '*' [ main::y#2 main::count#10 main::sc#10 main::x#2 printf_buffer ] ( main:7 [ main::y#2 main::count#10 main::sc#10 main::x#2 printf_buffer ] { }  ) always clobbers reg byte a reg byte y 
Statement [64] conio_cursor_x = 0 [ conio_cursor_x gotoxy::y#5 ] ( gotoxy:14 [ conio_cursor_x gotoxy::y#5 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x gotoxy::y#5 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x gotoxy::y#5 ] { }  ) always clobbers reg byte a 
Statement [66] gotoxy::$7 = (unsigned int)gotoxy::y#5 [ conio_cursor_x conio_cursor_y gotoxy::$7 ] ( gotoxy:14 [ conio_cursor_x conio_cursor_y gotoxy::$7 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x conio_cursor_y gotoxy::$7 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x conio_cursor_y gotoxy::$7 ] { }  ) always clobbers reg byte a 
Statement [67] gotoxy::$8 = gotoxy::$7 << 2 [ conio_cursor_x conio_cursor_y gotoxy::$7 gotoxy::$8 ] ( gotoxy:14 [ conio_cursor_x conio_cursor_y gotoxy::$7 gotoxy::$8 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x conio_cursor_y gotoxy::$7 gotoxy::$8 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x conio_cursor_y gotoxy::$7 gotoxy::$8 ] { }  ) always clobbers reg byte a 
Statement [68] gotoxy::$9 = gotoxy::$8 + gotoxy::$7 [ conio_cursor_x conio_cursor_y gotoxy::$9 ] ( gotoxy:14 [ conio_cursor_x conio_cursor_y gotoxy::$9 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x conio_cursor_y gotoxy::$9 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x conio_cursor_y gotoxy::$9 ] { }  ) always clobbers reg byte a 
Statement [69] gotoxy::line_offset#0 = gotoxy::$9 << 3 [ conio_cursor_x conio_cursor_y gotoxy::line_offset#0 ] ( gotoxy:14 [ conio_cursor_x conio_cursor_y gotoxy::line_offset#0 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x conio_cursor_y gotoxy::line_offset#0 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x conio_cursor_y gotoxy::line_offset#0 ] { }  ) always clobbers reg byte a 
Statement [70] gotoxy::$5 = DEFAULT_SCREEN + gotoxy::line_offset#0 [ conio_cursor_x conio_cursor_y gotoxy::line_offset#0 gotoxy::$5 ] ( gotoxy:14 [ conio_cursor_x conio_cursor_y gotoxy::line_offset#0 gotoxy::$5 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x conio_cursor_y gotoxy::line_offset#0 gotoxy::$5 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x conio_cursor_y gotoxy::line_offset#0 gotoxy::$5 ] { }  ) always clobbers reg byte a 
Statement [71] conio_line_text = gotoxy::$5 [ conio_cursor_x conio_cursor_y conio_line_text gotoxy::line_offset#0 ] ( gotoxy:14 [ conio_cursor_x conio_cursor_y conio_line_text gotoxy::line_offset#0 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x conio_cursor_y conio_line_text gotoxy::line_offset#0 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x conio_cursor_y conio_line_text gotoxy::line_offset#0 ] { }  ) always clobbers reg byte a 
Statement [72] gotoxy::$6 = COLORRAM + gotoxy::line_offset#0 [ conio_cursor_x conio_cursor_y conio_line_text gotoxy::$6 ] ( gotoxy:14 [ conio_cursor_x conio_cursor_y conio_line_text gotoxy::$6 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x conio_cursor_y conio_line_text gotoxy::$6 ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x conio_cursor_y conio_line_text gotoxy::$6 ] { }  ) always clobbers reg byte a 
Statement [73] conio_line_color = gotoxy::$6 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] ( gotoxy:14 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  conio_c64_init:5::gotoxy:14 [ printf_buffer conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] { { gotoxy::y#2 = gotoxy::y#4 conio_c64_init::line#2 } }  main:7::gotoxy:32 [ main::count#11 printf_buffer conio_cursor_x conio_cursor_y conio_line_text conio_line_color ] { }  ) always clobbers reg byte a 
Statement [75] conio_line_text = conio_line_text + $28 [ conio_cursor_y conio_line_text conio_line_color ] ( cputln:23 [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26 [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [76] conio_line_color = conio_line_color + $28 [ conio_cursor_y conio_line_text conio_line_color ] ( cputln:23 [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26 [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [77] conio_cursor_x = 0 [ conio_cursor_y conio_line_text conio_line_color ] ( cputln:23 [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26 [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [82] if(memset::num#3<=0) goto memset::@return [ memset::num#3 memset::str#4 memset::c#5 ] ( main:7::memset:28 [ printf_buffer memset::num#3 memset::str#4 memset::c#5 ] { }  cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::num#3 memset::str#4 memset::c#5 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::num#3 memset::str#4 memset::c#5 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::num#3 memset::str#4 memset::c#5 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::num#3 memset::str#4 memset::c#5 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::num#3 memset::str#4 memset::c#5 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::num#3 memset::str#4 memset::c#5 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::num#3 memset::str#4 memset::c#5 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::num#3 memset::str#4 memset::c#5 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [83] memset::end#0 = (char *)memset::str#4 + memset::num#3 [ memset::str#4 memset::c#5 memset::end#0 ] ( main:7::memset:28 [ printf_buffer memset::str#4 memset::c#5 memset::end#0 ] { }  cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::str#4 memset::c#5 memset::end#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::str#4 memset::c#5 memset::end#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::str#4 memset::c#5 memset::end#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::str#4 memset::c#5 memset::end#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::str#4 memset::c#5 memset::end#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::str#4 memset::c#5 memset::end#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::str#4 memset::c#5 memset::end#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::str#4 memset::c#5 memset::end#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [84] memset::dst#4 = (char *)memset::str#4 [ memset::c#5 memset::end#0 memset::dst#4 ] ( main:7::memset:28 [ printf_buffer memset::c#5 memset::end#0 memset::dst#4 ] { }  cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [86] if(memset::dst#2!=memset::end#0) goto memset::@3 [ memset::c#5 memset::end#0 memset::dst#2 ] ( main:7::memset:28 [ printf_buffer memset::c#5 memset::end#0 memset::dst#2 ] { }  cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [88] *memset::dst#2 = memset::c#5 [ memset::c#5 memset::end#0 memset::dst#2 ] ( main:7::memset:28 [ printf_buffer memset::c#5 memset::end#0 memset::dst#2 ] { }  cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:129 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memset:131 [ conio_cursor_y conio_line_text conio_line_color memset::c#5 memset::end#0 memset::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a reg byte y 
Statement [91] *((char *)&printf_buffer) = 0 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_uint::uvalue#0 printf_buffer ] ( main:7::printf_uint:34 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_uint::uvalue#0 printf_buffer ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a 
Statement [92] utoa::value#1 = printf_uint::uvalue#0 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::value#1 ] ( main:7::printf_uint:34 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::value#1 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a 
Statement [99] printf_str::c#1 = *printf_str::s#3 [ printf_str::s#3 printf_str::c#1 ] ( main:7::printf_str:36 [ printf_str::s#3 printf_str::c#1 ] { }  main:7::printf_uint:34::printf_number_buffer:95::printf_str:163 [ printf_str::s#3 printf_str::c#1 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a reg byte y 
Statement [104] callexecute *printf_str::putc#4  [ printf_str::s#0 ] ( main:7::printf_str:36 [ printf_str::s#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::printf_str:163 [ printf_str::s#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a reg byte x reg byte y 
Statement sideeffect stackpullbytes(1) always clobbers reg byte a 
Statement [110] mul8u::return#2 = mul8u::res#2 [ mul8s::a#2 mul8s::b#2 mul8u::return#2 ] ( main:7::mul8s:47 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 printf_buffer mul8s::a#2 mul8s::b#2 mul8u::return#2 ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } { mul8u::return#2 = mul8u::res#2 } }  main:7::mul8s:51 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 printf_buffer mul8s::a#2 mul8s::b#2 mul8u::return#2 ] { { mul8s::b#1 = mul8s::b#2 mul8s::a#2 mul8s::a#1 main::yd#0 } { mul8u::return#2 = mul8u::res#2 } }  ) always clobbers reg byte a 
Statement [111] mul8s::m#0 = mul8u::return#2 [ mul8s::a#2 mul8s::b#2 mul8s::m#0 ] ( main:7::mul8s:47 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 printf_buffer mul8s::a#2 mul8s::b#2 mul8s::m#0 ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } }  main:7::mul8s:51 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 printf_buffer mul8s::a#2 mul8s::b#2 mul8s::m#0 ] { { mul8s::b#1 = mul8s::b#2 mul8s::a#2 mul8s::a#1 main::yd#0 } }  ) always clobbers reg byte a 
Statement [114] mul8s::$11 = mul8s::$6 - (char)mul8s::b#2 [ mul8s::a#2 mul8s::b#2 mul8s::m#0 mul8s::$11 ] ( main:7::mul8s:47 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 printf_buffer mul8s::a#2 mul8s::b#2 mul8s::m#0 mul8s::$11 ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } }  main:7::mul8s:51 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 printf_buffer mul8s::a#2 mul8s::b#2 mul8s::m#0 mul8s::$11 ] { { mul8s::b#1 = mul8s::b#2 mul8s::a#2 mul8s::a#1 main::yd#0 } }  ) always clobbers reg byte a 
Statement [119] mul8s::$12 = mul8s::$9 - (char)mul8s::a#2 [ mul8s::m#5 mul8s::$12 ] ( main:7::mul8s:47 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 printf_buffer mul8s::m#5 mul8s::$12 ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } }  main:7::mul8s:51 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 printf_buffer mul8s::m#5 mul8s::$12 ] { { mul8s::b#1 = mul8s::b#2 mul8s::a#2 mul8s::a#1 main::yd#0 } }  ) always clobbers reg byte a 
Statement [123] if(conio_cursor_y!=$19) goto cscroll::@return [ conio_cursor_y conio_line_text conio_line_color ] ( cputln:23::cscroll:79 [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79 [ conio_cursor_y conio_line_text conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79 [ conio_cursor_y conio_line_text conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [132] conio_line_text = conio_line_text - $28 [ conio_cursor_y conio_line_color ] ( cputln:23::cscroll:79 [ conio_cursor_y conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79 [ conio_cursor_y conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79 [ conio_cursor_y conio_line_color ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79 [ conio_cursor_y conio_line_color ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [133] conio_line_color = conio_line_color - $28 [ conio_cursor_y ] ( cputln:23::cscroll:79 [ conio_cursor_y ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79 [ conio_cursor_y ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79 [ conio_cursor_y ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79 [ conio_cursor_y ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [140] *utoa::buffer#11 = DIGITS[utoa::$11] [ printf_buffer utoa::buffer#11 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::buffer#11 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a reg byte y 
Statement [141] utoa::buffer#3 = ++ utoa::buffer#11 [ printf_buffer utoa::buffer#3 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::buffer#3 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a 
Statement [142] *utoa::buffer#3 = 0 [ printf_buffer ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a reg byte y 
Statement [144] utoa::$10 = utoa::digit#2 << 1 [ printf_buffer utoa::digit#2 utoa::value#2 utoa::started#2 utoa::buffer#11 utoa::$10 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::value#2 utoa::started#2 utoa::buffer#11 utoa::$10 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a 
Statement [145] utoa::digit_value#0 = RADIX_DECIMAL_VALUES[utoa::$10] [ printf_buffer utoa::digit#2 utoa::value#2 utoa::started#2 utoa::buffer#11 utoa::digit_value#0 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::value#2 utoa::started#2 utoa::buffer#11 utoa::digit_value#0 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a 
Statement [147] if(utoa::value#2>=utoa::digit_value#0) goto utoa::@5 [ printf_buffer utoa::digit#2 utoa::value#2 utoa::started#2 utoa::buffer#11 utoa::digit_value#0 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::value#2 utoa::started#2 utoa::buffer#11 utoa::digit_value#0 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a 
Statement [150] utoa_append::buffer#0 = utoa::buffer#11 [ printf_buffer utoa::digit#2 utoa::value#2 utoa::buffer#11 utoa::digit_value#0 utoa_append::buffer#0 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::value#2 utoa::buffer#11 utoa::digit_value#0 utoa_append::buffer#0 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } { utoa_append::buffer#0 = utoa::buffer#11 } { utoa_append::value#0 = utoa::value#2 } { utoa_append::sub#0 = utoa::digit_value#0 } { utoa_append::return#0 = utoa_append::value#2 } }  ) always clobbers reg byte a 
Statement [151] utoa_append::value#0 = utoa::value#2 [ printf_buffer utoa::digit#2 utoa::buffer#11 utoa::digit_value#0 utoa_append::buffer#0 utoa_append::value#0 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::buffer#11 utoa::digit_value#0 utoa_append::buffer#0 utoa_append::value#0 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } { utoa_append::buffer#0 = utoa::buffer#11 } { utoa_append::value#0 = utoa::value#2 } { utoa_append::sub#0 = utoa::digit_value#0 } { utoa_append::return#0 = utoa_append::value#2 } }  ) always clobbers reg byte a 
Statement [152] utoa_append::sub#0 = utoa::digit_value#0 [ printf_buffer utoa::digit#2 utoa::buffer#11 utoa_append::buffer#0 utoa_append::value#0 utoa_append::sub#0 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::buffer#11 utoa_append::buffer#0 utoa_append::value#0 utoa_append::sub#0 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } { utoa_append::buffer#0 = utoa::buffer#11 } { utoa_append::value#0 = utoa::value#2 } { utoa_append::sub#0 = utoa::digit_value#0 } { utoa_append::return#0 = utoa_append::value#2 } }  ) always clobbers reg byte a 
Statement [154] utoa_append::return#0 = utoa_append::value#2 [ printf_buffer utoa::digit#2 utoa::buffer#11 utoa_append::return#0 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::buffer#11 utoa_append::return#0 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } { utoa_append::buffer#0 = utoa::buffer#11 } { utoa_append::value#0 = utoa::value#2 } { utoa_append::sub#0 = utoa::digit_value#0 } { utoa_append::return#0 = utoa_append::value#2 } }  ) always clobbers reg byte a 
Statement [155] utoa::value#0 = utoa_append::return#0 [ printf_buffer utoa::digit#2 utoa::buffer#11 utoa::value#0 ] ( main:7::printf_uint:34::utoa:93 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::buffer#11 utoa::value#0 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } }  ) always clobbers reg byte a 
Statement sideeffect stackpullbytes(1) always clobbers reg byte a 
Statement [165] mul8u::mb#0 = (unsigned int)mul8u::b#0 [ mul8u::a#1 mul8u::mb#0 ] ( main:7::mul8s:47::mul8u:109 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 printf_buffer mul8s::a#2 mul8s::b#2 mul8u::a#1 mul8u::mb#0 ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } { mul8u::return#2 = mul8u::res#2 } }  main:7::mul8s:51::mul8u:109 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 printf_buffer mul8s::a#2 mul8s::b#2 mul8u::a#1 mul8u::mb#0 ] { { mul8s::b#1 = mul8s::b#2 mul8s::a#2 mul8s::a#1 main::yd#0 } { mul8u::return#2 = mul8u::res#2 } }  ) always clobbers reg byte a 
Statement [169] mul8u::$1 = mul8u::a#2 & 1 [ mul8u::res#2 mul8u::a#2 mul8u::mb#2 mul8u::$1 ] ( main:7::mul8s:47::mul8u:109 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 printf_buffer mul8s::a#2 mul8s::b#2 mul8u::res#2 mul8u::a#2 mul8u::mb#2 mul8u::$1 ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } { mul8u::return#2 = mul8u::res#2 } }  main:7::mul8s:51::mul8u:109 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 printf_buffer mul8s::a#2 mul8s::b#2 mul8u::res#2 mul8u::a#2 mul8u::mb#2 mul8u::$1 ] { { mul8s::b#1 = mul8s::b#2 mul8s::a#2 mul8s::a#1 main::yd#0 } { mul8u::return#2 = mul8u::res#2 } }  ) always clobbers reg byte a 
Statement [171] mul8u::res#1 = mul8u::res#2 + mul8u::mb#2 [ mul8u::a#2 mul8u::mb#2 mul8u::res#1 ] ( main:7::mul8s:47::mul8u:109 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::yd#0 printf_buffer mul8s::a#2 mul8s::b#2 mul8u::a#2 mul8u::mb#2 mul8u::res#1 ] { { mul8s::b#0 = mul8s::b#2 mul8s::a#2 mul8s::a#0 main::xd#0 } { mul8u::return#2 = mul8u::res#2 } }  main:7::mul8s:51::mul8u:109 [ main::y#2 main::count#10 main::sc#10 main::x#2 main::$9 printf_buffer mul8s::a#2 mul8s::b#2 mul8u::a#2 mul8u::mb#2 mul8u::res#1 ] { { mul8s::b#1 = mul8s::b#2 mul8s::a#2 mul8s::a#1 main::yd#0 } { mul8u::return#2 = mul8u::res#2 } }  ) always clobbers reg byte a 
Statement [176] memcpy::src_end#0 = (char *)memcpy::source#2 + (unsigned int)$19*$28-$28 [ memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] ( cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::source#2 memcpy::destination#2 memcpy::src_end#0 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [177] memcpy::src#4 = (char *)memcpy::source#2 [ memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] ( cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::destination#2 memcpy::src_end#0 memcpy::src#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [178] memcpy::dst#4 = (char *)memcpy::destination#2 [ memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] ( cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#4 memcpy::dst#4 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [180] if(memcpy::src#2!=memcpy::src_end#0) goto memcpy::@2 [ memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] ( cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a 
Statement [182] *memcpy::dst#2 = *memcpy::src#2 [ memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] ( cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:125 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:23::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { }  main:7::printf_uint:34::printf_number_buffer:95::cputc:160::cputln:26::cscroll:79::memcpy:127 [ conio_cursor_y conio_line_text conio_line_color memcpy::src_end#0 memcpy::src#2 memcpy::dst#2 ] { { printf_uint::uvalue#0 = main::count#11 } }  ) always clobbers reg byte a reg byte y 
Statement [187] if(utoa_append::value#2>=utoa_append::sub#0) goto utoa_append::@2 [ utoa_append::buffer#0 utoa_append::sub#0 utoa_append::value#2 utoa_append::digit#2 ] ( main:7::printf_uint:34::utoa:93::utoa_append:153 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::buffer#11 utoa_append::buffer#0 utoa_append::sub#0 utoa_append::value#2 utoa_append::digit#2 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } { utoa_append::buffer#0 = utoa::buffer#11 } { utoa_append::value#0 = utoa::value#2 } { utoa_append::sub#0 = utoa::digit_value#0 } { utoa_append::return#0 = utoa_append::value#2 } }  ) always clobbers reg byte a 
Statement [188] *utoa_append::buffer#0 = DIGITS[utoa_append::digit#2] [ utoa_append::value#2 ] ( main:7::printf_uint:34::utoa:93::utoa_append:153 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::buffer#11 utoa_append::value#2 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } { utoa_append::buffer#0 = utoa::buffer#11 } { utoa_append::value#0 = utoa::value#2 } { utoa_append::sub#0 = utoa::digit_value#0 } { utoa_append::return#0 = utoa_append::value#2 } }  ) always clobbers reg byte a reg byte y 
Statement [191] utoa_append::value#1 = utoa_append::value#2 - utoa_append::sub#0 [ utoa_append::buffer#0 utoa_append::sub#0 utoa_append::value#1 utoa_append::digit#1 ] ( main:7::printf_uint:34::utoa:93::utoa_append:153 [ conio_cursor_x conio_cursor_y conio_line_text conio_line_color printf_buffer utoa::digit#2 utoa::buffer#11 utoa_append::buffer#0 utoa_append::sub#0 utoa_append::value#1 utoa_append::digit#1 ] { { printf_uint::uvalue#0 = main::count#11 utoa::value#1 } { utoa_append::buffer#0 = utoa::buffer#11 } { utoa_append::value#0 = utoa::value#2 } { utoa_append::sub#0 = utoa::digit_value#0 } { utoa_append::return#0 = utoa_append::value#2 } }  ) always clobbers reg byte a 
Potential registers zp[1]:2 [ conio_c64_init::line#2 conio_c64_init::line#0 ] : zp[1]:2 , reg byte a , reg byte x , reg byte y , 
Potential registers zp[1]:3 [ main::y#2 main::y#1 ] : zp[1]:3 , reg byte x , 
Potential registers zp[2]:4 [ main::count#11 main::count#10 main::count#12 main::count#1 ] : zp[2]:4 , 
Potential registers zp[2]:6 [ main::sc#8 main::sc#10 main::sc#1 ] : zp[2]:6 , 
Potential registers zp[1]:8 [ main::x#2 main::x#1 ] : zp[1]:8 , reg byte x , 
Potential registers zp[1]:9 [ gotoxy::y#5 gotoxy::y#4 gotoxy::y#2 ] : zp[1]:9 , reg byte x , reg byte y , 
Potential registers zp[2]:10 [ memset::num#3 ] : zp[2]:10 , 
Potential registers zp[2]:12 [ memset::str#4 ] : zp[2]:12 , 
Potential registers zp[1]:14 [ memset::c#5 ] : zp[1]:14 , reg byte x , 
Potential registers zp[2]:15 [ memset::dst#2 memset::dst#4 memset::dst#1 ] : zp[2]:15 , 
Potential registers zp[2]:17 [ printf_str::putc#4 ] : zp[2]:17 , 
Potential registers zp[2]:19 [ printf_str::s#3 printf_str::s#4 printf_str::s#0 ] : zp[2]:19 , 
Potential registers zp[1]:21 [ mul8s::a#2 mul8s::a#1 mul8s::a#0 ] : zp[1]:21 , reg byte x , reg byte y , 
Potential registers zp[1]:22 [ mul8s::b#2 mul8s::b#1 mul8s::b#0 ] : zp[1]:22 , reg byte x , reg byte y , 
Potential registers zp[2]:23 [ mul8s::m#4 mul8s::m#5 mul8s::m#1 mul8s::m#0 mul8s::m#2 ] : zp[2]:23 , 
Potential registers zp[1]:25 [ utoa::digit#2 utoa::digit#1 ] : zp[1]:25 , reg byte x , 
Potential registers zp[2]:26 [ utoa::value#2 utoa::value#6 utoa::value#1 utoa::value#0 ] : zp[2]:26 , 
Potential registers zp[1]:28 [ utoa::started#2 utoa::started#4 ] : zp[1]:28 , reg byte x , reg byte y , 
Potential registers zp[2]:29 [ utoa::buffer#11 utoa::buffer#14 utoa::buffer#4 ] : zp[2]:29 , 
Potential registers zp[1]:31 [ mul8u::a#2 mul8u::a#1 mul8u::a#0 ] : zp[1]:31 , reg byte x , reg byte y , 
Potential registers zp[2]:32 [ mul8u::res#2 mul8u::res#6 mul8u::res#1 ] : zp[2]:32 , 
Potential registers zp[2]:34 [ mul8u::mb#2 mul8u::mb#0 mul8u::mb#1 ] : zp[2]:34 , 
Potential registers zp[2]:36 [ memcpy::source#2 ] : zp[2]:36 , 
Potential registers zp[2]:38 [ memcpy::destination#2 ] : zp[2]:38 , 
Potential registers zp[2]:40 [ memcpy::src#2 memcpy::src#4 memcpy::src#1 ] : zp[2]:40 , 
Potential registers zp[2]:42 [ memcpy::dst#2 memcpy::dst#4 memcpy::dst#1 ] : zp[2]:42 , 
Potential registers zp[2]:44 [ utoa_append::value#2 utoa_append::value#0 utoa_append::value#1 ] : zp[2]:44 , 
Potential registers zp[1]:46 [ utoa_append::digit#2 utoa_append::digit#1 ] : zp[1]:46 , reg byte x , reg byte y , 
Potential registers zp[1]:47 [ conio_cursor_x ] : zp[1]:47 , 
Potential registers zp[1]:48 [ conio_cursor_y ] : zp[1]:48 , 
Potential registers zp[2]:49 [ conio_line_text ] : zp[2]:49 , 
Potential registers zp[2]:51 [ conio_line_color ] : zp[2]:51 , 
Potential registers zp[1]:53 [ cputc::c#0 ] : zp[1]:53 , reg byte a , reg byte x , reg byte y , 
Potential registers zp[2]:54 [ printf_uint::uvalue#0 ] : zp[2]:54 , 
Potential registers zp[1]:56 [ main::$5 ] : zp[1]:56 , reg byte a , reg byte x , reg byte y , 
Potential registers zp[1]:57 [ main::xd#0 ] : zp[1]:57 , reg byte x , reg byte y , 
Potential registers zp[1]:58 [ main::$7 ] : zp[1]:58 , reg byte a , reg byte x , reg byte y , 
Potential registers zp[1]:59 [ main::yd#0 ] : zp[1]:59 , reg byte x , reg byte y , 
Potential registers zp[2]:60 [ main::$9 ] : zp[2]:60 , 
Potential registers zp[2]:62 [ main::$10 ] : zp[2]:62 , 
Potential registers zp[2]:64 [ main::dist_sq#0 ] : zp[2]:64 , 
Potential registers zp[2]:66 [ gotoxy::$7 ] : zp[2]:66 , 
Potential registers zp[2]:68 [ gotoxy::$8 ] : zp[2]:68 , 
Potential registers zp[2]:70 [ gotoxy::$9 ] : zp[2]:70 , 
Potential registers zp[2]:72 [ gotoxy::line_offset#0 ] : zp[2]:72 , 
Potential registers zp[2]:74 [ gotoxy::$5 ] : zp[2]:74 , 
Potential registers zp[2]:76 [ gotoxy::$6 ] : zp[2]:76 , 
Potential registers zp[2]:78 [ memset::end#0 ] : zp[2]:78 , 
Potential registers zp[1]:80 [ printf_number_buffer::buffer_sign#0 ] : zp[1]:80 , reg byte a , reg byte x , reg byte y , 
Potential registers zp[1]:81 [ printf_str::c#1 ] : zp[1]:81 , reg byte a , reg byte x , reg byte y , 
Potential registers zp[1]:82 [ mul8u::b#0 ] : zp[1]:82 , reg byte a , reg byte x , reg byte y , 
Potential registers zp[2]:83 [ mul8u::return#2 ] : zp[2]:83 , 
Potential registers zp[1]:85 [ mul8s::$6 ] : zp[1]:85 , reg byte a , reg byte x , reg byte y , 
Potential registers zp[1]:86 [ mul8s::$11 ] : zp[1]:86 , reg byte a , reg byte x , reg byte y , 
Potential registers zp[1]:87 [ mul8s::$9 ] : zp[1]:87 , reg byte a , reg byte x , reg byte y , 
Potential registers zp[1]:88 [ mul8s::$12 ] : zp[1]:88 , reg byte a , reg byte x , reg byte y , 
Potential registers zp[1]:89 [ utoa::$11 ] : zp[1]:89 , reg byte a , reg byte x , reg byte y , 
Potential registers zp[2]:90 [ utoa::buffer#3 ] : zp[2]:90 , 
Potential registers zp[1]:92 [ utoa::$10 ] : zp[1]:92 , reg byte a , reg byte x , reg byte y , 
Potential registers zp[2]:93 [ utoa::digit_value#0 ] : zp[2]:93 , 
Potential registers zp[2]:95 [ utoa_append::buffer#0 ] : zp[2]:95 , 
Potential registers zp[2]:97 [ utoa_append::sub#0 ] : zp[2]:97 , 
Potential registers zp[2]:99 [ utoa_append::return#0 ] : zp[2]:99 , 
Potential registers zp[1]:101 [ mul8u::$1 ] : zp[1]:101 , reg byte a , reg byte x , reg byte y , 
Potential registers zp[2]:102 [ memcpy::src_end#0 ] : zp[2]:102 , 
Potential registers mem[12] [ printf_buffer ] : mem[12] , 

REGISTER UPLIFT SCOPES
Uplift Scope [mul8u] 350,001,670.33: zp[2]:32 [ mul8u::res#2 mul8u::res#6 mul8u::res#1 ] 243,071,433.14: zp[2]:34 [ mul8u::mb#2 mul8u::mb#0 mul8u::mb#1 ] 200,000,002: zp[1]:101 [ mul8u::$1 ] 166,720,002.5: zp[1]:31 [ mul8u::a#2 mul8u::a#1 mul8u::a#0 ] 20,002: zp[2]:83 [ mul8u::return#2 ] 10,001: zp[1]:82 [ mul8u::b#0 ] 
Uplift Scope [memcpy] 312,500,004.25: zp[2]:40 [ memcpy::src#2 memcpy::src#4 memcpy::src#1 ] 223,333,337.67: zp[2]:42 [ memcpy::dst#2 memcpy::dst#4 memcpy::dst#1 ] 13,750,000.25: zp[2]:102 [ memcpy::src_end#0 ] 0: zp[2]:36 [ memcpy::source#2 ] 0: zp[2]:38 [ memcpy::destination#2 ] 
Uplift Scope [memset] 356,666,672.33: zp[2]:15 [ memset::dst#2 memset::dst#4 memset::dst#1 ] 18,333,333.67: zp[2]:78 [ memset::end#0 ] 12,500,000.12: zp[1]:14 [ memset::c#5 ] 10,000,001: zp[2]:10 [ memset::num#3 ] 0: zp[2]:12 [ memset::str#4 ] 
Uplift Scope [utoa_append] 25,055,003.5: zp[2]:44 [ utoa_append::value#2 utoa_append::value#0 utoa_append::value#1 ] 20,050,002.5: zp[1]:46 [ utoa_append::digit#2 utoa_append::digit#1 ] 3,335,000.5: zp[2]:97 [ utoa_append::sub#0 ] 20,002: zp[2]:99 [ utoa_append::return#0 ] 13,750.25: zp[2]:95 [ utoa_append::buffer#0 ] 
Uplift Scope [printf_str] 265,004: zp[2]:19 [ printf_str::s#3 printf_str::s#4 printf_str::s#0 ] 100,001: zp[1]:81 [ printf_str::c#1 ] 0: zp[2]:17 [ printf_str::putc#4 ] 
Uplift Scope [] 74,421.12: zp[1]:48 [ conio_cursor_y ] 65,003.18: zp[2]:51 [ conio_line_color ] 63,145.94: zp[2]:49 [ conio_line_text ] 5,773.42: zp[1]:47 [ conio_cursor_x ] 0: mem[12] [ printf_buffer ] 
Uplift Scope [mul8s] 67,506.75: zp[2]:23 [ mul8s::m#4 mul8s::m#5 mul8s::m#1 mul8s::m#0 mul8s::m#2 ] 20,002: zp[1]:85 [ mul8s::$6 ] 20,002: zp[1]:86 [ mul8s::$11 ] 20,002: zp[1]:87 [ mul8s::$9 ] 20,002: zp[1]:88 [ mul8s::$12 ] 5,095.18: zp[1]:22 [ mul8s::b#2 mul8s::b#1 mul8s::b#0 ] 2,925.31: zp[1]:21 [ mul8s::a#2 mul8s::a#1 mul8s::a#0 ] 
Uplift Scope [utoa] 38,003.93: zp[2]:29 [ utoa::buffer#11 utoa::buffer#14 utoa::buffer#4 ] 31,411.36: zp[2]:26 [ utoa::value#2 utoa::value#6 utoa::value#1 utoa::value#0 ] 22,859.43: zp[1]:25 [ utoa::digit#2 utoa::digit#1 ] 20,002: zp[1]:92 [ utoa::$10 ] 15,001.5: zp[1]:28 [ utoa::started#2 utoa::started#4 ] 6,000.6: zp[2]:93 [ utoa::digit_value#0 ] 2,002: zp[1]:89 [ utoa::$11 ] 2,002: zp[2]:90 [ utoa::buffer#3 ] 
Uplift Scope [main] 3,234.31: zp[2]:4 [ main::count#11 main::count#10 main::count#12 main::count#1 ] 2,202.2: zp[1]:8 [ main::x#2 main::x#1 ] 2,002: zp[1]:56 [ main::$5 ] 2,002: zp[1]:58 [ main::$7 ] 2,002: zp[2]:62 [ main::$10 ] 2,002: zp[2]:64 [ main::dist_sq#0 ] 1,262.25: zp[2]:6 [ main::sc#8 main::sc#10 main::sc#1 ] 750.75: zp[1]:57 [ main::xd#0 ] 500.5: zp[1]:59 [ main::yd#0 ] 400.4: zp[2]:60 [ main::$9 ] 258.7: zp[1]:3 [ main::y#2 main::y#1 ] 
Uplift Scope [cputc] 15,001.5: zp[1]:53 [ cputc::c#0 ] 
Uplift Scope [gotoxy] 202: zp[2]:68 [ gotoxy::$8 ] 202: zp[2]:70 [ gotoxy::$9 ] 202: zp[2]:74 [ gotoxy::$5 ] 202: zp[2]:76 [ gotoxy::$6 ] 160.33: zp[1]:9 [ gotoxy::y#5 gotoxy::y#4 gotoxy::y#2 ] 151.5: zp[2]:66 [ gotoxy::$7 ] 101: zp[2]:72 [ gotoxy::line_offset#0 ] 
Uplift Scope [printf_number_buffer] 701: zp[1]:80 [ printf_number_buffer::buffer_sign#0 ] 
Uplift Scope [printf_uint] 37.33: zp[2]:54 [ printf_uint::uvalue#0 ] 
Uplift Scope [conio_c64_init] 33: zp[1]:2 [ conio_c64_init::line#2 conio_c64_init::line#0 ] 
Uplift Scope [cputln] 
Uplift Scope [MOS6526_CIA] 
Uplift Scope [MOS6569_VICII] 
Uplift Scope [MOS6581_SID] 
Uplift Scope [cscroll] 
Uplift Scope [RADIX] 
Uplift Scope [printf_format_number] 
Uplift Scope [printf_buffer_number] 
Uplift Scope [printf_format_string] 
Uplift Scope [__start] 

Uplifting [mul8u] best 104349 combination zp[2]:32 [ mul8u::res#2 mul8u::res#6 mul8u::res#1 ] zp[2]:34 [ mul8u::mb#2 mul8u::mb#0 mul8u::mb#1 ] reg byte a [ mul8u::$1 ] reg byte x [ mul8u::a#2 mul8u::a#1 mul8u::a#0 ] zp[2]:83 [ mul8u::return#2 ] reg byte a [ mul8u::b#0 ] 
Uplifting [memcpy] best 104349 combination zp[2]:40 [ memcpy::src#2 memcpy::src#4 memcpy::src#1 ] zp[2]:42 [ memcpy::dst#2 memcpy::dst#4 memcpy::dst#1 ] zp[2]:102 [ memcpy::src_end#0 ] zp[2]:36 [ memcpy::source#2 ] zp[2]:38 [ memcpy::destination#2 ] 
Uplifting [memset] best 104330 combination zp[2]:15 [ memset::dst#2 memset::dst#4 memset::dst#1 ] zp[2]:78 [ memset::end#0 ] reg byte x [ memset::c#5 ] zp[2]:10 [ memset::num#3 ] zp[2]:12 [ memset::str#4 ] 
Uplifting [utoa_append] best 103727 combination zp[2]:44 [ utoa_append::value#2 utoa_append::value#0 utoa_append::value#1 ] reg byte x [ utoa_append::digit#2 utoa_append::digit#1 ] zp[2]:97 [ utoa_append::sub#0 ] zp[2]:99 [ utoa_append::return#0 ] zp[2]:95 [ utoa_append::buffer#0 ] 
Uplifting [printf_str] best 103657 combination zp[2]:19 [ printf_str::s#3 printf_str::s#4 printf_str::s#0 ] reg byte a [ printf_str::c#1 ] zp[2]:17 [ printf_str::putc#4 ] 
Uplifting [] best 103657 combination zp[1]:48 [ conio_cursor_y ] zp[2]:51 [ conio_line_color ] zp[2]:49 [ conio_line_text ] zp[1]:47 [ conio_cursor_x ] mem[12] [ printf_buffer ] 
Uplifting [mul8s] best 103633 combination zp[2]:23 [ mul8s::m#4 mul8s::m#5 mul8s::m#1 mul8s::m#0 mul8s::m#2 ] reg byte a [ mul8s::$6 ] reg byte a [ mul8s::$11 ] reg byte a [ mul8s::$9 ] reg byte a [ mul8s::$12 ] zp[1]:22 [ mul8s::b#2 mul8s::b#1 mul8s::b#0 ] zp[1]:21 [ mul8s::a#2 mul8s::a#1 mul8s::a#0 ] 
Limited combination testing to 100 combinations of 2304 possible.
Uplifting [utoa] best 103517 combination zp[2]:29 [ utoa::buffer#11 utoa::buffer#14 utoa::buffer#4 ] zp[2]:26 [ utoa::value#2 utoa::value#6 utoa::value#1 utoa::value#0 ] zp[1]:25 [ utoa::digit#2 utoa::digit#1 ] reg byte a [ utoa::$10 ] reg byte x [ utoa::started#2 utoa::started#4 ] zp[2]:93 [ utoa::digit_value#0 ] reg byte x [ utoa::$11 ] zp[2]:90 [ utoa::buffer#3 ] 
Uplifting [main] best 101817 combination zp[2]:4 [ main::count#11 main::count#10 main::count#12 main::count#1 ] zp[1]:8 [ main::x#2 main::x#1 ] reg byte a [ main::$5 ] reg byte a [ main::$7 ] zp[2]:62 [ main::$10 ] zp[2]:64 [ main::dist_sq#0 ] zp[2]:6 [ main::sc#8 main::sc#10 main::sc#1 ] reg byte x [ main::xd#0 ] zp[1]:59 [ main::yd#0 ] zp[2]:60 [ main::$9 ] zp[1]:3 [ main::y#2 main::y#1 ] 
Limited combination testing to 100 combinations of 576 possible.
Uplifting [cputc] best 101808 combination reg byte a [ cputc::c#0 ] 
Uplifting [gotoxy] best 101792 combination zp[2]:68 [ gotoxy::$8 ] zp[2]:70 [ gotoxy::$9 ] zp[2]:74 [ gotoxy::$5 ] zp[2]:76 [ gotoxy::$6 ] reg byte x [ gotoxy::y#5 gotoxy::y#4 gotoxy::y#2 ] zp[2]:66 [ gotoxy::$7 ] zp[2]:72 [ gotoxy::line_offset#0 ] 
Uplifting [printf_number_buffer] best 101785 combination reg byte a [ printf_number_buffer::buffer_sign#0 ] 
Uplifting [printf_uint] best 101785 combination zp[2]:54 [ printf_uint::uvalue#0 ] 
Uplifting [conio_c64_init] best 101773 combination reg byte x [ conio_c64_init::line#2 conio_c64_init::line#0 ] 
Uplifting [cputln] best 101773 combination 
Uplifting [MOS6526_CIA] best 101773 combination 
Uplifting [MOS6569_VICII] best 101773 combination 
Uplifting [MOS6581_SID] best 101773 combination 
Uplifting [cscroll] best 101773 combination 
Uplifting [RADIX] best 101773 combination 
Uplifting [printf_format_number] best 101773 combination 
Uplifting [printf_buffer_number] best 101773 combination 
Uplifting [printf_format_string] best 101773 combination 
Uplifting [__start] best 101773 combination 
Attempting to uplift remaining variables inzp[1]:48 [ conio_cursor_y ]
Uplifting [] best 101773 combination zp[1]:48 [ conio_cursor_y ] 
Attempting to uplift remaining variables inzp[1]:25 [ utoa::digit#2 utoa::digit#1 ]
Uplifting [utoa] best 101773 combination zp[1]:25 [ utoa::digit#2 utoa::digit#1 ] 
Attempting to uplift remaining variables inzp[1]:47 [ conio_cursor_x ]
Uplifting [] best 101773 combination zp[1]:47 [ conio_cursor_x ] 
Attempting to uplift remaining variables inzp[1]:22 [ mul8s::b#2 mul8s::b#1 mul8s::b#0 ]
Uplifting [mul8s] best 101572 combination reg byte y [ mul8s::b#2 mul8s::b#1 mul8s::b#0 ] 
Attempting to uplift remaining variables inzp[1]:21 [ mul8s::a#2 mul8s::a#1 mul8s::a#0 ]
Uplifting [mul8s] best 101572 combination zp[1]:21 [ mul8s::a#2 mul8s::a#1 mul8s::a#0 ] 
Attempting to uplift remaining variables inzp[1]:8 [ main::x#2 main::x#1 ]
Uplifting [main] best 101572 combination zp[1]:8 [ main::x#2 main::x#1 ] 
Attempting to uplift remaining variables inzp[1]:59 [ main::yd#0 ]
Uplifting [main] best 101572 combination zp[1]:59 [ main::yd#0 ] 
Attempting to uplift remaining variables inzp[1]:3 [ main::y#2 main::y#1 ]
Uplifting [main] best 101572 combination zp[1]:3 [ main::y#2 main::y#1 ] 
Coalescing zero page register [ zp[2]:4 [ main::count#11 main::count#10 main::count#12 main::count#1 ] ] with [ zp[2]:54 [ printf_uint::uvalue#0 ] ] - score: 1
Coalescing zero page register [ zp[2]:10 [ memset::num#3 ] ] with [ zp[2]:78 [ memset::end#0 ] ] - score: 1
Coalescing zero page register [ zp[2]:12 [ memset::str#4 ] ] with [ zp[2]:15 [ memset::dst#2 memset::dst#4 memset::dst#1 ] ] - score: 1
Coalescing zero page register [ zp[2]:23 [ mul8s::m#4 mul8s::m#5 mul8s::m#1 mul8s::m#0 mul8s::m#2 ] ] with [ zp[2]:62 [ main::$10 ] ] - score: 1
Coalescing zero page register [ zp[2]:23 [ mul8s::m#4 mul8s::m#5 mul8s::m#1 mul8s::m#0 mul8s::m#2 main::$10 ] ] with [ zp[2]:83 [ mul8u::return#2 ] ] - score: 1
Coalescing zero page register [ zp[2]:26 [ utoa::value#2 utoa::value#6 utoa::value#1 utoa::value#0 ] ] with [ zp[2]:44 [ utoa_append::value#2 utoa_append::value#0 utoa_append::value#1 ] ] - score: 1
Coalescing zero page register [ zp[2]:26 [ utoa::value#2 utoa::value#6 utoa::value#1 utoa::value#0 utoa_append::value#2 utoa_append::value#0 utoa_append::value#1 ] ] with [ zp[2]:99 [ utoa_append::return#0 ] ] - score: 1
Coalescing zero page register [ zp[2]:29 [ utoa::buffer#11 utoa::buffer#14 utoa::buffer#4 ] ] with [ zp[2]:90 [ utoa::buffer#3 ] ] - score: 1
Coalescing zero page register [ zp[2]:29 [ utoa::buffer#11 utoa::buffer#14 utoa::buffer#4 utoa::buffer#3 ] ] with [ zp[2]:95 [ utoa_append::buffer#0 ] ] - score: 1
Coalescing zero page register [ zp[2]:36 [ memcpy::source#2 ] ] with [ zp[2]:40 [ memcpy::src#2 memcpy::src#4 memcpy::src#1 ] ] - score: 1
Coalescing zero page register [ zp[2]:38 [ memcpy::destination#2 ] ] with [ zp[2]:42 [ memcpy::dst#2 memcpy::dst#4 memcpy::dst#1 ] ] - score: 1
Coalescing zero page register [ zp[2]:60 [ main::$9 ] ] with [ zp[2]:64 [ main::dist_sq#0 ] ] - score: 1
Coalescing zero page register [ zp[2]:66 [ gotoxy::$7 ] ] with [ zp[2]:70 [ gotoxy::$9 ] ] - score: 1
Coalescing zero page register [ zp[2]:72 [ gotoxy::line_offset#0 ] ] with [ zp[2]:76 [ gotoxy::$6 ] ] - score: 1
Coalescing zero page register [ zp[2]:93 [ utoa::digit_value#0 ] ] with [ zp[2]:97 [ utoa_append::sub#0 ] ] - score: 1
Coalescing zero page register [ zp[2]:4 [ main::count#11 main::count#10 main::count#12 main::count#1 printf_uint::uvalue#0 ] ] with [ zp[2]:26 [ utoa::value#2 utoa::value#6 utoa::value#1 utoa::value#0 utoa_append::value#2 utoa_append::value#0 utoa_append::value#1 utoa_append::return#0 ] ] - score: 1
Coalescing zero page register [ zp[2]:23 [ mul8s::m#4 mul8s::m#5 mul8s::m#1 mul8s::m#0 mul8s::m#2 main::$10 mul8u::return#2 ] ] with [ zp[2]:32 [ mul8u::res#2 mul8u::res#6 mul8u::res#1 ] ] - score: 1
Coalescing zero page register [ zp[2]:66 [ gotoxy::$7 gotoxy::$9 ] ] with [ zp[2]:72 [ gotoxy::line_offset#0 gotoxy::$6 ] ] - score: 1
Coalescing zero page register [ zp[2]:23 [ mul8s::m#4 mul8s::m#5 mul8s::m#1 mul8s::m#0 mul8s::m#2 main::$10 mul8u::return#2 mul8u::res#2 mul8u::res#6 mul8u::res#1 ] ] with [ zp[2]:17 [ printf_str::putc#4 ] ]
Coalescing zero page register [ zp[1]:25 [ utoa::digit#2 utoa::digit#1 ] ] with [ zp[1]:21 [ mul8s::a#2 mul8s::a#1 mul8s::a#0 ] ]
Coalescing zero page register [ zp[2]:29 [ utoa::buffer#11 utoa::buffer#14 utoa::buffer#4 utoa::buffer#3 utoa_append::buffer#0 ] ] with [ zp[2]:19 [ printf_str::s#3 printf_str::s#4 printf_str::s#0 ] ]
Coalescing zero page register [ zp[2]:36 [ memcpy::source#2 memcpy::src#2 memcpy::src#4 memcpy::src#1 ] ] with [ zp[2]:10 [ memset::num#3 memset::end#0 ] ]
Coalescing zero page register [ zp[2]:38 [ memcpy::destination#2 memcpy::dst#2 memcpy::dst#4 memcpy::dst#1 ] ] with [ zp[2]:12 [ memset::str#4 memset::dst#2 memset::dst#4 memset::dst#1 ] ]
Coalescing zero page register [ zp[2]:93 [ utoa::digit_value#0 utoa_append::sub#0 ] ] with [ zp[2]:34 [ mul8u::mb#2 mul8u::mb#0 mul8u::mb#1 ] ]
Coalescing zero page register [ zp[2]:60 [ main::$9 main::dist_sq#0 ] ] with [ zp[2]:29 [ utoa::buffer#11 utoa::buffer#14 utoa::buffer#4 utoa::buffer#3 utoa_append::buffer#0 printf_str::s#3 printf_str::s#4 printf_str::s#0 ] ]
Allocated (was zp[1]:3) zp[1]:2 [ main::y#2 main::y#1 ]
Allocated (was zp[2]:4) zp[2]:3 [ main::count#11 main::count#10 main::count#12 main::count#1 printf_uint::uvalue#0 utoa::value#2 utoa::value#6 utoa::value#1 utoa::value#0 utoa_append::value#2 utoa_append::value#0 utoa_append::value#1 utoa_append::return#0 ]
Allocated (was zp[2]:6) zp[2]:5 [ main::sc#8 main::sc#10 main::sc#1 ]
Allocated (was zp[1]:8) zp[1]:7 [ main::x#2 main::x#1 ]
Allocated (was zp[2]:23) zp[2]:8 [ mul8s::m#4 mul8s::m#5 mul8s::m#1 mul8s::m#0 mul8s::m#2 main::$10 mul8u::return#2 mul8u::res#2 mul8u::res#6 mul8u::res#1 printf_str::putc#4 ]
Allocated (was zp[1]:25) zp[1]:10 [ utoa::digit#2 utoa::digit#1 mul8s::a#2 mul8s::a#1 mul8s::a#0 ]
Allocated (was zp[2]:36) zp[2]:11 [ memcpy::source#2 memcpy::src#2 memcpy::src#4 memcpy::src#1 memset::num#3 memset::end#0 ]
Allocated (was zp[2]:38) zp[2]:13 [ memcpy::destination#2 memcpy::dst#2 memcpy::dst#4 memcpy::dst#1 memset::str#4 memset::dst#2 memset::dst#4 memset::dst#1 ]
Allocated (was zp[1]:47) zp[1]:15 [ conio_cursor_x ]
Allocated (was zp[1]:48) zp[1]:16 [ conio_cursor_y ]
Allocated (was zp[2]:49) zp[2]:17 [ conio_line_text ]
Allocated (was zp[2]:51) zp[2]:19 [ conio_line_color ]
Allocated (was zp[1]:59) zp[1]:21 [ main::yd#0 ]
Allocated (was zp[2]:60) zp[2]:22 [ main::$9 main::dist_sq#0 utoa::buffer#11 utoa::buffer#14 utoa::buffer#4 utoa::buffer#3 utoa_append::buffer#0 printf_str::s#3 printf_str::s#4 printf_str::s#0 ]
Allocated (was zp[2]:66) zp[2]:24 [ gotoxy::$7 gotoxy::$9 gotoxy::line_offset#0 gotoxy::$6 ]
Allocated (was zp[2]:68) zp[2]:26 [ gotoxy::$8 ]
Allocated (was zp[2]:74) zp[2]:28 [ gotoxy::$5 ]
Allocated (was zp[2]:93) zp[2]:30 [ utoa::digit_value#0 utoa_append::sub#0 mul8u::mb#2 mul8u::mb#0 mul8u::mb#1 ]
Allocated (was zp[2]:102) zp[2]:32 [ memcpy::src_end#0 ]

ASSEMBLER BEFORE OPTIMIZATION
  // File Comments
// Plot a r=9 circle on the screen using chars - count how many chars are used
/// @file
/// C standard library string.h
///
/// Functions to manipulate C strings and arrays.
/// NULL pointer
  // Upstart
  // Commodore 64 PRG executable file
.file [name="circlechars.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUpstart(__start)
  // Global Constants & labels
  .const LIGHT_BLUE = $e
  .const OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS = 1
  .const STACK_BASE = $103
  .const SIZEOF_STRUCT_PRINTF_BUFFER_NUMBER = $c
  /// Color Ram
  .label COLORRAM = $d800
  /// Default address of screen character matrix
  .label DEFAULT_SCREEN = $400
  .label SCREEN = $400
  // The number of bytes on the screen
  // The current cursor x-position
  .label conio_cursor_x = $f
  // The current cursor y-position
  .label conio_cursor_y = $10
  // The current text cursor line start
  .label conio_line_text = $11
  // The current color cursor line start
  .label conio_line_color = $13
.segment Code
  // __start
__start: {
    jmp __init1
    // __start::__init1
  __init1:
    // [1] conio_cursor_x = 0 -- vbuz1=vbuc1 
    lda #0
    sta.z conio_cursor_x
    // [2] conio_cursor_y = 0 -- vbuz1=vbuc1 
    lda #0
    sta.z conio_cursor_y
    // [3] conio_line_text = DEFAULT_SCREEN -- pbuz1=pbuc1 
    lda #<DEFAULT_SCREEN
    sta.z conio_line_text
    lda #>DEFAULT_SCREEN
    sta.z conio_line_text+1
    // [4] conio_line_color = COLORRAM -- pbuz1=pbuc1 
    lda #<COLORRAM
    sta.z conio_line_color
    lda #>COLORRAM
    sta.z conio_line_color+1
    // [5] call conio_c64_init
    jsr conio_c64_init
    // [6] phi from __start::__init1 to __start::@1 [phi:__start::__init1->__start::@1]
  __b1_from___init1:
    jmp __b1
    // __start::@1
  __b1:
    // [7] call main
    // [27] phi from __start::@1 to main [phi:__start::@1->main]
  main_from___b1:
    jsr main
    jmp __breturn
    // __start::@return
  __breturn:
    // [8] return 
    rts
}
  // conio_c64_init
// Set initial cursor position
conio_c64_init: {
    // Position cursor at current line
    .label BASIC_CURSOR_LINE = $d6
    // [9] conio_c64_init::line#0 = *conio_c64_init::BASIC_CURSOR_LINE -- vbuxx=_deref_pbuc1 
    ldx BASIC_CURSOR_LINE
    // [10] if(conio_c64_init::line#0<$19) goto conio_c64_init::@2 -- vbuxx_lt_vbuc1_then_la1 
    cpx #$19
    bcc __b2_from_conio_c64_init
    // [12] phi from conio_c64_init to conio_c64_init::@1 [phi:conio_c64_init->conio_c64_init::@1]
  __b1_from_conio_c64_init:
    // [12] phi conio_c64_init::line#2 = $19-1 [phi:conio_c64_init->conio_c64_init::@1#0] -- vbuxx=vbuc1 
    ldx #$19-1
    jmp __b1
    // [11] phi from conio_c64_init to conio_c64_init::@2 [phi:conio_c64_init->conio_c64_init::@2]
  __b2_from_conio_c64_init:
    jmp __b2
    // conio_c64_init::@2
  __b2:
    // [12] phi from conio_c64_init::@2 to conio_c64_init::@1 [phi:conio_c64_init::@2->conio_c64_init::@1]
  __b1_from___b2:
    // [12] phi conio_c64_init::line#2 = conio_c64_init::line#0 [phi:conio_c64_init::@2->conio_c64_init::@1#0] -- register_copy 
    jmp __b1
    // conio_c64_init::@1
  __b1:
    // [13] gotoxy::y#2 = conio_c64_init::line#2
    // [14] call gotoxy
    // [60] phi from conio_c64_init::@1 to gotoxy [phi:conio_c64_init::@1->gotoxy]
  gotoxy_from___b1:
    // [60] phi gotoxy::y#4 = gotoxy::y#2 [phi:conio_c64_init::@1->gotoxy#0] -- register_copy 
    jsr gotoxy
    jmp __breturn
    // conio_c64_init::@return
  __breturn:
    // [15] return 
    rts
}
  // cputc
// Output one character at the current cursor position
// Moves the cursor forward. Scrolls the entire screen if needed
// void cputc(__register(A) char c)
cputc: {
    .const OFFSET_STACK_C = 0
    // [16] cputc::c#0 = stackidx(char,cputc::OFFSET_STACK_C) -- vbuaa=_stackidxbyte_vbuc1 
    tsx
    lda STACK_BASE+OFFSET_STACK_C,x
    // [17] if(cputc::c#0==' ') goto cputc::@1 -- vbuaa_eq_vbuc1_then_la1 
    cmp #'\n'
    beq __b1_from_cputc
    jmp __b2
    // cputc::@2
  __b2:
    // [18] conio_line_text[conio_cursor_x] = cputc::c#0 -- pbuz1_derefidx_vbuz2=vbuaa 
    ldy.z conio_cursor_x
    sta (conio_line_text),y
    // [19] conio_line_color[conio_cursor_x] = LIGHT_BLUE -- pbuz1_derefidx_vbuz2=vbuc1 
    lda #LIGHT_BLUE
    ldy.z conio_cursor_x
    sta (conio_line_color),y
    // [20] conio_cursor_x = ++ conio_cursor_x -- vbuz1=_inc_vbuz1 
    inc.z conio_cursor_x
    // [21] if(conio_cursor_x!=$28) goto cputc::@return -- vbuz1_neq_vbuc1_then_la1 
    lda #$28
    cmp.z conio_cursor_x
    bne __breturn
    // [22] phi from cputc::@2 to cputc::@3 [phi:cputc::@2->cputc::@3]
  __b3_from___b2:
    jmp __b3
    // cputc::@3
  __b3:
    // [23] call cputln
    jsr cputln
    jmp __breturn
    // cputc::@return
  __breturn:
    // [24] return 
    rts
    // [25] phi from cputc to cputc::@1 [phi:cputc->cputc::@1]
  __b1_from_cputc:
    jmp __b1
    // cputc::@1
  __b1:
    // [26] call cputln
    jsr cputln
    jmp __breturn
}
  // main
main: {
    .label __9 = $16
    .label __10 = 8
    .label yd = $15
    .label dist_sq = $16
    .label y = 2
    .label sc = 5
    .label x = 7
    .label count = 3
    // [28] call memset
    // [81] phi from main to memset [phi:main->memset]
  memset_from_main:
    // [81] phi memset::c#5 = ' ' [phi:main->memset#0] -- vbuxx=vbuc1 
    ldx #' '
    // [81] phi memset::str#4 = (void *)SCREEN [phi:main->memset#1] -- pvoz1=pvoc1 
    lda #<SCREEN
    sta.z memset.str
    lda #>SCREEN
    sta.z memset.str+1
    // [81] phi memset::num#3 = $3e8 [phi:main->memset#2] -- vwuz1=vwuc1 
    lda #<$3e8
    sta.z memset.num
    lda #>$3e8
    sta.z memset.num+1
    jsr memset
    // [29] phi from main to main::@1 [phi:main->main::@1]
  __b1_from_main:
    // [29] phi main::sc#8 = SCREEN [phi:main->main::@1#0] -- pbuz1=pbuc1 
    lda #<SCREEN
    sta.z sc
    lda #>SCREEN
    sta.z sc+1
    // [29] phi main::count#11 = 0 [phi:main->main::@1#1] -- vwuz1=vwuc1 
    lda #<0
    sta.z count
    lda #>0
    sta.z count+1
    // [29] phi main::y#2 = 0 [phi:main->main::@1#2] -- vbsz1=vbsc1 
    lda #0
    sta.z y
    jmp __b1
    // main::@1
  __b1:
    // [30] if(main::y#2<$19) goto main::@3 -- vbsz1_lt_vbsc1_then_la1 
    lda.z y
    sec
    sbc #$19
    bvc !+
    eor #$80
  !:
    bmi __b3_from___b1
    // [31] phi from main::@1 to main::@2 [phi:main::@1->main::@2]
  __b2_from___b1:
    jmp __b2
    // main::@2
  __b2:
    // [32] call gotoxy
    // [60] phi from main::@2 to gotoxy [phi:main::@2->gotoxy]
  gotoxy_from___b2:
    // [60] phi gotoxy::y#4 = 0 [phi:main::@2->gotoxy#0] -- vbuxx=vbuc1 
    ldx #0
    jsr gotoxy
    jmp __b8
    // main::@8
  __b8:
    // [33] printf_uint::uvalue#0 = main::count#11
    // [34] call printf_uint
    // [90] phi from main::@8 to printf_uint [phi:main::@8->printf_uint]
  printf_uint_from___b8:
    jsr printf_uint
    // [35] phi from main::@8 to main::@9 [phi:main::@8->main::@9]
  __b9_from___b8:
    jmp __b9
    // main::@9
  __b9:
    // [36] call printf_str
    // [97] phi from main::@9 to printf_str [phi:main::@9->printf_str]
  printf_str_from___b9:
    // [97] phi printf_str::putc#4 = &cputc [phi:main::@9->printf_str#0] -- pprz1=pprc1 
    lda #<cputc
    sta.z printf_str.putc
    lda #>cputc
    sta.z printf_str.putc+1
    // [97] phi printf_str::s#4 = main::s [phi:main::@9->printf_str#1] -- pbuz1=pbuc1 
    lda #<s
    sta.z printf_str.s
    lda #>s
    sta.z printf_str.s+1
    jsr printf_str
    jmp __breturn
    // main::@return
  __breturn:
    // [37] return 
    rts
    // [38] phi from main::@1 to main::@3 [phi:main::@1->main::@3]
  __b3_from___b1:
    // [38] phi main::count#10 = main::count#11 [phi:main::@1->main::@3#0] -- register_copy 
    // [38] phi main::sc#10 = main::sc#8 [phi:main::@1->main::@3#1] -- register_copy 
    // [38] phi main::x#2 = 0 [phi:main::@1->main::@3#2] -- vbsz1=vbsc1 
    lda #0
    sta.z x
    jmp __b3
    // main::@3
  __b3:
    // [39] if(main::x#2<$28) goto main::@4 -- vbsz1_lt_vbsc1_then_la1 
    lda.z x
    sec
    sbc #$28
    bvc !+
    eor #$80
  !:
    bmi __b4
    jmp __b5
    // main::@5
  __b5:
    // [40] main::y#1 = ++ main::y#2 -- vbsz1=_inc_vbsz1 
    inc.z y
    // [29] phi from main::@5 to main::@1 [phi:main::@5->main::@1]
  __b1_from___b5:
    // [29] phi main::sc#8 = main::sc#10 [phi:main::@5->main::@1#0] -- register_copy 
    // [29] phi main::count#11 = main::count#10 [phi:main::@5->main::@1#1] -- register_copy 
    // [29] phi main::y#2 = main::y#1 [phi:main::@5->main::@1#2] -- register_copy 
    jmp __b1
    // main::@4
  __b4:
    // [41] main::$5 = main::x#2 << 1 -- vbsaa=vbsz1_rol_1 
    lda.z x
    asl
    // [42] main::xd#0 = main::$5 - $27 -- vbsxx=vbsaa_minus_vbsc1 
    // xd = x-19.5 
    // Multiply everything by 2 to allow integer math to calculate with .5 precision
    tax
    axs #$27
    // [43] main::$7 = main::y#2 << 1 -- vbsaa=vbsz1_rol_1 
    lda.z y
    asl
    // [44] main::yd#0 = main::$7 - $18 -- vbsz1=vbsaa_minus_vbsc1 
    // yd = y-12 
    sec
    sbc #$18
    sta.z yd
    // [45] mul8s::a#0 = main::xd#0 -- vbsz1=vbsxx 
    stx.z mul8s.a
    // [46] mul8s::b#0 = main::xd#0 -- vbsyy=vbsxx 
    txa
    tay
    // [47] call mul8s
    // [106] phi from main::@4 to mul8s [phi:main::@4->mul8s]
  mul8s_from___b4:
    // [106] phi mul8s::b#2 = mul8s::b#0 [phi:main::@4->mul8s#0] -- register_copy 
    // [106] phi mul8s::a#2 = mul8s::a#0 [phi:main::@4->mul8s#1] -- register_copy 
    jsr mul8s
    jmp __b10
    // main::@10
  __b10:
    // [48] main::$9 = (int)mul8s::m#4 -- vwsz1=vwsz2 
    lda.z mul8s.m
    sta.z __9
    lda.z mul8s.m+1
    sta.z __9+1
    // [49] mul8s::a#1 = main::yd#0 -- vbsz1=vbsz2 
    lda.z yd
    sta.z mul8s.a
    // [50] mul8s::b#1 = main::yd#0 -- vbsyy=vbsz1 
    ldy.z yd
    // [51] call mul8s
    // [106] phi from main::@10 to mul8s [phi:main::@10->mul8s]
  mul8s_from___b10:
    // [106] phi mul8s::b#2 = mul8s::b#1 [phi:main::@10->mul8s#0] -- register_copy 
    // [106] phi mul8s::a#2 = mul8s::a#1 [phi:main::@10->mul8s#1] -- register_copy 
    jsr mul8s
    jmp __b11
    // main::@11
  __b11:
    // [52] main::$10 = (int)mul8s::m#4
    // [53] main::dist_sq#0 = main::$9 + main::$10 -- vwsz1=vwsz1_plus_vwsz2 
    // dist_sq = xd*xd + yd*yd
    clc
    lda.z dist_sq
    adc.z __10
    sta.z dist_sq
    lda.z dist_sq+1
    adc.z __10+1
    sta.z dist_sq+1
    // [54] if(main::dist_sq#0>=(int)2*9*2*9) goto main::@6 -- vwsz1_ge_vwsc1_then_la1 
    lda.z dist_sq
    cmp #<2*9*2*9
    lda.z dist_sq+1
    sbc #>2*9*2*9
    bvc !+
    eor #$80
  !:
    bpl __b6_from___b11
    jmp __b7
    // main::@7
  __b7:
    // [55] *main::sc#10 = '*' -- _deref_pbuz1=vbuc1 
    lda #'*'
    ldy #0
    sta (sc),y
    // [56] main::count#1 = ++ main::count#10 -- vwuz1=_inc_vwuz1 
    inc.z count
    bne !+
    inc.z count+1
  !:
    // [57] phi from main::@11 main::@7 to main::@6 [phi:main::@11/main::@7->main::@6]
  __b6_from___b11:
  __b6_from___b7:
    // [57] phi main::count#12 = main::count#10 [phi:main::@11/main::@7->main::@6#0] -- register_copy 
    jmp __b6
    // main::@6
  __b6:
    // [58] main::sc#1 = ++ main::sc#10 -- pbuz1=_inc_pbuz1 
    inc.z sc
    bne !+
    inc.z sc+1
  !:
    // [59] main::x#1 = ++ main::x#2 -- vbsz1=_inc_vbsz1 
    inc.z x
    // [38] phi from main::@6 to main::@3 [phi:main::@6->main::@3]
  __b3_from___b6:
    // [38] phi main::count#10 = main::count#12 [phi:main::@6->main::@3#0] -- register_copy 
    // [38] phi main::sc#10 = main::sc#1 [phi:main::@6->main::@3#1] -- register_copy 
    // [38] phi main::x#2 = main::x#1 [phi:main::@6->main::@3#2] -- register_copy 
    jmp __b3
  .segment Data
    s: .text " chars"
    .byte 0
}
.segment Code
  // gotoxy
// Set the cursor to the specified position
// void gotoxy(char x, __register(X) char y)
gotoxy: {
    .label __5 = $1c
    .label __6 = $18
    .label __7 = $18
    .label line_offset = $18
    .label __8 = $1a
    .label __9 = $18
    // [61] if(gotoxy::y#4<$19+1) goto gotoxy::@3 -- vbuxx_lt_vbuc1_then_la1 
    cpx #$19+1
    bcc __b3_from_gotoxy
    // [63] phi from gotoxy to gotoxy::@1 [phi:gotoxy->gotoxy::@1]
  __b1_from_gotoxy:
    // [63] phi gotoxy::y#5 = 0 [phi:gotoxy->gotoxy::@1#0] -- vbuxx=vbuc1 
    ldx #0
    jmp __b1
    // [62] phi from gotoxy to gotoxy::@3 [phi:gotoxy->gotoxy::@3]
  __b3_from_gotoxy:
    jmp __b3
    // gotoxy::@3
  __b3:
    // [63] phi from gotoxy::@3 to gotoxy::@1 [phi:gotoxy::@3->gotoxy::@1]
  __b1_from___b3:
    // [63] phi gotoxy::y#5 = gotoxy::y#4 [phi:gotoxy::@3->gotoxy::@1#0] -- register_copy 
    jmp __b1
    // gotoxy::@1
  __b1:
    jmp __b2
    // gotoxy::@2
  __b2:
    // [64] conio_cursor_x = 0 -- vbuz1=vbuc1 
    lda #0
    sta.z conio_cursor_x
    // [65] conio_cursor_y = gotoxy::y#5 -- vbuz1=vbuxx 
    stx.z conio_cursor_y
    // [66] gotoxy::$7 = (unsigned int)gotoxy::y#5 -- vwuz1=_word_vbuxx 
    txa
    sta.z __7
    lda #0
    sta.z __7+1
    // [67] gotoxy::$8 = gotoxy::$7 << 2 -- vwuz1=vwuz2_rol_2 
    lda.z __7
    asl
    sta.z __8
    lda.z __7+1
    rol
    sta.z __8+1
    asl.z __8
    rol.z __8+1
    // [68] gotoxy::$9 = gotoxy::$8 + gotoxy::$7 -- vwuz1=vwuz2_plus_vwuz1 
    clc
    lda.z __9
    adc.z __8
    sta.z __9
    lda.z __9+1
    adc.z __8+1
    sta.z __9+1
    // [69] gotoxy::line_offset#0 = gotoxy::$9 << 3 -- vwuz1=vwuz1_rol_3 
    asl.z line_offset
    rol.z line_offset+1
    asl.z line_offset
    rol.z line_offset+1
    asl.z line_offset
    rol.z line_offset+1
    // [70] gotoxy::$5 = DEFAULT_SCREEN + gotoxy::line_offset#0 -- pbuz1=pbuc1_plus_vwuz2 
    lda.z line_offset
    clc
    adc #<DEFAULT_SCREEN
    sta.z __5
    lda.z line_offset+1
    adc #>DEFAULT_SCREEN
    sta.z __5+1
    // [71] conio_line_text = gotoxy::$5 -- pbuz1=pbuz2 
    lda.z __5
    sta.z conio_line_text
    lda.z __5+1
    sta.z conio_line_text+1
    // [72] gotoxy::$6 = COLORRAM + gotoxy::line_offset#0 -- pbuz1=pbuc1_plus_vwuz1 
    lda.z __6
    clc
    adc #<COLORRAM
    sta.z __6
    lda.z __6+1
    adc #>COLORRAM
    sta.z __6+1
    // [73] conio_line_color = gotoxy::$6 -- pbuz1=pbuz2 
    lda.z __6
    sta.z conio_line_color
    lda.z __6+1
    sta.z conio_line_color+1
    jmp __breturn
    // gotoxy::@return
  __breturn:
    // [74] return 
    rts
}
  // cputln
// Print a newline
cputln: {
    // [75] conio_line_text = conio_line_text + $28 -- pbuz1=pbuz1_plus_vbuc1 
    lda #$28
    clc
    adc.z conio_line_text
    sta.z conio_line_text
    bcc !+
    inc.z conio_line_text+1
  !:
    // [76] conio_line_color = conio_line_color + $28 -- pbuz1=pbuz1_plus_vbuc1 
    lda #$28
    clc
    adc.z conio_line_color
    sta.z conio_line_color
    bcc !+
    inc.z conio_line_color+1
  !:
    // [77] conio_cursor_x = 0 -- vbuz1=vbuc1 
    lda #0
    sta.z conio_cursor_x
    // [78] conio_cursor_y = ++ conio_cursor_y -- vbuz1=_inc_vbuz1 
    inc.z conio_cursor_y
    // [79] call cscroll
    jsr cscroll
    jmp __breturn
    // cputln::@return
  __breturn:
    // [80] return 
    rts
}
  // memset
// Copies the character c (an unsigned char) to the first num characters of the object pointed to by the argument str.
// void * memset(__zp($d) void *str, __register(X) char c, __zp($b) unsigned int num)
memset: {
    .label end = $b
    .label dst = $d
    .label num = $b
    .label str = $d
    // [82] if(memset::num#3<=0) goto memset::@return -- vwuz1_le_0_then_la1 
    lda.z num
    bne !+
    lda.z num+1
    beq __breturn
  !:
    jmp __b1
    // memset::@1
  __b1:
    // [83] memset::end#0 = (char *)memset::str#4 + memset::num#3 -- pbuz1=pbuz2_plus_vwuz1 
    clc
    lda.z end
    adc.z str
    sta.z end
    lda.z end+1
    adc.z str+1
    sta.z end+1
    // [84] memset::dst#4 = (char *)memset::str#4
    // [85] phi from memset::@1 memset::@3 to memset::@2 [phi:memset::@1/memset::@3->memset::@2]
  __b2_from___b1:
  __b2_from___b3:
    // [85] phi memset::dst#2 = memset::dst#4 [phi:memset::@1/memset::@3->memset::@2#0] -- register_copy 
    jmp __b2
    // memset::@2
  __b2:
    // [86] if(memset::dst#2!=memset::end#0) goto memset::@3 -- pbuz1_neq_pbuz2_then_la1 
    lda.z dst+1
    cmp.z end+1
    bne __b3
    lda.z dst
    cmp.z end
    bne __b3
    jmp __breturn
    // memset::@return
  __breturn:
    // [87] return 
    rts
    // memset::@3
  __b3:
    // [88] *memset::dst#2 = memset::c#5 -- _deref_pbuz1=vbuxx 
    txa
    ldy #0
    sta (dst),y
    // [89] memset::dst#1 = ++ memset::dst#2 -- pbuz1=_inc_pbuz1 
    inc.z dst
    bne !+
    inc.z dst+1
  !:
    jmp __b2_from___b3
}
  // printf_uint
// Print an unsigned int using a specific format
// void printf_uint(void (*putc)(char), __zp(3) unsigned int uvalue, char format_min_length, char format_justify_left, char format_sign_always, char format_zero_padding, char format_upper_case, char format_radix)
printf_uint: {
    .label putc = cputc
    .label uvalue = 3
    jmp __b1
    // printf_uint::@1
  __b1:
    // [91] *((char *)&printf_buffer) = 0 -- _deref_pbuc1=vbuc2 
    // Handle any sign
    lda #0
    sta printf_buffer
    // [92] utoa::value#1 = printf_uint::uvalue#0
    // [93] call utoa
  // Format number into buffer
    // [136] phi from printf_uint::@1 to utoa [phi:printf_uint::@1->utoa]
  utoa_from___b1:
    jsr utoa
    jmp __b2
    // printf_uint::@2
  __b2:
    // [94] printf_number_buffer::buffer_sign#0 = *((char *)&printf_buffer) -- vbuaa=_deref_pbuc1 
    lda printf_buffer
    // [95] call printf_number_buffer
  // Print using format
    // [157] phi from printf_uint::@2 to printf_number_buffer [phi:printf_uint::@2->printf_number_buffer]
  printf_number_buffer_from___b2:
    jsr printf_number_buffer
    jmp __breturn
    // printf_uint::@return
  __breturn:
    // [96] return 
    rts
}
  // printf_str
/// Print a NUL-terminated string
// void printf_str(__zp(8) void (*putc)(char), __zp($16) const char *s)
printf_str: {
    .label s = $16
    .label putc = 8
    // [98] phi from printf_str printf_str::@2 to printf_str::@1 [phi:printf_str/printf_str::@2->printf_str::@1]
  __b1_from_printf_str:
  __b1_from___b2:
    // [98] phi printf_str::s#3 = printf_str::s#4 [phi:printf_str/printf_str::@2->printf_str::@1#0] -- register_copy 
    jmp __b1
    // printf_str::@1
  __b1:
    // [99] printf_str::c#1 = *printf_str::s#3 -- vbuaa=_deref_pbuz1 
    ldy #0
    lda (s),y
    // [100] printf_str::s#0 = ++ printf_str::s#3 -- pbuz1=_inc_pbuz1 
    inc.z s
    bne !+
    inc.z s+1
  !:
    // [101] if(0!=printf_str::c#1) goto printf_str::@2 -- 0_neq_vbuaa_then_la1 
    cmp #0
    bne __b2
    jmp __breturn
    // printf_str::@return
  __breturn:
    // [102] return 
    rts
    // printf_str::@2
  __b2:
    // [103] stackpush(char) = printf_str::c#1 -- _stackpushbyte_=vbuaa 
    pha
    // [104] callexecute *printf_str::putc#4  -- call__deref_pprz1 
    jsr icall1
    // sideeffect stackpullbytes(1) -- _stackpullbyte_1 
    pla
    jmp __b1_from___b2
    // Outside Flow
  icall1:
    jmp (putc)
}
  // mul8s
// Multiply of two signed chars to a signed int
// Fixes offsets introduced by using unsigned multiplication
// int mul8s(__zp($a) signed char a, __register(Y) signed char b)
mul8s: {
    .label m = 8
    .label a = $a
    // [107] mul8u::a#1 = (char)mul8s::a#2 -- vbuxx=vbuz1 
    ldx.z a
    // [108] mul8u::b#0 = (char)mul8s::b#2 -- vbuaa=vbuyy 
    tya
    // [109] call mul8u
    jsr mul8u
    // [110] mul8u::return#2 = mul8u::res#2
    jmp __b5
    // mul8s::@5
  __b5:
    // [111] mul8s::m#0 = mul8u::return#2
    // [112] if(mul8s::a#2>=0) goto mul8s::@1 -- vbsz1_ge_0_then_la1 
    lda.z a
    cmp #0
    bpl __b1_from___b5
    jmp __b3
    // mul8s::@3
  __b3:
    // [113] mul8s::$6 = byte1  mul8s::m#0 -- vbuaa=_byte1_vwuz1 
    lda.z m+1
    // [114] mul8s::$11 = mul8s::$6 - (char)mul8s::b#2 -- vbuaa=vbuaa_minus_vbuyy 
    sty.z $ff
    sec
    sbc.z $ff
    // [115] mul8s::m#1 = mul8s::m#0 byte1= mul8s::$11 -- vwuz1=vwuz1_setbyte1_vbuaa 
    sta.z m+1
    // [116] phi from mul8s::@3 mul8s::@5 to mul8s::@1 [phi:mul8s::@3/mul8s::@5->mul8s::@1]
  __b1_from___b3:
  __b1_from___b5:
    // [116] phi mul8s::m#5 = mul8s::m#1 [phi:mul8s::@3/mul8s::@5->mul8s::@1#0] -- register_copy 
    jmp __b1
    // mul8s::@1
  __b1:
    // [117] if(mul8s::b#2>=0) goto mul8s::@2 -- vbsyy_ge_0_then_la1 
    cpy #0
    bpl __b2_from___b1
    jmp __b4
    // mul8s::@4
  __b4:
    // [118] mul8s::$9 = byte1  mul8s::m#5 -- vbuaa=_byte1_vwuz1 
    lda.z m+1
    // [119] mul8s::$12 = mul8s::$9 - (char)mul8s::a#2 -- vbuaa=vbuaa_minus_vbuz1 
    sec
    sbc.z a
    // [120] mul8s::m#2 = mul8s::m#5 byte1= mul8s::$12 -- vwuz1=vwuz1_setbyte1_vbuaa 
    sta.z m+1
    // [121] phi from mul8s::@1 mul8s::@4 to mul8s::@2 [phi:mul8s::@1/mul8s::@4->mul8s::@2]
  __b2_from___b1:
  __b2_from___b4:
    // [121] phi mul8s::m#4 = mul8s::m#5 [phi:mul8s::@1/mul8s::@4->mul8s::@2#0] -- register_copy 
    jmp __b2
    // mul8s::@2
  __b2:
    jmp __breturn
    // mul8s::@return
  __breturn:
    // [122] return 
    rts
}
  // cscroll
// Scroll the entire screen if the cursor is beyond the last line
cscroll: {
    // [123] if(conio_cursor_y!=$19) goto cscroll::@return -- vbuz1_neq_vbuc1_then_la1 
    lda #$19
    cmp.z conio_cursor_y
    bne __breturn
    // [124] phi from cscroll to cscroll::@1 [phi:cscroll->cscroll::@1]
  __b1_from_cscroll:
    jmp __b1
    // cscroll::@1
  __b1:
    // [125] call memcpy
    // [175] phi from cscroll::@1 to memcpy [phi:cscroll::@1->memcpy]
  memcpy_from___b1:
    // [175] phi memcpy::destination#2 = (void *)DEFAULT_SCREEN [phi:cscroll::@1->memcpy#0] -- pvoz1=pvoc1 
    lda #<DEFAULT_SCREEN
    sta.z memcpy.destination
    lda #>DEFAULT_SCREEN
    sta.z memcpy.destination+1
    // [175] phi memcpy::source#2 = (void *)DEFAULT_SCREEN+$28 [phi:cscroll::@1->memcpy#1] -- pvoz1=pvoc1 
    lda #<DEFAULT_SCREEN+$28
    sta.z memcpy.source
    lda #>DEFAULT_SCREEN+$28
    sta.z memcpy.source+1
    jsr memcpy
    // [126] phi from cscroll::@1 to cscroll::@2 [phi:cscroll::@1->cscroll::@2]
  __b2_from___b1:
    jmp __b2
    // cscroll::@2
  __b2:
    // [127] call memcpy
    // [175] phi from cscroll::@2 to memcpy [phi:cscroll::@2->memcpy]
  memcpy_from___b2:
    // [175] phi memcpy::destination#2 = (void *)COLORRAM [phi:cscroll::@2->memcpy#0] -- pvoz1=pvoc1 
    lda #<COLORRAM
    sta.z memcpy.destination
    lda #>COLORRAM
    sta.z memcpy.destination+1
    // [175] phi memcpy::source#2 = (void *)COLORRAM+$28 [phi:cscroll::@2->memcpy#1] -- pvoz1=pvoc1 
    lda #<COLORRAM+$28
    sta.z memcpy.source
    lda #>COLORRAM+$28
    sta.z memcpy.source+1
    jsr memcpy
    // [128] phi from cscroll::@2 to cscroll::@3 [phi:cscroll::@2->cscroll::@3]
  __b3_from___b2:
    jmp __b3
    // cscroll::@3
  __b3:
    // [129] call memset
    // [81] phi from cscroll::@3 to memset [phi:cscroll::@3->memset]
  memset_from___b3:
    // [81] phi memset::c#5 = ' ' [phi:cscroll::@3->memset#0] -- vbuxx=vbuc1 
    ldx #' '
    // [81] phi memset::str#4 = (void *)DEFAULT_SCREEN+(unsigned int)$19*$28-$28 [phi:cscroll::@3->memset#1] -- pvoz1=pvoc1 
    lda #<DEFAULT_SCREEN+$19*$28-$28
    sta.z memset.str
    lda #>DEFAULT_SCREEN+$19*$28-$28
    sta.z memset.str+1
    // [81] phi memset::num#3 = $28 [phi:cscroll::@3->memset#2] -- vwuz1=vbuc1 
    lda #<$28
    sta.z memset.num
    lda #>$28
    sta.z memset.num+1
    jsr memset
    // [130] phi from cscroll::@3 to cscroll::@4 [phi:cscroll::@3->cscroll::@4]
  __b4_from___b3:
    jmp __b4
    // cscroll::@4
  __b4:
    // [131] call memset
    // [81] phi from cscroll::@4 to memset [phi:cscroll::@4->memset]
  memset_from___b4:
    // [81] phi memset::c#5 = LIGHT_BLUE [phi:cscroll::@4->memset#0] -- vbuxx=vbuc1 
    ldx #LIGHT_BLUE
    // [81] phi memset::str#4 = (void *)COLORRAM+(unsigned int)$19*$28-$28 [phi:cscroll::@4->memset#1] -- pvoz1=pvoc1 
    lda #<COLORRAM+$19*$28-$28
    sta.z memset.str
    lda #>COLORRAM+$19*$28-$28
    sta.z memset.str+1
    // [81] phi memset::num#3 = $28 [phi:cscroll::@4->memset#2] -- vwuz1=vbuc1 
    lda #<$28
    sta.z memset.num
    lda #>$28
    sta.z memset.num+1
    jsr memset
    jmp __b5
    // cscroll::@5
  __b5:
    // [132] conio_line_text = conio_line_text - $28 -- pbuz1=pbuz1_minus_vbuc1 
    sec
    lda.z conio_line_text
    sbc #$28
    sta.z conio_line_text
    lda.z conio_line_text+1
    sbc #0
    sta.z conio_line_text+1
    // [133] conio_line_color = conio_line_color - $28 -- pbuz1=pbuz1_minus_vbuc1 
    sec
    lda.z conio_line_color
    sbc #$28
    sta.z conio_line_color
    lda.z conio_line_color+1
    sbc #0
    sta.z conio_line_color+1
    // [134] conio_cursor_y = -- conio_cursor_y -- vbuz1=_dec_vbuz1 
    dec.z conio_cursor_y
    jmp __breturn
    // cscroll::@return
  __breturn:
    // [135] return 
    rts
}
  // utoa
// Converts unsigned number value to a string representing it in RADIX format.
// If the leading digits are zero they are not included in the string.
// - value : The number to be converted to RADIX
// - buffer : receives the string representing the number and zero-termination.
// - radix : The radix to convert the number to (from the enum RADIX)
// void utoa(__zp(3) unsigned int value, __zp($16) char *buffer, char radix)
utoa: {
    .const max_digits = 5
    .label digit_value = $1e
    .label buffer = $16
    .label digit = $a
    .label value = 3
    // [137] phi from utoa to utoa::@1 [phi:utoa->utoa::@1]
  __b1_from_utoa:
    // [137] phi utoa::buffer#11 = (char *)&printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS [phi:utoa->utoa::@1#0] -- pbuz1=pbuc1 
    lda #<printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS
    sta.z buffer
    lda #>printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS
    sta.z buffer+1
    // [137] phi utoa::started#2 = 0 [phi:utoa->utoa::@1#1] -- vbuxx=vbuc1 
    ldx #0
    // [137] phi utoa::value#2 = utoa::value#1 [phi:utoa->utoa::@1#2] -- register_copy 
    // [137] phi utoa::digit#2 = 0 [phi:utoa->utoa::@1#3] -- vbuz1=vbuc1 
    lda #0
    sta.z digit
    jmp __b1
    // utoa::@1
  __b1:
    // [138] if(utoa::digit#2<utoa::max_digits#1-1) goto utoa::@2 -- vbuz1_lt_vbuc1_then_la1 
    lda.z digit
    cmp #max_digits-1
    bcc __b2
    jmp __b3
    // utoa::@3
  __b3:
    // [139] utoa::$11 = (char)utoa::value#2 -- vbuxx=_byte_vwuz1 
    ldx.z value
    // [140] *utoa::buffer#11 = DIGITS[utoa::$11] -- _deref_pbuz1=pbuc1_derefidx_vbuxx 
    lda DIGITS,x
    ldy #0
    sta (buffer),y
    // [141] utoa::buffer#3 = ++ utoa::buffer#11 -- pbuz1=_inc_pbuz1 
    inc.z buffer
    bne !+
    inc.z buffer+1
  !:
    // [142] *utoa::buffer#3 = 0 -- _deref_pbuz1=vbuc1 
    lda #0
    ldy #0
    sta (buffer),y
    jmp __breturn
    // utoa::@return
  __breturn:
    // [143] return 
    rts
    // utoa::@2
  __b2:
    // [144] utoa::$10 = utoa::digit#2 << 1 -- vbuaa=vbuz1_rol_1 
    lda.z digit
    asl
    // [145] utoa::digit_value#0 = RADIX_DECIMAL_VALUES[utoa::$10] -- vwuz1=pwuc1_derefidx_vbuaa 
    tay
    lda RADIX_DECIMAL_VALUES,y
    sta.z digit_value
    lda RADIX_DECIMAL_VALUES+1,y
    sta.z digit_value+1
    // [146] if(0!=utoa::started#2) goto utoa::@5 -- 0_neq_vbuxx_then_la1 
    cpx #0
    bne __b5
    jmp __b7
    // utoa::@7
  __b7:
    // [147] if(utoa::value#2>=utoa::digit_value#0) goto utoa::@5 -- vwuz1_ge_vwuz2_then_la1 
    lda.z digit_value+1
    cmp.z value+1
    bne !+
    lda.z digit_value
    cmp.z value
    beq __b5
  !:
    bcc __b5
    // [148] phi from utoa::@7 to utoa::@4 [phi:utoa::@7->utoa::@4]
  __b4_from___b7:
    // [148] phi utoa::buffer#14 = utoa::buffer#11 [phi:utoa::@7->utoa::@4#0] -- register_copy 
    // [148] phi utoa::started#4 = utoa::started#2 [phi:utoa::@7->utoa::@4#1] -- register_copy 
    // [148] phi utoa::value#6 = utoa::value#2 [phi:utoa::@7->utoa::@4#2] -- register_copy 
    jmp __b4
    // utoa::@4
  __b4:
    // [149] utoa::digit#1 = ++ utoa::digit#2 -- vbuz1=_inc_vbuz1 
    inc.z digit
    // [137] phi from utoa::@4 to utoa::@1 [phi:utoa::@4->utoa::@1]
  __b1_from___b4:
    // [137] phi utoa::buffer#11 = utoa::buffer#14 [phi:utoa::@4->utoa::@1#0] -- register_copy 
    // [137] phi utoa::started#2 = utoa::started#4 [phi:utoa::@4->utoa::@1#1] -- register_copy 
    // [137] phi utoa::value#2 = utoa::value#6 [phi:utoa::@4->utoa::@1#2] -- register_copy 
    // [137] phi utoa::digit#2 = utoa::digit#1 [phi:utoa::@4->utoa::@1#3] -- register_copy 
    jmp __b1
    // utoa::@5
  __b5:
    // [150] utoa_append::buffer#0 = utoa::buffer#11
    // [151] utoa_append::value#0 = utoa::value#2
    // [152] utoa_append::sub#0 = utoa::digit_value#0
    // [153] call utoa_append
    // [185] phi from utoa::@5 to utoa_append [phi:utoa::@5->utoa_append]
  utoa_append_from___b5:
    jsr utoa_append
    // [154] utoa_append::return#0 = utoa_append::value#2
    jmp __b6
    // utoa::@6
  __b6:
    // [155] utoa::value#0 = utoa_append::return#0
    // [156] utoa::buffer#4 = ++ utoa::buffer#11 -- pbuz1=_inc_pbuz1 
    inc.z buffer
    bne !+
    inc.z buffer+1
  !:
    // [148] phi from utoa::@6 to utoa::@4 [phi:utoa::@6->utoa::@4]
  __b4_from___b6:
    // [148] phi utoa::buffer#14 = utoa::buffer#4 [phi:utoa::@6->utoa::@4#0] -- register_copy 
    // [148] phi utoa::started#4 = 1 [phi:utoa::@6->utoa::@4#1] -- vbuxx=vbuc1 
    ldx #1
    // [148] phi utoa::value#6 = utoa::value#0 [phi:utoa::@6->utoa::@4#2] -- register_copy 
    jmp __b4
}
  // printf_number_buffer
// Print the contents of the number buffer using a specific format.
// This handles minimum length, zero-filling, and left/right justification from the format
// void printf_number_buffer(void (*putc)(char), __register(A) char buffer_sign, char *buffer_digits, char format_min_length, char format_justify_left, char format_sign_always, char format_zero_padding, char format_upper_case, char format_radix)
printf_number_buffer: {
    .label buffer_digits = printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS
    jmp __b1
    // printf_number_buffer::@1
  __b1:
    // [158] if(0==printf_number_buffer::buffer_sign#0) goto printf_number_buffer::@2 -- 0_eq_vbuaa_then_la1 
    cmp #0
    beq __b2_from___b1
    jmp __b3
    // printf_number_buffer::@3
  __b3:
    // [159] stackpush(char) = printf_number_buffer::buffer_sign#0 -- _stackpushbyte_=vbuaa 
    pha
    // [160] callexecute cputc  -- call_vprc1 
    jsr cputc
    // sideeffect stackpullbytes(1) -- _stackpullbyte_1 
    pla
    // [162] phi from printf_number_buffer::@1 printf_number_buffer::@3 to printf_number_buffer::@2 [phi:printf_number_buffer::@1/printf_number_buffer::@3->printf_number_buffer::@2]
  __b2_from___b1:
  __b2_from___b3:
    jmp __b2
    // printf_number_buffer::@2
  __b2:
    // [163] call printf_str
    // [97] phi from printf_number_buffer::@2 to printf_str [phi:printf_number_buffer::@2->printf_str]
  printf_str_from___b2:
    // [97] phi printf_str::putc#4 = printf_uint::putc#0 [phi:printf_number_buffer::@2->printf_str#0] -- pprz1=pprc1 
    lda #<printf_uint.putc
    sta.z printf_str.putc
    lda #>printf_uint.putc
    sta.z printf_str.putc+1
    // [97] phi printf_str::s#4 = printf_number_buffer::buffer_digits#0 [phi:printf_number_buffer::@2->printf_str#1] -- pbuz1=pbuc1 
    lda #<buffer_digits
    sta.z printf_str.s
    lda #>buffer_digits
    sta.z printf_str.s+1
    jsr printf_str
    jmp __breturn
    // printf_number_buffer::@return
  __breturn:
    // [164] return 
    rts
}
  // mul8u
// Perform binary multiplication of two unsigned 8-bit chars into a 16-bit unsigned int
// __zp(8) unsigned int mul8u(__register(X) char a, __register(A) char b)
mul8u: {
    .label mb = $1e
    .label res = 8
    .label return = 8
    // [165] mul8u::mb#0 = (unsigned int)mul8u::b#0 -- vwuz1=_word_vbuaa 
    sta.z mb
    lda #0
    sta.z mb+1
    // [166] phi from mul8u to mul8u::@1 [phi:mul8u->mul8u::@1]
  __b1_from_mul8u:
    // [166] phi mul8u::mb#2 = mul8u::mb#0 [phi:mul8u->mul8u::@1#0] -- register_copy 
    // [166] phi mul8u::res#2 = 0 [phi:mul8u->mul8u::@1#1] -- vwuz1=vwuc1 
    lda #<0
    sta.z res
    lda #>0
    sta.z res+1
    // [166] phi mul8u::a#2 = mul8u::a#1 [phi:mul8u->mul8u::@1#2] -- register_copy 
    jmp __b1
    // mul8u::@1
  __b1:
    // [167] if(mul8u::a#2!=0) goto mul8u::@2 -- vbuxx_neq_0_then_la1 
    cpx #0
    bne __b2
    jmp __breturn
    // mul8u::@return
  __breturn:
    // [168] return 
    rts
    // mul8u::@2
  __b2:
    // [169] mul8u::$1 = mul8u::a#2 & 1 -- vbuaa=vbuxx_band_vbuc1 
    txa
    and #1
    // [170] if(mul8u::$1==0) goto mul8u::@3 -- vbuaa_eq_0_then_la1 
    cmp #0
    beq __b3_from___b2
    jmp __b4
    // mul8u::@4
  __b4:
    // [171] mul8u::res#1 = mul8u::res#2 + mul8u::mb#2 -- vwuz1=vwuz1_plus_vwuz2 
    clc
    lda.z res
    adc.z mb
    sta.z res
    lda.z res+1
    adc.z mb+1
    sta.z res+1
    // [172] phi from mul8u::@2 mul8u::@4 to mul8u::@3 [phi:mul8u::@2/mul8u::@4->mul8u::@3]
  __b3_from___b2:
  __b3_from___b4:
    // [172] phi mul8u::res#6 = mul8u::res#2 [phi:mul8u::@2/mul8u::@4->mul8u::@3#0] -- register_copy 
    jmp __b3
    // mul8u::@3
  __b3:
    // [173] mul8u::a#0 = mul8u::a#2 >> 1 -- vbuxx=vbuxx_ror_1 
    txa
    lsr
    tax
    // [174] mul8u::mb#1 = mul8u::mb#2 << 1 -- vwuz1=vwuz1_rol_1 
    asl.z mb
    rol.z mb+1
    // [166] phi from mul8u::@3 to mul8u::@1 [phi:mul8u::@3->mul8u::@1]
  __b1_from___b3:
    // [166] phi mul8u::mb#2 = mul8u::mb#1 [phi:mul8u::@3->mul8u::@1#0] -- register_copy 
    // [166] phi mul8u::res#2 = mul8u::res#6 [phi:mul8u::@3->mul8u::@1#1] -- register_copy 
    // [166] phi mul8u::a#2 = mul8u::a#0 [phi:mul8u::@3->mul8u::@1#2] -- register_copy 
    jmp __b1
}
  // memcpy
// Copy block of memory (forwards)
// Copies the values of num bytes from the location pointed to by source directly to the memory block pointed to by destination.
// void * memcpy(__zp($d) void *destination, __zp($b) void *source, unsigned int num)
memcpy: {
    .label src_end = $20
    .label dst = $d
    .label src = $b
    .label source = $b
    .label destination = $d
    // [176] memcpy::src_end#0 = (char *)memcpy::source#2 + (unsigned int)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1 
    lda.z source
    clc
    adc #<$19*$28-$28
    sta.z src_end
    lda.z source+1
    adc #>$19*$28-$28
    sta.z src_end+1
    // [177] memcpy::src#4 = (char *)memcpy::source#2
    // [178] memcpy::dst#4 = (char *)memcpy::destination#2
    // [179] phi from memcpy memcpy::@2 to memcpy::@1 [phi:memcpy/memcpy::@2->memcpy::@1]
  __b1_from_memcpy:
  __b1_from___b2:
    // [179] phi memcpy::dst#2 = memcpy::dst#4 [phi:memcpy/memcpy::@2->memcpy::@1#0] -- register_copy 
    // [179] phi memcpy::src#2 = memcpy::src#4 [phi:memcpy/memcpy::@2->memcpy::@1#1] -- register_copy 
    jmp __b1
    // memcpy::@1
  __b1:
    // [180] if(memcpy::src#2!=memcpy::src_end#0) goto memcpy::@2 -- pbuz1_neq_pbuz2_then_la1 
    lda.z src+1
    cmp.z src_end+1
    bne __b2
    lda.z src
    cmp.z src_end
    bne __b2
    jmp __breturn
    // memcpy::@return
  __breturn:
    // [181] return 
    rts
    // memcpy::@2
  __b2:
    // [182] *memcpy::dst#2 = *memcpy::src#2 -- _deref_pbuz1=_deref_pbuz2 
    ldy #0
    lda (src),y
    ldy #0
    sta (dst),y
    // [183] memcpy::dst#1 = ++ memcpy::dst#2 -- pbuz1=_inc_pbuz1 
    inc.z dst
    bne !+
    inc.z dst+1
  !:
    // [184] memcpy::src#1 = ++ memcpy::src#2 -- pbuz1=_inc_pbuz1 
    inc.z src
    bne !+
    inc.z src+1
  !:
    jmp __b1_from___b2
}
  // utoa_append
// Used to convert a single digit of an unsigned number value to a string representation
// Counts a single digit up from '0' as long as the value is larger than sub.
// Each time the digit is increased sub is subtracted from value.
// - buffer : pointer to the char that receives the digit
// - value : The value where the digit will be derived from
// - sub : the value of a '1' in the digit. Subtracted continually while the digit is increased.
//        (For decimal the subs used are 10000, 1000, 100, 10, 1)
// returns : the value reduced by sub * digit so that it is less than sub.
// __zp(3) unsigned int utoa_append(__zp($16) char *buffer, __zp(3) unsigned int value, __zp($1e) unsigned int sub)
utoa_append: {
    .label buffer = $16
    .label value = 3
    .label sub = $1e
    .label return = 3
    // [186] phi from utoa_append to utoa_append::@1 [phi:utoa_append->utoa_append::@1]
  __b1_from_utoa_append:
    // [186] phi utoa_append::digit#2 = 0 [phi:utoa_append->utoa_append::@1#0] -- vbuxx=vbuc1 
    ldx #0
    // [186] phi utoa_append::value#2 = utoa_append::value#0 [phi:utoa_append->utoa_append::@1#1] -- register_copy 
    jmp __b1
    // utoa_append::@1
  __b1:
    // [187] if(utoa_append::value#2>=utoa_append::sub#0) goto utoa_append::@2 -- vwuz1_ge_vwuz2_then_la1 
    lda.z sub+1
    cmp.z value+1
    bne !+
    lda.z sub
    cmp.z value
    beq __b2
  !:
    bcc __b2
    jmp __b3
    // utoa_append::@3
  __b3:
    // [188] *utoa_append::buffer#0 = DIGITS[utoa_append::digit#2] -- _deref_pbuz1=pbuc1_derefidx_vbuxx 
    lda DIGITS,x
    ldy #0
    sta (buffer),y
    jmp __breturn
    // utoa_append::@return
  __breturn:
    // [189] return 
    rts
    // utoa_append::@2
  __b2:
    // [190] utoa_append::digit#1 = ++ utoa_append::digit#2 -- vbuxx=_inc_vbuxx 
    inx
    // [191] utoa_append::value#1 = utoa_append::value#2 - utoa_append::sub#0 -- vwuz1=vwuz1_minus_vwuz2 
    lda.z value
    sec
    sbc.z sub
    sta.z value
    lda.z value+1
    sbc.z sub+1
    sta.z value+1
    // [186] phi from utoa_append::@2 to utoa_append::@1 [phi:utoa_append::@2->utoa_append::@1]
  __b1_from___b2:
    // [186] phi utoa_append::digit#2 = utoa_append::digit#1 [phi:utoa_append::@2->utoa_append::@1#0] -- register_copy 
    // [186] phi utoa_append::value#2 = utoa_append::value#1 [phi:utoa_append::@2->utoa_append::@1#1] -- register_copy 
    jmp __b1
}
  // File Data
.segment Data
  // The digits used for numbers
  DIGITS: .text "0123456789abcdef"
  // Values of decimal digits
  RADIX_DECIMAL_VALUES: .word $2710, $3e8, $64, $a
  // Buffer used for stringified number being printed
  printf_buffer: .fill SIZEOF_STRUCT_PRINTF_BUFFER_NUMBER, 0

ASSEMBLER OPTIMIZATIONS
Removing instruction jmp __init1
Removing instruction jmp __b1
Removing instruction jmp __breturn
Removing instruction jmp __b2
Removing instruction jmp __b1
Removing instruction jmp __breturn
Removing instruction jmp __b2
Removing instruction jmp __b3
Removing instruction jmp __breturn
Removing instruction jmp __b1
Removing instruction jmp __b1
Removing instruction jmp __b2
Removing instruction jmp __b8
Removing instruction jmp __b9
Removing instruction jmp __breturn
Removing instruction jmp __b3
Removing instruction jmp __b5
Removing instruction jmp __b10
Removing instruction jmp __b11
Removing instruction jmp __b7
Removing instruction jmp __b6
Removing instruction jmp __b3
Removing instruction jmp __b1
Removing instruction jmp __b2
Removing instruction jmp __breturn
Removing instruction jmp __breturn
Removing instruction jmp __b1
Removing instruction jmp __b2
Removing instruction jmp __breturn
Removing instruction jmp __b1
Removing instruction jmp __b2
Removing instruction jmp __breturn
Removing instruction jmp __b1
Removing instruction jmp __breturn
Removing instruction jmp __b5
Removing instruction jmp __b3
Removing instruction jmp __b1
Removing instruction jmp __b4
Removing instruction jmp __b2
Removing instruction jmp __breturn
Removing instruction jmp __b1
Removing instruction jmp __b2
Removing instruction jmp __b3
Removing instruction jmp __b4
Removing instruction jmp __b5
Removing instruction jmp __breturn
Removing instruction jmp __b1
Removing instruction jmp __b3
Removing instruction jmp __breturn
Removing instruction jmp __b7
Removing instruction jmp __b4
Removing instruction jmp __b6
Removing instruction jmp __b1
Removing instruction jmp __b3
Removing instruction jmp __b2
Removing instruction jmp __breturn
Removing instruction jmp __b1
Removing instruction jmp __breturn
Removing instruction jmp __b4
Removing instruction jmp __b3
Removing instruction jmp __b1
Removing instruction jmp __breturn
Removing instruction jmp __b1
Removing instruction jmp __b3
Removing instruction jmp __breturn
Succesful ASM optimization Pass5NextJumpElimination
Removing instruction lda #0
Removing instruction ldy.z conio_cursor_x
Removing instruction lda #>0
Removing instruction lda #0
Replacing instruction lda #0 with TXA
Replacing instruction ldy #0 with TAY
Removing instruction lda #>0
Removing instruction ldy #0
Succesful ASM optimization Pass5UnnecesaryLoadElimination
Replacing label __b2_from_conio_c64_init with __b1
Replacing label __b1_from_cputc with __b1
Replacing label __b6_from___b11 with __b6
Replacing label __b3_from_gotoxy with __b2
Replacing label __b1 with __b2
Replacing label __b2_from___b3 with __b2
Replacing label __b1_from___b2 with __b1
Replacing label __b1_from___b5 with __b1
Replacing label __b2_from___b1 with __b2
Replacing label __b2_from___b1 with __b2
Replacing label __b3_from___b2 with __b3
Replacing label __b1_from___b2 with __b1
Removing instruction __b1_from___init1:
Removing instruction main_from___b1:
Removing instruction __b2_from_conio_c64_init:
Removing instruction __b2:
Removing instruction __b1_from___b2:
Removing instruction gotoxy_from___b1:
Removing instruction __b3_from___b2:
Removing instruction __b1_from_cputc:
Removing instruction __b2_from___b1:
Removing instruction gotoxy_from___b2:
Removing instruction printf_uint_from___b8:
Removing instruction __b9_from___b8:
Removing instruction printf_str_from___b9:
Removing instruction __b6_from___b11:
Removing instruction __b6_from___b7:
Removing instruction __b3_from_gotoxy:
Removing instruction __b3:
Removing instruction __b1_from___b3:
Removing instruction __b1:
Removing instruction __b2_from___b1:
Removing instruction __b2_from___b3:
Removing instruction __b1_from_printf_str:
Removing instruction __b1_from___b2:
Removing instruction __b1_from___b3:
Removing instruction __b1_from___b5:
Removing instruction __b2_from___b1:
Removing instruction __b2_from___b4:
Removing instruction __breturn:
Removing instruction __b1_from_cscroll:
Removing instruction memcpy_from___b1:
Removing instruction __b2_from___b1:
Removing instruction memcpy_from___b2:
Removing instruction __b3_from___b2:
Removing instruction memset_from___b3:
Removing instruction __b4_from___b3:
Removing instruction memset_from___b4:
Removing instruction __b4_from___b7:
Removing instruction utoa_append_from___b5:
Removing instruction __b2_from___b1:
Removing instruction __b2_from___b3:
Removing instruction printf_str_from___b2:
Removing instruction __b3_from___b2:
Removing instruction __b3_from___b4:
Removing instruction __b1_from_memcpy:
Removing instruction __b1_from___b2:
Succesful ASM optimization Pass5RedundantLabelElimination
Removing instruction __init1:
Removing instruction __b1:
Removing instruction __breturn:
Removing instruction __b1_from_conio_c64_init:
Removing instruction __breturn:
Removing instruction __b2:
Removing instruction __b3:
Removing instruction memset_from_main:
Removing instruction __b1_from_main:
Removing instruction __b2:
Removing instruction __b8:
Removing instruction __b9:
Removing instruction __breturn:
Removing instruction __b5:
Removing instruction __b1_from___b5:
Removing instruction mul8s_from___b4:
Removing instruction __b10:
Removing instruction mul8s_from___b10:
Removing instruction __b11:
Removing instruction __b7:
Removing instruction __b3_from___b6:
Removing instruction __b1_from_gotoxy:
Removing instruction __breturn:
Removing instruction __breturn:
Removing instruction __b1:
Removing instruction __b1:
Removing instruction utoa_from___b1:
Removing instruction __b2:
Removing instruction printf_number_buffer_from___b2:
Removing instruction __breturn:
Removing instruction __breturn:
Removing instruction __b5:
Removing instruction __b3:
Removing instruction __b4:
Removing instruction __b1:
Removing instruction __b2:
Removing instruction __b3:
Removing instruction __b4:
Removing instruction __b5:
Removing instruction __b1_from_utoa:
Removing instruction __b3:
Removing instruction __breturn:
Removing instruction __b7:
Removing instruction __b1_from___b4:
Removing instruction __b6:
Removing instruction __b4_from___b6:
Removing instruction __b1:
Removing instruction __b3:
Removing instruction __breturn:
Removing instruction __b1_from_mul8u:
Removing instruction __breturn:
Removing instruction __b4:
Removing instruction __b1_from___b3:
Removing instruction __breturn:
Removing instruction __b1_from_utoa_append:
Removing instruction __b3:
Removing instruction __breturn:
Removing instruction __b1_from___b2:
Succesful ASM optimization Pass5UnusedLabelElimination
Replacing jump to rts with rts in jmp __breturn
Succesful ASM optimization Pass5DoubleJumpElimination
Relabelling long label __b3_from___b1 to __b2
Succesful ASM optimization Pass5RelabelLongLabels
Removing instruction jmp __b1
Removing instruction jmp __b2
Succesful ASM optimization Pass5NextJumpElimination
Removing instruction lda.z digit_value+1
Removing instruction lda #<0
Succesful ASM optimization Pass5UnnecesaryLoadElimination

FINAL SYMBOL TABLE
__constant char * const COLORRAM = (char *) 55296
__constant char * const DEFAULT_SCREEN = (char *) 1024
__constant char DIGITS[] = "0123456789abcdef"z
__constant const char LIGHT_BLUE = $e
__constant char OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS = 1
__constant char RADIX::BINARY = 2
__constant char RADIX::DECIMAL = $a
__constant char RADIX::HEXADECIMAL = $10
__constant char RADIX::OCTAL = 8
__constant unsigned int RADIX_DECIMAL_VALUES[] = { $2710, $3e8, $64, $a }
__constant char * const SCREEN = (char *) 1024
__constant char SIZEOF_STRUCT_PRINTF_BUFFER_NUMBER = $c
__constant unsigned int STACK_BASE = $103
void __start()
void conio_c64_init()
__constant char * const conio_c64_init::BASIC_CURSOR_LINE = (char *) 214
char conio_c64_init::line
char conio_c64_init::line#0 // reg byte x 11.0
char conio_c64_init::line#2 // reg byte x 22.0
__loadstore char conio_cursor_x // zp[1]:15 5773.423076923077
__loadstore char conio_cursor_y // zp[1]:16 74421.11627906976
__loadstore char *conio_line_color // zp[2]:19 65003.17647058824
__loadstore char *conio_line_text // zp[2]:17 63145.94285714286
__stackcall void cputc(char c)
__constant char cputc::OFFSET_STACK_C = 0
char cputc::c
char cputc::c#0 // reg byte a 15001.5
void cputln()
void cscroll()
void gotoxy(char x , char y)
char *gotoxy::$5 // zp[2]:28 202.0
char *gotoxy::$6 // zp[2]:24 202.0
unsigned int gotoxy::$7 // zp[2]:24 151.5
unsigned int gotoxy::$8 // zp[2]:26 202.0
unsigned int gotoxy::$9 // zp[2]:24 202.0
unsigned int gotoxy::line_offset
unsigned int gotoxy::line_offset#0 // line_offset zp[2]:24 101.0
char gotoxy::x
char gotoxy::y
char gotoxy::y#2 // reg byte x 22.0
char gotoxy::y#4 // reg byte x 71.0
char gotoxy::y#5 // reg byte x 67.33333333333333
void main()
int main::$10 // zp[2]:8 2002.0
signed char main::$5 // reg byte a 2002.0
signed char main::$7 // reg byte a 2002.0
int main::$9 // zp[2]:22 400.4
unsigned int main::count
unsigned int main::count#1 // count zp[2]:3 2002.0
unsigned int main::count#10 // count zp[2]:3 178.05555555555557
unsigned int main::count#11 // count zp[2]:3 53.25
unsigned int main::count#12 // count zp[2]:3 1001.0
int main::dist_sq
int main::dist_sq#0 // dist_sq zp[2]:22 2002.0
__constant char main::s[7] = " chars"
char *main::sc
char *main::sc#1 // sc zp[2]:5 1001.0
char *main::sc#10 // sc zp[2]:5 160.25
char *main::sc#8 // sc zp[2]:5 101.0
signed char main::x
signed char main::x#1 // x zp[1]:7 2002.0
signed char main::x#2 // x zp[1]:7 200.2
signed char main::xd
signed char main::xd#0 // reg byte x 750.75
signed char main::y
signed char main::y#1 // y zp[1]:2 202.0
signed char main::y#2 // y zp[1]:2 56.69565217391305
signed char main::yd
signed char main::yd#0 // yd zp[1]:21 500.5
void * memcpy(void *destination , void *source , unsigned int num)
void *memcpy::destination
void *memcpy::destination#2 // destination zp[2]:13
char *memcpy::dst
char *memcpy::dst#1 // dst zp[2]:13 1.00000001E8
char *memcpy::dst#2 // dst zp[2]:13 1.0333333466666667E8
char *memcpy::dst#4 // dst zp[2]:13 2.0000002E7
unsigned int memcpy::num
void *memcpy::return
void *memcpy::source
void *memcpy::source#2 // source zp[2]:11
char *memcpy::src
char *memcpy::src#1 // src zp[2]:11 2.00000002E8
char *memcpy::src#2 // src zp[2]:11 1.0250000125E8
char *memcpy::src#4 // src zp[2]:11 1.0000001E7
char *memcpy::src_end
char *memcpy::src_end#0 // src_end zp[2]:32 1.375000025E7
void * memset(void *str , char c , unsigned int num)
char memset::c
char memset::c#5 // reg byte x 1.2500000125E7
char *memset::dst
char *memset::dst#1 // dst zp[2]:13 2.00000002E8
char *memset::dst#2 // dst zp[2]:13 1.3666666833333334E8
char *memset::dst#4 // dst zp[2]:13 2.0000002E7
char *memset::end
char *memset::end#0 // end zp[2]:11 1.8333333666666668E7
unsigned int memset::num
unsigned int memset::num#3 // num zp[2]:11 1.0000001E7
void *memset::return
void *memset::str
void *memset::str#4 // str zp[2]:13
int mul8s(signed char a , signed char b)
char mul8s::$11 // reg byte a 20002.0
char mul8s::$12 // reg byte a 20002.0
char mul8s::$6 // reg byte a 20002.0
char mul8s::$9 // reg byte a 20002.0
signed char mul8s::a
signed char mul8s::a#0 // a zp[1]:10 1001.0
signed char mul8s::a#1 // a zp[1]:10 1001.0
signed char mul8s::a#2 // a zp[1]:10 923.3076923076923
signed char mul8s::b
signed char mul8s::b#0 // reg byte y 2002.0
signed char mul8s::b#1 // reg byte y 2002.0
signed char mul8s::b#2 // reg byte y 1091.181818181818
unsigned int mul8s::m
unsigned int mul8s::m#0 // m zp[2]:8 10001.0
unsigned int mul8s::m#1 // m zp[2]:8 20002.0
unsigned int mul8s::m#2 // m zp[2]:8 20002.0
unsigned int mul8s::m#4 // m zp[2]:8 5000.5
unsigned int mul8s::m#5 // m zp[2]:8 12501.25
int mul8s::return
unsigned int mul8u(char a , char b)
char mul8u::$1 // reg byte a 2.00000002E8
char mul8u::a
char mul8u::a#0 // reg byte x 1.00000001E8
char mul8u::a#1 // reg byte x 36667.33333333333
char mul8u::a#2 // reg byte x 6.668333416666667E7
char mul8u::b
char mul8u::b#0 // reg byte a 10001.0
unsigned int mul8u::mb
unsigned int mul8u::mb#0 // mb zp[2]:30 200002.0
unsigned int mul8u::mb#1 // mb zp[2]:30 2.00000002E8
unsigned int mul8u::mb#2 // mb zp[2]:30 4.287142914285715E7
unsigned int mul8u::res
unsigned int mul8u::res#1 // res zp[2]:8 2.00000002E8
unsigned int mul8u::res#2 // res zp[2]:8 5.0001667333333336E7
unsigned int mul8u::res#6 // res zp[2]:8 1.00000001E8
unsigned int mul8u::return
unsigned int mul8u::return#2 // return zp[2]:8 20002.0
__loadstore struct printf_buffer_number printf_buffer = {} // mem[12]
void printf_number_buffer(void (*putc)(char) , char buffer_sign , char *buffer_digits , char format_min_length , char format_justify_left , char format_sign_always , char format_zero_padding , char format_upper_case , char format_radix)
struct printf_buffer_number printf_number_buffer::buffer
char *printf_number_buffer::buffer_digits
__constant char *printf_number_buffer::buffer_digits#0 = (char *)&printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS // buffer_digits
char printf_number_buffer::buffer_sign
char printf_number_buffer::buffer_sign#0 // reg byte a 701.0
struct printf_format_number printf_number_buffer::format
char printf_number_buffer::format_justify_left
char printf_number_buffer::format_min_length
char printf_number_buffer::format_radix
char printf_number_buffer::format_sign_always
char printf_number_buffer::format_upper_case
char printf_number_buffer::format_zero_padding
signed char printf_number_buffer::len
signed char printf_number_buffer::padding
void (*printf_number_buffer::putc)(char)
void printf_str(void (*putc)(char) , const char *s)
char printf_str::c
char printf_str::c#1 // reg byte a 100001.0
void (*printf_str::putc)(char)
void (*printf_str::putc#4)(char) // putc zp[2]:8
const char *printf_str::s
const char *printf_str::s#0 // s zp[2]:22 100001.0
const char *printf_str::s#3 // s zp[2]:22 155002.0
const char *printf_str::s#4 // s zp[2]:22 10001.0
void printf_uint(void (*putc)(char) , unsigned int uvalue , char format_min_length , char format_justify_left , char format_sign_always , char format_zero_padding , char format_upper_case , char format_radix)
struct printf_format_number printf_uint::format
char printf_uint::format_justify_left
char printf_uint::format_min_length
char printf_uint::format_radix
char printf_uint::format_sign_always
char printf_uint::format_upper_case
char printf_uint::format_zero_padding
void (*printf_uint::putc)(char)
__constant void (*printf_uint::putc#0)(char) = &cputc // putc
unsigned int printf_uint::uvalue
unsigned int printf_uint::uvalue#0 // uvalue zp[2]:3 37.33333333333333
void utoa(unsigned int value , char *buffer , char radix)
char utoa::$10 // reg byte a 20002.0
char utoa::$11 // reg byte x 2002.0
char *utoa::buffer
char *utoa::buffer#11 // buffer zp[2]:22 3000.4285714285716
char *utoa::buffer#14 // buffer zp[2]:22 15001.5
char *utoa::buffer#3 // buffer zp[2]:22 2002.0
char *utoa::buffer#4 // buffer zp[2]:22 20002.0
char utoa::digit
char utoa::digit#1 // digit zp[1]:10 20002.0
char utoa::digit#2 // digit zp[1]:10 2857.4285714285716
unsigned int utoa::digit_value
unsigned int utoa::digit_value#0 // digit_value zp[2]:30 6000.6
unsigned int *utoa::digit_values
char utoa::max_digits
__constant char utoa::max_digits#1 = 5 // max_digits
char utoa::radix
char utoa::started
char utoa::started#2 // reg byte x 5000.5
char utoa::started#4 // reg byte x 10001.0
unsigned int utoa::value
unsigned int utoa::value#0 // value zp[2]:3 10001.0
unsigned int utoa::value#1 // value zp[2]:3 551.0
unsigned int utoa::value#2 // value zp[2]:3 5857.857142857143
unsigned int utoa::value#6 // value zp[2]:3 15001.5
unsigned int utoa_append(char *buffer , unsigned int value , unsigned int sub)
char *utoa_append::buffer
char *utoa_append::buffer#0 // buffer zp[2]:22 13750.25
char utoa_append::digit
char utoa_append::digit#1 // reg byte x 1.0000001E7
char utoa_append::digit#2 // reg byte x 1.00500015E7
unsigned int utoa_append::return
unsigned int utoa_append::return#0 // return zp[2]:3 20002.0
unsigned int utoa_append::sub
unsigned int utoa_append::sub#0 // sub zp[2]:30 3335000.5
unsigned int utoa_append::value
unsigned int utoa_append::value#0 // value zp[2]:3 36667.33333333333
unsigned int utoa_append::value#1 // value zp[2]:3 2.0000002E7
unsigned int utoa_append::value#2 // value zp[2]:3 5018334.166666666

reg byte x [ conio_c64_init::line#2 conio_c64_init::line#0 ]
zp[1]:2 [ main::y#2 main::y#1 ]
zp[2]:3 [ main::count#11 main::count#10 main::count#12 main::count#1 printf_uint::uvalue#0 utoa::value#2 utoa::value#6 utoa::value#1 utoa::value#0 utoa_append::value#2 utoa_append::value#0 utoa_append::value#1 utoa_append::return#0 ]
zp[2]:5 [ main::sc#8 main::sc#10 main::sc#1 ]
zp[1]:7 [ main::x#2 main::x#1 ]
reg byte x [ gotoxy::y#5 gotoxy::y#4 gotoxy::y#2 ]
reg byte x [ memset::c#5 ]
reg byte y [ mul8s::b#2 mul8s::b#1 mul8s::b#0 ]
zp[2]:8 [ mul8s::m#4 mul8s::m#5 mul8s::m#1 mul8s::m#0 mul8s::m#2 main::$10 mul8u::return#2 mul8u::res#2 mul8u::res#6 mul8u::res#1 printf_str::putc#4 ]
zp[1]:10 [ utoa::digit#2 utoa::digit#1 mul8s::a#2 mul8s::a#1 mul8s::a#0 ]
reg byte x [ utoa::started#2 utoa::started#4 ]
reg byte x [ mul8u::a#2 mul8u::a#1 mul8u::a#0 ]
zp[2]:11 [ memcpy::source#2 memcpy::src#2 memcpy::src#4 memcpy::src#1 memset::num#3 memset::end#0 ]
zp[2]:13 [ memcpy::destination#2 memcpy::dst#2 memcpy::dst#4 memcpy::dst#1 memset::str#4 memset::dst#2 memset::dst#4 memset::dst#1 ]
reg byte x [ utoa_append::digit#2 utoa_append::digit#1 ]
zp[1]:15 [ conio_cursor_x ]
zp[1]:16 [ conio_cursor_y ]
zp[2]:17 [ conio_line_text ]
zp[2]:19 [ conio_line_color ]
reg byte a [ cputc::c#0 ]
reg byte a [ main::$5 ]
reg byte x [ main::xd#0 ]
reg byte a [ main::$7 ]
zp[1]:21 [ main::yd#0 ]
zp[2]:22 [ main::$9 main::dist_sq#0 utoa::buffer#11 utoa::buffer#14 utoa::buffer#4 utoa::buffer#3 utoa_append::buffer#0 printf_str::s#3 printf_str::s#4 printf_str::s#0 ]
zp[2]:24 [ gotoxy::$7 gotoxy::$9 gotoxy::line_offset#0 gotoxy::$6 ]
zp[2]:26 [ gotoxy::$8 ]
zp[2]:28 [ gotoxy::$5 ]
reg byte a [ printf_number_buffer::buffer_sign#0 ]
reg byte a [ printf_str::c#1 ]
reg byte a [ mul8u::b#0 ]
reg byte a [ mul8s::$6 ]
reg byte a [ mul8s::$11 ]
reg byte a [ mul8s::$9 ]
reg byte a [ mul8s::$12 ]
reg byte x [ utoa::$11 ]
reg byte a [ utoa::$10 ]
zp[2]:30 [ utoa::digit_value#0 utoa_append::sub#0 mul8u::mb#2 mul8u::mb#0 mul8u::mb#1 ]
reg byte a [ mul8u::$1 ]
zp[2]:32 [ memcpy::src_end#0 ]
mem[12] [ printf_buffer ]


FINAL ASSEMBLER
Score: 81154

  // File Comments
// Plot a r=9 circle on the screen using chars - count how many chars are used
/// @file
/// C standard library string.h
///
/// Functions to manipulate C strings and arrays.
/// NULL pointer
  // Upstart
  // Commodore 64 PRG executable file
.file [name="circlechars.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUpstart(__start)
  // Global Constants & labels
  .const LIGHT_BLUE = $e
  .const OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS = 1
  .const STACK_BASE = $103
  .const SIZEOF_STRUCT_PRINTF_BUFFER_NUMBER = $c
  /// Color Ram
  .label COLORRAM = $d800
  /// Default address of screen character matrix
  .label DEFAULT_SCREEN = $400
  .label SCREEN = $400
  // The number of bytes on the screen
  // The current cursor x-position
  .label conio_cursor_x = $f
  // The current cursor y-position
  .label conio_cursor_y = $10
  // The current text cursor line start
  .label conio_line_text = $11
  // The current color cursor line start
  .label conio_line_color = $13
.segment Code
  // __start
__start: {
    // __start::__init1
    // __ma char conio_cursor_x = 0
    // [1] conio_cursor_x = 0 -- vbuz1=vbuc1 
    lda #0
    sta.z conio_cursor_x
    // __ma char conio_cursor_y = 0
    // [2] conio_cursor_y = 0 -- vbuz1=vbuc1 
    sta.z conio_cursor_y
    // __ma char *conio_line_text = CONIO_SCREEN_TEXT
    // [3] conio_line_text = DEFAULT_SCREEN -- pbuz1=pbuc1 
    lda #<DEFAULT_SCREEN
    sta.z conio_line_text
    lda #>DEFAULT_SCREEN
    sta.z conio_line_text+1
    // __ma char *conio_line_color = CONIO_SCREEN_COLORS
    // [4] conio_line_color = COLORRAM -- pbuz1=pbuc1 
    lda #<COLORRAM
    sta.z conio_line_color
    lda #>COLORRAM
    sta.z conio_line_color+1
    // #pragma constructor_for(conio_c64_init, cputc, clrscr, cscroll)
    // [5] call conio_c64_init
    jsr conio_c64_init
    // [6] phi from __start::__init1 to __start::@1 [phi:__start::__init1->__start::@1]
    // __start::@1
    // [7] call main
    // [27] phi from __start::@1 to main [phi:__start::@1->main]
    jsr main
    // __start::@return
    // [8] return 
    rts
}
  // conio_c64_init
// Set initial cursor position
conio_c64_init: {
    // Position cursor at current line
    .label BASIC_CURSOR_LINE = $d6
    // char line = *BASIC_CURSOR_LINE
    // [9] conio_c64_init::line#0 = *conio_c64_init::BASIC_CURSOR_LINE -- vbuxx=_deref_pbuc1 
    ldx BASIC_CURSOR_LINE
    // if(line>=CONIO_HEIGHT)
    // [10] if(conio_c64_init::line#0<$19) goto conio_c64_init::@2 -- vbuxx_lt_vbuc1_then_la1 
    cpx #$19
    bcc __b1
    // [12] phi from conio_c64_init to conio_c64_init::@1 [phi:conio_c64_init->conio_c64_init::@1]
    // [12] phi conio_c64_init::line#2 = $19-1 [phi:conio_c64_init->conio_c64_init::@1#0] -- vbuxx=vbuc1 
    ldx #$19-1
    // [11] phi from conio_c64_init to conio_c64_init::@2 [phi:conio_c64_init->conio_c64_init::@2]
    // conio_c64_init::@2
    // [12] phi from conio_c64_init::@2 to conio_c64_init::@1 [phi:conio_c64_init::@2->conio_c64_init::@1]
    // [12] phi conio_c64_init::line#2 = conio_c64_init::line#0 [phi:conio_c64_init::@2->conio_c64_init::@1#0] -- register_copy 
    // conio_c64_init::@1
  __b1:
    // gotoxy(0, line)
    // [13] gotoxy::y#2 = conio_c64_init::line#2
    // [14] call gotoxy
    // [60] phi from conio_c64_init::@1 to gotoxy [phi:conio_c64_init::@1->gotoxy]
    // [60] phi gotoxy::y#4 = gotoxy::y#2 [phi:conio_c64_init::@1->gotoxy#0] -- register_copy 
    jsr gotoxy
    // conio_c64_init::@return
    // }
    // [15] return 
    rts
}
  // cputc
// Output one character at the current cursor position
// Moves the cursor forward. Scrolls the entire screen if needed
// void cputc(__register(A) char c)
cputc: {
    .const OFFSET_STACK_C = 0
    // [16] cputc::c#0 = stackidx(char,cputc::OFFSET_STACK_C) -- vbuaa=_stackidxbyte_vbuc1 
    tsx
    lda STACK_BASE+OFFSET_STACK_C,x
    // if(c=='\n')
    // [17] if(cputc::c#0==' ') goto cputc::@1 -- vbuaa_eq_vbuc1_then_la1 
    cmp #'\n'
    beq __b1
    // cputc::@2
    // conio_line_text[conio_cursor_x] = c
    // [18] conio_line_text[conio_cursor_x] = cputc::c#0 -- pbuz1_derefidx_vbuz2=vbuaa 
    ldy.z conio_cursor_x
    sta (conio_line_text),y
    // conio_line_color[conio_cursor_x] = conio_textcolor
    // [19] conio_line_color[conio_cursor_x] = LIGHT_BLUE -- pbuz1_derefidx_vbuz2=vbuc1 
    lda #LIGHT_BLUE
    sta (conio_line_color),y
    // if(++conio_cursor_x==CONIO_WIDTH)
    // [20] conio_cursor_x = ++ conio_cursor_x -- vbuz1=_inc_vbuz1 
    inc.z conio_cursor_x
    // [21] if(conio_cursor_x!=$28) goto cputc::@return -- vbuz1_neq_vbuc1_then_la1 
    lda #$28
    cmp.z conio_cursor_x
    bne __breturn
    // [22] phi from cputc::@2 to cputc::@3 [phi:cputc::@2->cputc::@3]
    // cputc::@3
    // cputln()
    // [23] call cputln
    jsr cputln
    // cputc::@return
  __breturn:
    // }
    // [24] return 
    rts
    // [25] phi from cputc to cputc::@1 [phi:cputc->cputc::@1]
    // cputc::@1
  __b1:
    // cputln()
    // [26] call cputln
    jsr cputln
    rts
}
  // main
main: {
    .label __9 = $16
    .label __10 = 8
    .label yd = $15
    .label dist_sq = $16
    .label y = 2
    .label sc = 5
    .label x = 7
    .label count = 3
    // memset(SCREEN, ' ', 1000)
    // [28] call memset
    // [81] phi from main to memset [phi:main->memset]
    // [81] phi memset::c#5 = ' ' [phi:main->memset#0] -- vbuxx=vbuc1 
    ldx #' '
    // [81] phi memset::str#4 = (void *)SCREEN [phi:main->memset#1] -- pvoz1=pvoc1 
    lda #<SCREEN
    sta.z memset.str
    lda #>SCREEN
    sta.z memset.str+1
    // [81] phi memset::num#3 = $3e8 [phi:main->memset#2] -- vwuz1=vwuc1 
    lda #<$3e8
    sta.z memset.num
    lda #>$3e8
    sta.z memset.num+1
    jsr memset
    // [29] phi from main to main::@1 [phi:main->main::@1]
    // [29] phi main::sc#8 = SCREEN [phi:main->main::@1#0] -- pbuz1=pbuc1 
    lda #<SCREEN
    sta.z sc
    lda #>SCREEN
    sta.z sc+1
    // [29] phi main::count#11 = 0 [phi:main->main::@1#1] -- vwuz1=vwuc1 
    lda #<0
    sta.z count
    sta.z count+1
    // [29] phi main::y#2 = 0 [phi:main->main::@1#2] -- vbsz1=vbsc1 
    sta.z y
    // main::@1
  __b1:
    // for(signed char y=0;y<25;y++)
    // [30] if(main::y#2<$19) goto main::@3 -- vbsz1_lt_vbsc1_then_la1 
    lda.z y
    sec
    sbc #$19
    bvc !+
    eor #$80
  !:
    bmi __b2
    // [31] phi from main::@1 to main::@2 [phi:main::@1->main::@2]
    // main::@2
    // gotoxy(0,0)
    // [32] call gotoxy
    // [60] phi from main::@2 to gotoxy [phi:main::@2->gotoxy]
    // [60] phi gotoxy::y#4 = 0 [phi:main::@2->gotoxy#0] -- vbuxx=vbuc1 
    ldx #0
    jsr gotoxy
    // main::@8
    // printf("%u chars",count)
    // [33] printf_uint::uvalue#0 = main::count#11
    // [34] call printf_uint
    // [90] phi from main::@8 to printf_uint [phi:main::@8->printf_uint]
    jsr printf_uint
    // [35] phi from main::@8 to main::@9 [phi:main::@8->main::@9]
    // main::@9
    // printf("%u chars",count)
    // [36] call printf_str
    // [97] phi from main::@9 to printf_str [phi:main::@9->printf_str]
    // [97] phi printf_str::putc#4 = &cputc [phi:main::@9->printf_str#0] -- pprz1=pprc1 
    lda #<cputc
    sta.z printf_str.putc
    lda #>cputc
    sta.z printf_str.putc+1
    // [97] phi printf_str::s#4 = main::s [phi:main::@9->printf_str#1] -- pbuz1=pbuc1 
    lda #<s
    sta.z printf_str.s
    lda #>s
    sta.z printf_str.s+1
    jsr printf_str
    // main::@return
    // }
    // [37] return 
    rts
    // [38] phi from main::@1 to main::@3 [phi:main::@1->main::@3]
  __b2:
    // [38] phi main::count#10 = main::count#11 [phi:main::@1->main::@3#0] -- register_copy 
    // [38] phi main::sc#10 = main::sc#8 [phi:main::@1->main::@3#1] -- register_copy 
    // [38] phi main::x#2 = 0 [phi:main::@1->main::@3#2] -- vbsz1=vbsc1 
    lda #0
    sta.z x
    // main::@3
  __b3:
    // for(signed char x=0;x<40;x++)
    // [39] if(main::x#2<$28) goto main::@4 -- vbsz1_lt_vbsc1_then_la1 
    lda.z x
    sec
    sbc #$28
    bvc !+
    eor #$80
  !:
    bmi __b4
    // main::@5
    // for(signed char y=0;y<25;y++)
    // [40] main::y#1 = ++ main::y#2 -- vbsz1=_inc_vbsz1 
    inc.z y
    // [29] phi from main::@5 to main::@1 [phi:main::@5->main::@1]
    // [29] phi main::sc#8 = main::sc#10 [phi:main::@5->main::@1#0] -- register_copy 
    // [29] phi main::count#11 = main::count#10 [phi:main::@5->main::@1#1] -- register_copy 
    // [29] phi main::y#2 = main::y#1 [phi:main::@5->main::@1#2] -- register_copy 
    jmp __b1
    // main::@4
  __b4:
    // x*2
    // [41] main::$5 = main::x#2 << 1 -- vbsaa=vbsz1_rol_1 
    lda.z x
    asl
    // signed char xd = x*2-39
    // [42] main::xd#0 = main::$5 - $27 -- vbsxx=vbsaa_minus_vbsc1 
    // xd = x-19.5 
    // Multiply everything by 2 to allow integer math to calculate with .5 precision
    tax
    axs #$27
    // y*2
    // [43] main::$7 = main::y#2 << 1 -- vbsaa=vbsz1_rol_1 
    lda.z y
    asl
    // signed char yd = y*2-24
    // [44] main::yd#0 = main::$7 - $18 -- vbsz1=vbsaa_minus_vbsc1 
    // yd = y-12 
    sec
    sbc #$18
    sta.z yd
    // mul8s(xd,xd)
    // [45] mul8s::a#0 = main::xd#0 -- vbsz1=vbsxx 
    stx.z mul8s.a
    // [46] mul8s::b#0 = main::xd#0 -- vbsyy=vbsxx 
    txa
    tay
    // [47] call mul8s
    // [106] phi from main::@4 to mul8s [phi:main::@4->mul8s]
    // [106] phi mul8s::b#2 = mul8s::b#0 [phi:main::@4->mul8s#0] -- register_copy 
    // [106] phi mul8s::a#2 = mul8s::a#0 [phi:main::@4->mul8s#1] -- register_copy 
    jsr mul8s
    // main::@10
    // mul8s(xd,xd)
    // [48] main::$9 = (int)mul8s::m#4 -- vwsz1=vwsz2 
    lda.z mul8s.m
    sta.z __9
    lda.z mul8s.m+1
    sta.z __9+1
    // mul8s(yd,yd)
    // [49] mul8s::a#1 = main::yd#0 -- vbsz1=vbsz2 
    lda.z yd
    sta.z mul8s.a
    // [50] mul8s::b#1 = main::yd#0 -- vbsyy=vbsz1 
    ldy.z yd
    // [51] call mul8s
    // [106] phi from main::@10 to mul8s [phi:main::@10->mul8s]
    // [106] phi mul8s::b#2 = mul8s::b#1 [phi:main::@10->mul8s#0] -- register_copy 
    // [106] phi mul8s::a#2 = mul8s::a#1 [phi:main::@10->mul8s#1] -- register_copy 
    jsr mul8s
    // main::@11
    // mul8s(yd,yd)
    // [52] main::$10 = (int)mul8s::m#4
    // signed int dist_sq = mul8s(xd,xd) + mul8s(yd,yd)
    // [53] main::dist_sq#0 = main::$9 + main::$10 -- vwsz1=vwsz1_plus_vwsz2 
    // dist_sq = xd*xd + yd*yd
    clc
    lda.z dist_sq
    adc.z __10
    sta.z dist_sq
    lda.z dist_sq+1
    adc.z __10+1
    sta.z dist_sq+1
    // if(dist_sq<2*9*2*9)
    // [54] if(main::dist_sq#0>=(int)2*9*2*9) goto main::@6 -- vwsz1_ge_vwsc1_then_la1 
    lda.z dist_sq
    cmp #<2*9*2*9
    lda.z dist_sq+1
    sbc #>2*9*2*9
    bvc !+
    eor #$80
  !:
    bpl __b6
    // main::@7
    // *sc = '*'
    // [55] *main::sc#10 = '*' -- _deref_pbuz1=vbuc1 
    lda #'*'
    ldy #0
    sta (sc),y
    // count++;
    // [56] main::count#1 = ++ main::count#10 -- vwuz1=_inc_vwuz1 
    inc.z count
    bne !+
    inc.z count+1
  !:
    // [57] phi from main::@11 main::@7 to main::@6 [phi:main::@11/main::@7->main::@6]
    // [57] phi main::count#12 = main::count#10 [phi:main::@11/main::@7->main::@6#0] -- register_copy 
    // main::@6
  __b6:
    // sc++;
    // [58] main::sc#1 = ++ main::sc#10 -- pbuz1=_inc_pbuz1 
    inc.z sc
    bne !+
    inc.z sc+1
  !:
    // for(signed char x=0;x<40;x++)
    // [59] main::x#1 = ++ main::x#2 -- vbsz1=_inc_vbsz1 
    inc.z x
    // [38] phi from main::@6 to main::@3 [phi:main::@6->main::@3]
    // [38] phi main::count#10 = main::count#12 [phi:main::@6->main::@3#0] -- register_copy 
    // [38] phi main::sc#10 = main::sc#1 [phi:main::@6->main::@3#1] -- register_copy 
    // [38] phi main::x#2 = main::x#1 [phi:main::@6->main::@3#2] -- register_copy 
    jmp __b3
  .segment Data
    s: .text " chars"
    .byte 0
}
.segment Code
  // gotoxy
// Set the cursor to the specified position
// void gotoxy(char x, __register(X) char y)
gotoxy: {
    .label __5 = $1c
    .label __6 = $18
    .label __7 = $18
    .label line_offset = $18
    .label __8 = $1a
    .label __9 = $18
    // if(y>CONIO_HEIGHT)
    // [61] if(gotoxy::y#4<$19+1) goto gotoxy::@3 -- vbuxx_lt_vbuc1_then_la1 
    cpx #$19+1
    bcc __b2
    // [63] phi from gotoxy to gotoxy::@1 [phi:gotoxy->gotoxy::@1]
    // [63] phi gotoxy::y#5 = 0 [phi:gotoxy->gotoxy::@1#0] -- vbuxx=vbuc1 
    ldx #0
    // [62] phi from gotoxy to gotoxy::@3 [phi:gotoxy->gotoxy::@3]
    // gotoxy::@3
    // [63] phi from gotoxy::@3 to gotoxy::@1 [phi:gotoxy::@3->gotoxy::@1]
    // [63] phi gotoxy::y#5 = gotoxy::y#4 [phi:gotoxy::@3->gotoxy::@1#0] -- register_copy 
    // gotoxy::@1
    // gotoxy::@2
  __b2:
    // conio_cursor_x = x
    // [64] conio_cursor_x = 0 -- vbuz1=vbuc1 
    lda #0
    sta.z conio_cursor_x
    // conio_cursor_y = y
    // [65] conio_cursor_y = gotoxy::y#5 -- vbuz1=vbuxx 
    stx.z conio_cursor_y
    // unsigned int line_offset = (unsigned int)y*CONIO_WIDTH
    // [66] gotoxy::$7 = (unsigned int)gotoxy::y#5 -- vwuz1=_word_vbuxx 
    txa
    sta.z __7
    lda #0
    sta.z __7+1
    // [67] gotoxy::$8 = gotoxy::$7 << 2 -- vwuz1=vwuz2_rol_2 
    lda.z __7
    asl
    sta.z __8
    lda.z __7+1
    rol
    sta.z __8+1
    asl.z __8
    rol.z __8+1
    // [68] gotoxy::$9 = gotoxy::$8 + gotoxy::$7 -- vwuz1=vwuz2_plus_vwuz1 
    clc
    lda.z __9
    adc.z __8
    sta.z __9
    lda.z __9+1
    adc.z __8+1
    sta.z __9+1
    // [69] gotoxy::line_offset#0 = gotoxy::$9 << 3 -- vwuz1=vwuz1_rol_3 
    asl.z line_offset
    rol.z line_offset+1
    asl.z line_offset
    rol.z line_offset+1
    asl.z line_offset
    rol.z line_offset+1
    // CONIO_SCREEN_TEXT + line_offset
    // [70] gotoxy::$5 = DEFAULT_SCREEN + gotoxy::line_offset#0 -- pbuz1=pbuc1_plus_vwuz2 
    lda.z line_offset
    clc
    adc #<DEFAULT_SCREEN
    sta.z __5
    lda.z line_offset+1
    adc #>DEFAULT_SCREEN
    sta.z __5+1
    // conio_line_text = CONIO_SCREEN_TEXT + line_offset
    // [71] conio_line_text = gotoxy::$5 -- pbuz1=pbuz2 
    lda.z __5
    sta.z conio_line_text
    lda.z __5+1
    sta.z conio_line_text+1
    // CONIO_SCREEN_COLORS + line_offset
    // [72] gotoxy::$6 = COLORRAM + gotoxy::line_offset#0 -- pbuz1=pbuc1_plus_vwuz1 
    lda.z __6
    clc
    adc #<COLORRAM
    sta.z __6
    lda.z __6+1
    adc #>COLORRAM
    sta.z __6+1
    // conio_line_color = CONIO_SCREEN_COLORS + line_offset
    // [73] conio_line_color = gotoxy::$6 -- pbuz1=pbuz2 
    lda.z __6
    sta.z conio_line_color
    lda.z __6+1
    sta.z conio_line_color+1
    // gotoxy::@return
    // }
    // [74] return 
    rts
}
  // cputln
// Print a newline
cputln: {
    // conio_line_text +=  CONIO_WIDTH
    // [75] conio_line_text = conio_line_text + $28 -- pbuz1=pbuz1_plus_vbuc1 
    lda #$28
    clc
    adc.z conio_line_text
    sta.z conio_line_text
    bcc !+
    inc.z conio_line_text+1
  !:
    // conio_line_color += CONIO_WIDTH
    // [76] conio_line_color = conio_line_color + $28 -- pbuz1=pbuz1_plus_vbuc1 
    lda #$28
    clc
    adc.z conio_line_color
    sta.z conio_line_color
    bcc !+
    inc.z conio_line_color+1
  !:
    // conio_cursor_x = 0
    // [77] conio_cursor_x = 0 -- vbuz1=vbuc1 
    lda #0
    sta.z conio_cursor_x
    // conio_cursor_y++;
    // [78] conio_cursor_y = ++ conio_cursor_y -- vbuz1=_inc_vbuz1 
    inc.z conio_cursor_y
    // cscroll()
    // [79] call cscroll
    jsr cscroll
    // cputln::@return
    // }
    // [80] return 
    rts
}
  // memset
// Copies the character c (an unsigned char) to the first num characters of the object pointed to by the argument str.
// void * memset(__zp($d) void *str, __register(X) char c, __zp($b) unsigned int num)
memset: {
    .label end = $b
    .label dst = $d
    .label num = $b
    .label str = $d
    // if(num>0)
    // [82] if(memset::num#3<=0) goto memset::@return -- vwuz1_le_0_then_la1 
    lda.z num
    bne !+
    lda.z num+1
    beq __breturn
  !:
    // memset::@1
    // char* end = (char*)str + num
    // [83] memset::end#0 = (char *)memset::str#4 + memset::num#3 -- pbuz1=pbuz2_plus_vwuz1 
    clc
    lda.z end
    adc.z str
    sta.z end
    lda.z end+1
    adc.z str+1
    sta.z end+1
    // [84] memset::dst#4 = (char *)memset::str#4
    // [85] phi from memset::@1 memset::@3 to memset::@2 [phi:memset::@1/memset::@3->memset::@2]
    // [85] phi memset::dst#2 = memset::dst#4 [phi:memset::@1/memset::@3->memset::@2#0] -- register_copy 
    // memset::@2
  __b2:
    // for(char* dst = str; dst!=end; dst++)
    // [86] if(memset::dst#2!=memset::end#0) goto memset::@3 -- pbuz1_neq_pbuz2_then_la1 
    lda.z dst+1
    cmp.z end+1
    bne __b3
    lda.z dst
    cmp.z end
    bne __b3
    // memset::@return
  __breturn:
    // }
    // [87] return 
    rts
    // memset::@3
  __b3:
    // *dst = c
    // [88] *memset::dst#2 = memset::c#5 -- _deref_pbuz1=vbuxx 
    txa
    ldy #0
    sta (dst),y
    // for(char* dst = str; dst!=end; dst++)
    // [89] memset::dst#1 = ++ memset::dst#2 -- pbuz1=_inc_pbuz1 
    inc.z dst
    bne !+
    inc.z dst+1
  !:
    jmp __b2
}
  // printf_uint
// Print an unsigned int using a specific format
// void printf_uint(void (*putc)(char), __zp(3) unsigned int uvalue, char format_min_length, char format_justify_left, char format_sign_always, char format_zero_padding, char format_upper_case, char format_radix)
printf_uint: {
    .label putc = cputc
    .label uvalue = 3
    // printf_uint::@1
    // printf_buffer.sign = format.sign_always?'+':0
    // [91] *((char *)&printf_buffer) = 0 -- _deref_pbuc1=vbuc2 
    // Handle any sign
    lda #0
    sta printf_buffer
    // utoa(uvalue, printf_buffer.digits, format.radix)
    // [92] utoa::value#1 = printf_uint::uvalue#0
    // [93] call utoa
  // Format number into buffer
    // [136] phi from printf_uint::@1 to utoa [phi:printf_uint::@1->utoa]
    jsr utoa
    // printf_uint::@2
    // printf_number_buffer(putc, printf_buffer, format)
    // [94] printf_number_buffer::buffer_sign#0 = *((char *)&printf_buffer) -- vbuaa=_deref_pbuc1 
    lda printf_buffer
    // [95] call printf_number_buffer
  // Print using format
    // [157] phi from printf_uint::@2 to printf_number_buffer [phi:printf_uint::@2->printf_number_buffer]
    jsr printf_number_buffer
    // printf_uint::@return
    // }
    // [96] return 
    rts
}
  // printf_str
/// Print a NUL-terminated string
// void printf_str(__zp(8) void (*putc)(char), __zp($16) const char *s)
printf_str: {
    .label s = $16
    .label putc = 8
    // [98] phi from printf_str printf_str::@2 to printf_str::@1 [phi:printf_str/printf_str::@2->printf_str::@1]
    // [98] phi printf_str::s#3 = printf_str::s#4 [phi:printf_str/printf_str::@2->printf_str::@1#0] -- register_copy 
    // printf_str::@1
  __b1:
    // while(c=*s++)
    // [99] printf_str::c#1 = *printf_str::s#3 -- vbuaa=_deref_pbuz1 
    ldy #0
    lda (s),y
    // [100] printf_str::s#0 = ++ printf_str::s#3 -- pbuz1=_inc_pbuz1 
    inc.z s
    bne !+
    inc.z s+1
  !:
    // [101] if(0!=printf_str::c#1) goto printf_str::@2 -- 0_neq_vbuaa_then_la1 
    cmp #0
    bne __b2
    // printf_str::@return
    // }
    // [102] return 
    rts
    // printf_str::@2
  __b2:
    // putc(c)
    // [103] stackpush(char) = printf_str::c#1 -- _stackpushbyte_=vbuaa 
    pha
    // [104] callexecute *printf_str::putc#4  -- call__deref_pprz1 
    jsr icall1
    // sideeffect stackpullbytes(1) -- _stackpullbyte_1 
    pla
    jmp __b1
    // Outside Flow
  icall1:
    jmp (putc)
}
  // mul8s
// Multiply of two signed chars to a signed int
// Fixes offsets introduced by using unsigned multiplication
// int mul8s(__zp($a) signed char a, __register(Y) signed char b)
mul8s: {
    .label m = 8
    .label a = $a
    // unsigned int m = mul8u((char)a, (char) b)
    // [107] mul8u::a#1 = (char)mul8s::a#2 -- vbuxx=vbuz1 
    ldx.z a
    // [108] mul8u::b#0 = (char)mul8s::b#2 -- vbuaa=vbuyy 
    tya
    // [109] call mul8u
    jsr mul8u
    // [110] mul8u::return#2 = mul8u::res#2
    // mul8s::@5
    // [111] mul8s::m#0 = mul8u::return#2
    // if(a<0)
    // [112] if(mul8s::a#2>=0) goto mul8s::@1 -- vbsz1_ge_0_then_la1 
    lda.z a
    cmp #0
    bpl __b1
    // mul8s::@3
    // BYTE1(m)
    // [113] mul8s::$6 = byte1  mul8s::m#0 -- vbuaa=_byte1_vwuz1 
    lda.z m+1
    // BYTE1(m) = BYTE1(m)-(char)b
    // [114] mul8s::$11 = mul8s::$6 - (char)mul8s::b#2 -- vbuaa=vbuaa_minus_vbuyy 
    sty.z $ff
    sec
    sbc.z $ff
    // [115] mul8s::m#1 = mul8s::m#0 byte1= mul8s::$11 -- vwuz1=vwuz1_setbyte1_vbuaa 
    sta.z m+1
    // [116] phi from mul8s::@3 mul8s::@5 to mul8s::@1 [phi:mul8s::@3/mul8s::@5->mul8s::@1]
    // [116] phi mul8s::m#5 = mul8s::m#1 [phi:mul8s::@3/mul8s::@5->mul8s::@1#0] -- register_copy 
    // mul8s::@1
  __b1:
    // if(b<0)
    // [117] if(mul8s::b#2>=0) goto mul8s::@2 -- vbsyy_ge_0_then_la1 
    cpy #0
    bpl __b2
    // mul8s::@4
    // BYTE1(m)
    // [118] mul8s::$9 = byte1  mul8s::m#5 -- vbuaa=_byte1_vwuz1 
    lda.z m+1
    // BYTE1(m) = BYTE1(m)-(char)a
    // [119] mul8s::$12 = mul8s::$9 - (char)mul8s::a#2 -- vbuaa=vbuaa_minus_vbuz1 
    sec
    sbc.z a
    // [120] mul8s::m#2 = mul8s::m#5 byte1= mul8s::$12 -- vwuz1=vwuz1_setbyte1_vbuaa 
    sta.z m+1
    // [121] phi from mul8s::@1 mul8s::@4 to mul8s::@2 [phi:mul8s::@1/mul8s::@4->mul8s::@2]
    // [121] phi mul8s::m#4 = mul8s::m#5 [phi:mul8s::@1/mul8s::@4->mul8s::@2#0] -- register_copy 
    // mul8s::@2
  __b2:
    // mul8s::@return
    // }
    // [122] return 
    rts
}
  // cscroll
// Scroll the entire screen if the cursor is beyond the last line
cscroll: {
    // if(conio_cursor_y==CONIO_HEIGHT)
    // [123] if(conio_cursor_y!=$19) goto cscroll::@return -- vbuz1_neq_vbuc1_then_la1 
    lda #$19
    cmp.z conio_cursor_y
    bne __breturn
    // [124] phi from cscroll to cscroll::@1 [phi:cscroll->cscroll::@1]
    // cscroll::@1
    // memcpy(CONIO_SCREEN_TEXT, CONIO_SCREEN_TEXT+CONIO_WIDTH, CONIO_BYTES-CONIO_WIDTH)
    // [125] call memcpy
    // [175] phi from cscroll::@1 to memcpy [phi:cscroll::@1->memcpy]
    // [175] phi memcpy::destination#2 = (void *)DEFAULT_SCREEN [phi:cscroll::@1->memcpy#0] -- pvoz1=pvoc1 
    lda #<DEFAULT_SCREEN
    sta.z memcpy.destination
    lda #>DEFAULT_SCREEN
    sta.z memcpy.destination+1
    // [175] phi memcpy::source#2 = (void *)DEFAULT_SCREEN+$28 [phi:cscroll::@1->memcpy#1] -- pvoz1=pvoc1 
    lda #<DEFAULT_SCREEN+$28
    sta.z memcpy.source
    lda #>DEFAULT_SCREEN+$28
    sta.z memcpy.source+1
    jsr memcpy
    // [126] phi from cscroll::@1 to cscroll::@2 [phi:cscroll::@1->cscroll::@2]
    // cscroll::@2
    // memcpy(CONIO_SCREEN_COLORS, CONIO_SCREEN_COLORS+CONIO_WIDTH, CONIO_BYTES-CONIO_WIDTH)
    // [127] call memcpy
    // [175] phi from cscroll::@2 to memcpy [phi:cscroll::@2->memcpy]
    // [175] phi memcpy::destination#2 = (void *)COLORRAM [phi:cscroll::@2->memcpy#0] -- pvoz1=pvoc1 
    lda #<COLORRAM
    sta.z memcpy.destination
    lda #>COLORRAM
    sta.z memcpy.destination+1
    // [175] phi memcpy::source#2 = (void *)COLORRAM+$28 [phi:cscroll::@2->memcpy#1] -- pvoz1=pvoc1 
    lda #<COLORRAM+$28
    sta.z memcpy.source
    lda #>COLORRAM+$28
    sta.z memcpy.source+1
    jsr memcpy
    // [128] phi from cscroll::@2 to cscroll::@3 [phi:cscroll::@2->cscroll::@3]
    // cscroll::@3
    // memset(CONIO_SCREEN_TEXT+CONIO_BYTES-CONIO_WIDTH, ' ', CONIO_WIDTH)
    // [129] call memset
    // [81] phi from cscroll::@3 to memset [phi:cscroll::@3->memset]
    // [81] phi memset::c#5 = ' ' [phi:cscroll::@3->memset#0] -- vbuxx=vbuc1 
    ldx #' '
    // [81] phi memset::str#4 = (void *)DEFAULT_SCREEN+(unsigned int)$19*$28-$28 [phi:cscroll::@3->memset#1] -- pvoz1=pvoc1 
    lda #<DEFAULT_SCREEN+$19*$28-$28
    sta.z memset.str
    lda #>DEFAULT_SCREEN+$19*$28-$28
    sta.z memset.str+1
    // [81] phi memset::num#3 = $28 [phi:cscroll::@3->memset#2] -- vwuz1=vbuc1 
    lda #<$28
    sta.z memset.num
    lda #>$28
    sta.z memset.num+1
    jsr memset
    // [130] phi from cscroll::@3 to cscroll::@4 [phi:cscroll::@3->cscroll::@4]
    // cscroll::@4
    // memset(CONIO_SCREEN_COLORS+CONIO_BYTES-CONIO_WIDTH, conio_textcolor, CONIO_WIDTH)
    // [131] call memset
    // [81] phi from cscroll::@4 to memset [phi:cscroll::@4->memset]
    // [81] phi memset::c#5 = LIGHT_BLUE [phi:cscroll::@4->memset#0] -- vbuxx=vbuc1 
    ldx #LIGHT_BLUE
    // [81] phi memset::str#4 = (void *)COLORRAM+(unsigned int)$19*$28-$28 [phi:cscroll::@4->memset#1] -- pvoz1=pvoc1 
    lda #<COLORRAM+$19*$28-$28
    sta.z memset.str
    lda #>COLORRAM+$19*$28-$28
    sta.z memset.str+1
    // [81] phi memset::num#3 = $28 [phi:cscroll::@4->memset#2] -- vwuz1=vbuc1 
    lda #<$28
    sta.z memset.num
    lda #>$28
    sta.z memset.num+1
    jsr memset
    // cscroll::@5
    // conio_line_text -= CONIO_WIDTH
    // [132] conio_line_text = conio_line_text - $28 -- pbuz1=pbuz1_minus_vbuc1 
    sec
    lda.z conio_line_text
    sbc #$28
    sta.z conio_line_text
    lda.z conio_line_text+1
    sbc #0
    sta.z conio_line_text+1
    // conio_line_color -= CONIO_WIDTH
    // [133] conio_line_color = conio_line_color - $28 -- pbuz1=pbuz1_minus_vbuc1 
    sec
    lda.z conio_line_color
    sbc #$28
    sta.z conio_line_color
    lda.z conio_line_color+1
    sbc #0
    sta.z conio_line_color+1
    // conio_cursor_y--;
    // [134] conio_cursor_y = -- conio_cursor_y -- vbuz1=_dec_vbuz1 
    dec.z conio_cursor_y
    // cscroll::@return
  __breturn:
    // }
    // [135] return 
    rts
}
  // utoa
// Converts unsigned number value to a string representing it in RADIX format.
// If the leading digits are zero they are not included in the string.
// - value : The number to be converted to RADIX
// - buffer : receives the string representing the number and zero-termination.
// - radix : The radix to convert the number to (from the enum RADIX)
// void utoa(__zp(3) unsigned int value, __zp($16) char *buffer, char radix)
utoa: {
    .const max_digits = 5
    .label digit_value = $1e
    .label buffer = $16
    .label digit = $a
    .label value = 3
    // [137] phi from utoa to utoa::@1 [phi:utoa->utoa::@1]
    // [137] phi utoa::buffer#11 = (char *)&printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS [phi:utoa->utoa::@1#0] -- pbuz1=pbuc1 
    lda #<printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS
    sta.z buffer
    lda #>printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS
    sta.z buffer+1
    // [137] phi utoa::started#2 = 0 [phi:utoa->utoa::@1#1] -- vbuxx=vbuc1 
    ldx #0
    // [137] phi utoa::value#2 = utoa::value#1 [phi:utoa->utoa::@1#2] -- register_copy 
    // [137] phi utoa::digit#2 = 0 [phi:utoa->utoa::@1#3] -- vbuz1=vbuc1 
    txa
    sta.z digit
    // utoa::@1
  __b1:
    // for( char digit=0; digit<max_digits-1; digit++ )
    // [138] if(utoa::digit#2<utoa::max_digits#1-1) goto utoa::@2 -- vbuz1_lt_vbuc1_then_la1 
    lda.z digit
    cmp #max_digits-1
    bcc __b2
    // utoa::@3
    // *buffer++ = DIGITS[(char)value]
    // [139] utoa::$11 = (char)utoa::value#2 -- vbuxx=_byte_vwuz1 
    ldx.z value
    // [140] *utoa::buffer#11 = DIGITS[utoa::$11] -- _deref_pbuz1=pbuc1_derefidx_vbuxx 
    lda DIGITS,x
    ldy #0
    sta (buffer),y
    // *buffer++ = DIGITS[(char)value];
    // [141] utoa::buffer#3 = ++ utoa::buffer#11 -- pbuz1=_inc_pbuz1 
    inc.z buffer
    bne !+
    inc.z buffer+1
  !:
    // *buffer = 0
    // [142] *utoa::buffer#3 = 0 -- _deref_pbuz1=vbuc1 
    lda #0
    tay
    sta (buffer),y
    // utoa::@return
    // }
    // [143] return 
    rts
    // utoa::@2
  __b2:
    // unsigned int digit_value = digit_values[digit]
    // [144] utoa::$10 = utoa::digit#2 << 1 -- vbuaa=vbuz1_rol_1 
    lda.z digit
    asl
    // [145] utoa::digit_value#0 = RADIX_DECIMAL_VALUES[utoa::$10] -- vwuz1=pwuc1_derefidx_vbuaa 
    tay
    lda RADIX_DECIMAL_VALUES,y
    sta.z digit_value
    lda RADIX_DECIMAL_VALUES+1,y
    sta.z digit_value+1
    // if (started || value >= digit_value)
    // [146] if(0!=utoa::started#2) goto utoa::@5 -- 0_neq_vbuxx_then_la1 
    cpx #0
    bne __b5
    // utoa::@7
    // [147] if(utoa::value#2>=utoa::digit_value#0) goto utoa::@5 -- vwuz1_ge_vwuz2_then_la1 
    cmp.z value+1
    bne !+
    lda.z digit_value
    cmp.z value
    beq __b5
  !:
    bcc __b5
    // [148] phi from utoa::@7 to utoa::@4 [phi:utoa::@7->utoa::@4]
    // [148] phi utoa::buffer#14 = utoa::buffer#11 [phi:utoa::@7->utoa::@4#0] -- register_copy 
    // [148] phi utoa::started#4 = utoa::started#2 [phi:utoa::@7->utoa::@4#1] -- register_copy 
    // [148] phi utoa::value#6 = utoa::value#2 [phi:utoa::@7->utoa::@4#2] -- register_copy 
    // utoa::@4
  __b4:
    // for( char digit=0; digit<max_digits-1; digit++ )
    // [149] utoa::digit#1 = ++ utoa::digit#2 -- vbuz1=_inc_vbuz1 
    inc.z digit
    // [137] phi from utoa::@4 to utoa::@1 [phi:utoa::@4->utoa::@1]
    // [137] phi utoa::buffer#11 = utoa::buffer#14 [phi:utoa::@4->utoa::@1#0] -- register_copy 
    // [137] phi utoa::started#2 = utoa::started#4 [phi:utoa::@4->utoa::@1#1] -- register_copy 
    // [137] phi utoa::value#2 = utoa::value#6 [phi:utoa::@4->utoa::@1#2] -- register_copy 
    // [137] phi utoa::digit#2 = utoa::digit#1 [phi:utoa::@4->utoa::@1#3] -- register_copy 
    jmp __b1
    // utoa::@5
  __b5:
    // utoa_append(buffer++, value, digit_value)
    // [150] utoa_append::buffer#0 = utoa::buffer#11
    // [151] utoa_append::value#0 = utoa::value#2
    // [152] utoa_append::sub#0 = utoa::digit_value#0
    // [153] call utoa_append
    // [185] phi from utoa::@5 to utoa_append [phi:utoa::@5->utoa_append]
    jsr utoa_append
    // utoa_append(buffer++, value, digit_value)
    // [154] utoa_append::return#0 = utoa_append::value#2
    // utoa::@6
    // value = utoa_append(buffer++, value, digit_value)
    // [155] utoa::value#0 = utoa_append::return#0
    // value = utoa_append(buffer++, value, digit_value);
    // [156] utoa::buffer#4 = ++ utoa::buffer#11 -- pbuz1=_inc_pbuz1 
    inc.z buffer
    bne !+
    inc.z buffer+1
  !:
    // [148] phi from utoa::@6 to utoa::@4 [phi:utoa::@6->utoa::@4]
    // [148] phi utoa::buffer#14 = utoa::buffer#4 [phi:utoa::@6->utoa::@4#0] -- register_copy 
    // [148] phi utoa::started#4 = 1 [phi:utoa::@6->utoa::@4#1] -- vbuxx=vbuc1 
    ldx #1
    // [148] phi utoa::value#6 = utoa::value#0 [phi:utoa::@6->utoa::@4#2] -- register_copy 
    jmp __b4
}
  // printf_number_buffer
// Print the contents of the number buffer using a specific format.
// This handles minimum length, zero-filling, and left/right justification from the format
// void printf_number_buffer(void (*putc)(char), __register(A) char buffer_sign, char *buffer_digits, char format_min_length, char format_justify_left, char format_sign_always, char format_zero_padding, char format_upper_case, char format_radix)
printf_number_buffer: {
    .label buffer_digits = printf_buffer+OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS
    // printf_number_buffer::@1
    // if(buffer.sign)
    // [158] if(0==printf_number_buffer::buffer_sign#0) goto printf_number_buffer::@2 -- 0_eq_vbuaa_then_la1 
    cmp #0
    beq __b2
    // printf_number_buffer::@3
    // putc(buffer.sign)
    // [159] stackpush(char) = printf_number_buffer::buffer_sign#0 -- _stackpushbyte_=vbuaa 
    pha
    // [160] callexecute cputc  -- call_vprc1 
    jsr cputc
    // sideeffect stackpullbytes(1) -- _stackpullbyte_1 
    pla
    // [162] phi from printf_number_buffer::@1 printf_number_buffer::@3 to printf_number_buffer::@2 [phi:printf_number_buffer::@1/printf_number_buffer::@3->printf_number_buffer::@2]
    // printf_number_buffer::@2
  __b2:
    // printf_str(putc, buffer.digits)
    // [163] call printf_str
    // [97] phi from printf_number_buffer::@2 to printf_str [phi:printf_number_buffer::@2->printf_str]
    // [97] phi printf_str::putc#4 = printf_uint::putc#0 [phi:printf_number_buffer::@2->printf_str#0] -- pprz1=pprc1 
    lda #<printf_uint.putc
    sta.z printf_str.putc
    lda #>printf_uint.putc
    sta.z printf_str.putc+1
    // [97] phi printf_str::s#4 = printf_number_buffer::buffer_digits#0 [phi:printf_number_buffer::@2->printf_str#1] -- pbuz1=pbuc1 
    lda #<buffer_digits
    sta.z printf_str.s
    lda #>buffer_digits
    sta.z printf_str.s+1
    jsr printf_str
    // printf_number_buffer::@return
    // }
    // [164] return 
    rts
}
  // mul8u
// Perform binary multiplication of two unsigned 8-bit chars into a 16-bit unsigned int
// __zp(8) unsigned int mul8u(__register(X) char a, __register(A) char b)
mul8u: {
    .label mb = $1e
    .label res = 8
    .label return = 8
    // unsigned int mb = b
    // [165] mul8u::mb#0 = (unsigned int)mul8u::b#0 -- vwuz1=_word_vbuaa 
    sta.z mb
    lda #0
    sta.z mb+1
    // [166] phi from mul8u to mul8u::@1 [phi:mul8u->mul8u::@1]
    // [166] phi mul8u::mb#2 = mul8u::mb#0 [phi:mul8u->mul8u::@1#0] -- register_copy 
    // [166] phi mul8u::res#2 = 0 [phi:mul8u->mul8u::@1#1] -- vwuz1=vwuc1 
    sta.z res
    sta.z res+1
    // [166] phi mul8u::a#2 = mul8u::a#1 [phi:mul8u->mul8u::@1#2] -- register_copy 
    // mul8u::@1
  __b1:
    // while(a!=0)
    // [167] if(mul8u::a#2!=0) goto mul8u::@2 -- vbuxx_neq_0_then_la1 
    cpx #0
    bne __b2
    // mul8u::@return
    // }
    // [168] return 
    rts
    // mul8u::@2
  __b2:
    // a&1
    // [169] mul8u::$1 = mul8u::a#2 & 1 -- vbuaa=vbuxx_band_vbuc1 
    txa
    and #1
    // if( (a&1) != 0)
    // [170] if(mul8u::$1==0) goto mul8u::@3 -- vbuaa_eq_0_then_la1 
    cmp #0
    beq __b3
    // mul8u::@4
    // res = res + mb
    // [171] mul8u::res#1 = mul8u::res#2 + mul8u::mb#2 -- vwuz1=vwuz1_plus_vwuz2 
    clc
    lda.z res
    adc.z mb
    sta.z res
    lda.z res+1
    adc.z mb+1
    sta.z res+1
    // [172] phi from mul8u::@2 mul8u::@4 to mul8u::@3 [phi:mul8u::@2/mul8u::@4->mul8u::@3]
    // [172] phi mul8u::res#6 = mul8u::res#2 [phi:mul8u::@2/mul8u::@4->mul8u::@3#0] -- register_copy 
    // mul8u::@3
  __b3:
    // a = a>>1
    // [173] mul8u::a#0 = mul8u::a#2 >> 1 -- vbuxx=vbuxx_ror_1 
    txa
    lsr
    tax
    // mb = mb<<1
    // [174] mul8u::mb#1 = mul8u::mb#2 << 1 -- vwuz1=vwuz1_rol_1 
    asl.z mb
    rol.z mb+1
    // [166] phi from mul8u::@3 to mul8u::@1 [phi:mul8u::@3->mul8u::@1]
    // [166] phi mul8u::mb#2 = mul8u::mb#1 [phi:mul8u::@3->mul8u::@1#0] -- register_copy 
    // [166] phi mul8u::res#2 = mul8u::res#6 [phi:mul8u::@3->mul8u::@1#1] -- register_copy 
    // [166] phi mul8u::a#2 = mul8u::a#0 [phi:mul8u::@3->mul8u::@1#2] -- register_copy 
    jmp __b1
}
  // memcpy
// Copy block of memory (forwards)
// Copies the values of num bytes from the location pointed to by source directly to the memory block pointed to by destination.
// void * memcpy(__zp($d) void *destination, __zp($b) void *source, unsigned int num)
memcpy: {
    .label src_end = $20
    .label dst = $d
    .label src = $b
    .label source = $b
    .label destination = $d
    // char* src_end = (char*)source+num
    // [176] memcpy::src_end#0 = (char *)memcpy::source#2 + (unsigned int)$19*$28-$28 -- pbuz1=pbuz2_plus_vwuc1 
    lda.z source
    clc
    adc #<$19*$28-$28
    sta.z src_end
    lda.z source+1
    adc #>$19*$28-$28
    sta.z src_end+1
    // [177] memcpy::src#4 = (char *)memcpy::source#2
    // [178] memcpy::dst#4 = (char *)memcpy::destination#2
    // [179] phi from memcpy memcpy::@2 to memcpy::@1 [phi:memcpy/memcpy::@2->memcpy::@1]
    // [179] phi memcpy::dst#2 = memcpy::dst#4 [phi:memcpy/memcpy::@2->memcpy::@1#0] -- register_copy 
    // [179] phi memcpy::src#2 = memcpy::src#4 [phi:memcpy/memcpy::@2->memcpy::@1#1] -- register_copy 
    // memcpy::@1
  __b1:
    // while(src!=src_end)
    // [180] if(memcpy::src#2!=memcpy::src_end#0) goto memcpy::@2 -- pbuz1_neq_pbuz2_then_la1 
    lda.z src+1
    cmp.z src_end+1
    bne __b2
    lda.z src
    cmp.z src_end
    bne __b2
    // memcpy::@return
    // }
    // [181] return 
    rts
    // memcpy::@2
  __b2:
    // *dst++ = *src++
    // [182] *memcpy::dst#2 = *memcpy::src#2 -- _deref_pbuz1=_deref_pbuz2 
    ldy #0
    lda (src),y
    sta (dst),y
    // *dst++ = *src++;
    // [183] memcpy::dst#1 = ++ memcpy::dst#2 -- pbuz1=_inc_pbuz1 
    inc.z dst
    bne !+
    inc.z dst+1
  !:
    // [184] memcpy::src#1 = ++ memcpy::src#2 -- pbuz1=_inc_pbuz1 
    inc.z src
    bne !+
    inc.z src+1
  !:
    jmp __b1
}
  // utoa_append
// Used to convert a single digit of an unsigned number value to a string representation
// Counts a single digit up from '0' as long as the value is larger than sub.
// Each time the digit is increased sub is subtracted from value.
// - buffer : pointer to the char that receives the digit
// - value : The value where the digit will be derived from
// - sub : the value of a '1' in the digit. Subtracted continually while the digit is increased.
//        (For decimal the subs used are 10000, 1000, 100, 10, 1)
// returns : the value reduced by sub * digit so that it is less than sub.
// __zp(3) unsigned int utoa_append(__zp($16) char *buffer, __zp(3) unsigned int value, __zp($1e) unsigned int sub)
utoa_append: {
    .label buffer = $16
    .label value = 3
    .label sub = $1e
    .label return = 3
    // [186] phi from utoa_append to utoa_append::@1 [phi:utoa_append->utoa_append::@1]
    // [186] phi utoa_append::digit#2 = 0 [phi:utoa_append->utoa_append::@1#0] -- vbuxx=vbuc1 
    ldx #0
    // [186] phi utoa_append::value#2 = utoa_append::value#0 [phi:utoa_append->utoa_append::@1#1] -- register_copy 
    // utoa_append::@1
  __b1:
    // while (value >= sub)
    // [187] if(utoa_append::value#2>=utoa_append::sub#0) goto utoa_append::@2 -- vwuz1_ge_vwuz2_then_la1 
    lda.z sub+1
    cmp.z value+1
    bne !+
    lda.z sub
    cmp.z value
    beq __b2
  !:
    bcc __b2
    // utoa_append::@3
    // *buffer = DIGITS[digit]
    // [188] *utoa_append::buffer#0 = DIGITS[utoa_append::digit#2] -- _deref_pbuz1=pbuc1_derefidx_vbuxx 
    lda DIGITS,x
    ldy #0
    sta (buffer),y
    // utoa_append::@return
    // }
    // [189] return 
    rts
    // utoa_append::@2
  __b2:
    // digit++;
    // [190] utoa_append::digit#1 = ++ utoa_append::digit#2 -- vbuxx=_inc_vbuxx 
    inx
    // value -= sub
    // [191] utoa_append::value#1 = utoa_append::value#2 - utoa_append::sub#0 -- vwuz1=vwuz1_minus_vwuz2 
    lda.z value
    sec
    sbc.z sub
    sta.z value
    lda.z value+1
    sbc.z sub+1
    sta.z value+1
    // [186] phi from utoa_append::@2 to utoa_append::@1 [phi:utoa_append::@2->utoa_append::@1]
    // [186] phi utoa_append::digit#2 = utoa_append::digit#1 [phi:utoa_append::@2->utoa_append::@1#0] -- register_copy 
    // [186] phi utoa_append::value#2 = utoa_append::value#1 [phi:utoa_append::@2->utoa_append::@1#1] -- register_copy 
    jmp __b1
}
  // File Data
.segment Data
  // The digits used for numbers
  DIGITS: .text "0123456789abcdef"
  // Values of decimal digits
  RADIX_DECIMAL_VALUES: .word $2710, $3e8, $64, $a
  // Buffer used for stringified number being printed
  printf_buffer: .fill SIZEOF_STRUCT_PRINTF_BUFFER_NUMBER, 0

