Fixing pointer addition (word*~) bsearch16u::$7 ← (word*) bsearch16u::items + (byte~) bsearch16u::$6
Fixing pointer addition (word*~) bsearch16u::$15 ← (word*) bsearch16u::pivot + (number) 1
Fixing pointer addition (word*~) bsearch16u::$1 ← (word*) bsearch16u::items - (number) 1
Fixing pointer increment (word*) lin16u_gen::lintab ← ++ (word*) lin16u_gen::lintab
Fixing pointer array-indexing *((word*) utoa::digit_values + (byte) utoa::digit)
Fixing pointer array-indexing *((dword*) ultoa::digit_values + (byte) ultoa::digit)
Fixing pointer array-indexing *((word[$14]) main::lintab1 + (byte) main::i)
Fixing pointer array-indexing *((word[$14]) main::lintab2 + (byte) main::i)
Fixing pointer array-indexing *((word[$14]) main::lintab3 + (byte) main::i)
Warning! Adding boolean cast to non-boolean condition *((byte*) strcpy::src)
Warning! Adding boolean cast to non-boolean condition *((byte*) print_str_lines::str)
Warning! Adding boolean cast to non-boolean condition (byte) print_str_lines::ch
Warning! Adding boolean cast to non-boolean condition *((byte*) print_str::str)
Warning! Adding boolean cast to non-boolean condition *((byte*) print_str_at::str)
Warning! Adding boolean cast to non-boolean sub-expression (byte) print_str_lines::ch
Identified constant variable (byte*) HEAP_TOP
Culled Empty Block (label) @1
Culled Empty Block (label) divr16u::@7
Culled Empty Block (label) @3
Culled Empty Block (label) @4
Culled Empty Block (label) @5
Culled Empty Block (label) @6
Culled Empty Block (label) @7
Culled Empty Block (label) @8
Culled Empty Block (label) @9
Culled Empty Block (label) @10
Culled Empty Block (label) memset::@7
Culled Empty Block (label) memset::@6
Culled Empty Block (label) memset::@8
Culled Empty Block (label) memset::@9
Culled Empty Block (label) memset::@3
Culled Empty Block (label) @11
Culled Empty Block (label) @12
Culled Empty Block (label) @13
Culled Empty Block (label) @14
Culled Empty Block (label) @15
Culled Empty Block (label) @16
Culled Empty Block (label) @17
Culled Empty Block (label) @18
Culled Empty Block (label) @19
Culled Empty Block (label) @21
Culled Empty Block (label) @22
Culled Empty Block (label) print_str::@4
Culled Empty Block (label) print_str::@3
Culled Empty Block (label) print_str::@5
Culled Empty Block (label) print_str::@6
Culled Empty Block (label) @23
Culled Empty Block (label) @24
Culled Empty Block (label) @25
Culled Empty Block (label) @26
Culled Empty Block (label) @27
Culled Empty Block (label) @28
Culled Empty Block (label) @29
Culled Empty Block (label) @30
Culled Empty Block (label) @31
Culled Empty Block (label) @32
Culled Empty Block (label) @33
Culled Empty Block (label) @34
Culled Empty Block (label) @35
Culled Empty Block (label) @36
Culled Empty Block (label) @38
Culled Empty Block (label) @39
Culled Empty Block (label) @40
Culled Empty Block (label) @41
Culled Empty Block (label) @42
Culled Empty Block (label) @43
Culled Empty Block (label) @44
Culled Empty Block (label) main::@4
Culled Empty Block (label) main::@5
Culled Empty Block (label) main::@6
Culled Empty Block (label) @45
Culled Empty Block (label) lin16u_gen::@4
Culled Empty Block (label) lin16u_gen::@3
Culled Empty Block (label) lin16u_gen::@5
Culled Empty Block (label) lin16u_gen::@6

CONTROL FLOW GRAPH SSA
@begin: scope:[]  from
  to:@2
@2: scope:[]  from @begin
  (word) rem16u#0 ← (number) 0
  to:@20
divr16u: scope:[divr16u]  from lin16u_gen lin16u_gen::@7
  (word) divr16u::divisor#6 ← phi( lin16u_gen/(word) divr16u::divisor#0 lin16u_gen::@7/(word) divr16u::divisor#1 )
  (word) divr16u::dividend#5 ← phi( lin16u_gen/(word) divr16u::dividend#1 lin16u_gen::@7/(word) divr16u::dividend#2 )
  (word) divr16u::rem#10 ← phi( lin16u_gen/(word) divr16u::rem#3 lin16u_gen::@7/(word) divr16u::rem#4 )
  (word) divr16u::quotient#0 ← (number) 0
  (byte) divr16u::i#0 ← (byte) 0
  to:divr16u::@1
divr16u::@1: scope:[divr16u]  from divr16u divr16u::@3
  (byte) divr16u::i#5 ← phi( divr16u/(byte) divr16u::i#0 divr16u::@3/(byte) divr16u::i#1 )
  (word) divr16u::divisor#4 ← phi( divr16u/(word) divr16u::divisor#6 divr16u::@3/(word) divr16u::divisor#7 )
  (word) divr16u::quotient#6 ← phi( divr16u/(word) divr16u::quotient#0 divr16u::@3/(word) divr16u::quotient#8 )
  (word) divr16u::dividend#3 ← phi( divr16u/(word) divr16u::dividend#5 divr16u::@3/(word) divr16u::dividend#6 )
  (word) divr16u::rem#5 ← phi( divr16u/(word) divr16u::rem#10 divr16u::@3/(word) divr16u::rem#11 )
  (word~) divr16u::$0 ← (word) divr16u::rem#5 << (number) 1
  (word) divr16u::rem#0 ← (word~) divr16u::$0
  (byte~) divr16u::$1 ← > (word) divr16u::dividend#3
  (number~) divr16u::$2 ← (byte~) divr16u::$1 & (number) $80
  (bool~) divr16u::$3 ← (number~) divr16u::$2 != (number) 0
  (bool~) divr16u::$4 ← ! (bool~) divr16u::$3
  if((bool~) divr16u::$4) goto divr16u::@2
  to:divr16u::@4
divr16u::@2: scope:[divr16u]  from divr16u::@1 divr16u::@4
  (byte) divr16u::i#3 ← phi( divr16u::@1/(byte) divr16u::i#5 divr16u::@4/(byte) divr16u::i#6 )
  (word) divr16u::divisor#2 ← phi( divr16u::@1/(word) divr16u::divisor#4 divr16u::@4/(word) divr16u::divisor#5 )
  (word) divr16u::rem#6 ← phi( divr16u::@1/(word) divr16u::rem#0 divr16u::@4/(word) divr16u::rem#1 )
  (word) divr16u::quotient#3 ← phi( divr16u::@1/(word) divr16u::quotient#6 divr16u::@4/(word) divr16u::quotient#7 )
  (word) divr16u::dividend#4 ← phi( divr16u::@1/(word) divr16u::dividend#3 divr16u::@4/(word) divr16u::dividend#7 )
  (word~) divr16u::$6 ← (word) divr16u::dividend#4 << (number) 1
  (word) divr16u::dividend#0 ← (word~) divr16u::$6
  (word~) divr16u::$7 ← (word) divr16u::quotient#3 << (number) 1
  (word) divr16u::quotient#1 ← (word~) divr16u::$7
  (bool~) divr16u::$8 ← (word) divr16u::rem#6 >= (word) divr16u::divisor#2
  (bool~) divr16u::$9 ← ! (bool~) divr16u::$8
  if((bool~) divr16u::$9) goto divr16u::@3
  to:divr16u::@5
divr16u::@4: scope:[divr16u]  from divr16u::@1
  (byte) divr16u::i#6 ← phi( divr16u::@1/(byte) divr16u::i#5 )
  (word) divr16u::divisor#5 ← phi( divr16u::@1/(word) divr16u::divisor#4 )
  (word) divr16u::quotient#7 ← phi( divr16u::@1/(word) divr16u::quotient#6 )
  (word) divr16u::dividend#7 ← phi( divr16u::@1/(word) divr16u::dividend#3 )
  (word) divr16u::rem#7 ← phi( divr16u::@1/(word) divr16u::rem#0 )
  (number~) divr16u::$5 ← (word) divr16u::rem#7 | (number) 1
  (word) divr16u::rem#1 ← (number~) divr16u::$5
  to:divr16u::@2
divr16u::@3: scope:[divr16u]  from divr16u::@2 divr16u::@5
  (word) divr16u::divisor#7 ← phi( divr16u::@2/(word) divr16u::divisor#2 divr16u::@5/(word) divr16u::divisor#3 )
  (word) divr16u::quotient#8 ← phi( divr16u::@2/(word) divr16u::quotient#1 divr16u::@5/(word) divr16u::quotient#2 )
  (word) divr16u::dividend#6 ← phi( divr16u::@2/(word) divr16u::dividend#0 divr16u::@5/(word) divr16u::dividend#8 )
  (word) divr16u::rem#11 ← phi( divr16u::@2/(word) divr16u::rem#6 divr16u::@5/(word) divr16u::rem#2 )
  (byte) divr16u::i#2 ← phi( divr16u::@2/(byte) divr16u::i#3 divr16u::@5/(byte) divr16u::i#4 )
  (byte) divr16u::i#1 ← (byte) divr16u::i#2 + rangenext(0,$f)
  (bool~) divr16u::$11 ← (byte) divr16u::i#1 != rangelast(0,$f)
  if((bool~) divr16u::$11) goto divr16u::@1
  to:divr16u::@6
divr16u::@5: scope:[divr16u]  from divr16u::@2
  (word) divr16u::dividend#8 ← phi( divr16u::@2/(word) divr16u::dividend#0 )
  (byte) divr16u::i#4 ← phi( divr16u::@2/(byte) divr16u::i#3 )
  (word) divr16u::divisor#3 ← phi( divr16u::@2/(word) divr16u::divisor#2 )
  (word) divr16u::rem#8 ← phi( divr16u::@2/(word) divr16u::rem#6 )
  (word) divr16u::quotient#4 ← phi( divr16u::@2/(word) divr16u::quotient#1 )
  (word) divr16u::quotient#2 ← ++ (word) divr16u::quotient#4
  (word~) divr16u::$10 ← (word) divr16u::rem#8 - (word) divr16u::divisor#3
  (word) divr16u::rem#2 ← (word~) divr16u::$10
  to:divr16u::@3
divr16u::@6: scope:[divr16u]  from divr16u::@3
  (word) divr16u::quotient#5 ← phi( divr16u::@3/(word) divr16u::quotient#8 )
  (word) divr16u::rem#9 ← phi( divr16u::@3/(word) divr16u::rem#11 )
  (word) rem16u#1 ← (word) divr16u::rem#9
  (word) divr16u::return#0 ← (word) divr16u::quotient#5
  to:divr16u::@return
divr16u::@return: scope:[divr16u]  from divr16u::@6
  (word) rem16u#11 ← phi( divr16u::@6/(word) rem16u#1 )
  (word) divr16u::return#4 ← phi( divr16u::@6/(word) divr16u::return#0 )
  (word) divr16u::return#1 ← (word) divr16u::return#4
  (word) rem16u#2 ← (word) rem16u#11
  return 
  to:@return
memset: scope:[memset]  from print_cls
  (byte) memset::c#4 ← phi( print_cls/(byte) memset::c#0 )
  (void*) memset::str#3 ← phi( print_cls/(void*) memset::str#0 )
  (word) memset::num#1 ← phi( print_cls/(word) memset::num#0 )
  (bool~) memset::$0 ← (word) memset::num#1 > (number) 0
  (bool~) memset::$1 ← ! (bool~) memset::$0
  if((bool~) memset::$1) goto memset::@1
  to:memset::@2
memset::@1: scope:[memset]  from memset memset::@4
  (void*) memset::str#1 ← phi( memset/(void*) memset::str#3 memset::@4/(void*) memset::str#4 )
  (void*) memset::return#0 ← (void*) memset::str#1
  to:memset::@return
memset::@2: scope:[memset]  from memset
  (byte) memset::c#3 ← phi( memset/(byte) memset::c#4 )
  (word) memset::num#2 ← phi( memset/(word) memset::num#1 )
  (void*) memset::str#2 ← phi( memset/(void*) memset::str#3 )
  (byte*~) memset::$2 ← ((byte*)) (void*) memset::str#2
  (byte*~) memset::$3 ← (byte*~) memset::$2 + (word) memset::num#2
  (byte*) memset::end#0 ← (byte*~) memset::$3
  (byte*) memset::dst#0 ← ((byte*)) (void*) memset::str#2
  to:memset::@4
memset::@4: scope:[memset]  from memset::@2 memset::@5
  (byte) memset::c#2 ← phi( memset::@2/(byte) memset::c#3 memset::@5/(byte) memset::c#1 )
  (void*) memset::str#4 ← phi( memset::@2/(void*) memset::str#2 memset::@5/(void*) memset::str#5 )
  (byte*) memset::end#1 ← phi( memset::@2/(byte*) memset::end#0 memset::@5/(byte*) memset::end#2 )
  (byte*) memset::dst#2 ← phi( memset::@2/(byte*) memset::dst#0 memset::@5/(byte*) memset::dst#1 )
  (bool~) memset::$4 ← (byte*) memset::dst#2 != (byte*) memset::end#1
  if((bool~) memset::$4) goto memset::@5
  to:memset::@1
memset::@5: scope:[memset]  from memset::@4
  (void*) memset::str#5 ← phi( memset::@4/(void*) memset::str#4 )
  (byte*) memset::end#2 ← phi( memset::@4/(byte*) memset::end#1 )
  (byte*) memset::dst#3 ← phi( memset::@4/(byte*) memset::dst#2 )
  (byte) memset::c#1 ← phi( memset::@4/(byte) memset::c#2 )
  *((byte*) memset::dst#3) ← (byte) memset::c#1
  (byte*) memset::dst#1 ← ++ (byte*) memset::dst#3
  to:memset::@4
memset::@return: scope:[memset]  from memset::@1
  (void*) memset::return#3 ← phi( memset::@1/(void*) memset::return#0 )
  (void*) memset::return#1 ← (void*) memset::return#3
  return 
  to:@return
@20: scope:[]  from @2
  (word) rem16u#28 ← phi( @2/(word) rem16u#0 )
  (byte*) print_screen#0 ← ((byte*)) (number) $400
  (byte*) print_line_cursor#0 ← (byte*) print_screen#0
  (byte*) print_char_cursor#0 ← (byte*) print_line_cursor#0
  to:@37
print_str: scope:[print_str]  from main::@10 main::@12 main::@14 main::@18 main::@20 main::@22 main::@27 main::@29 main::@3
  (byte*) print_char_cursor#86 ← phi( main::@10/(byte*) print_char_cursor#15 main::@12/(byte*) print_char_cursor#17 main::@14/(byte*) print_char_cursor#19 main::@18/(byte*) print_char_cursor#23 main::@20/(byte*) print_char_cursor#25 main::@22/(byte*) print_char_cursor#27 main::@27/(byte*) print_char_cursor#32 main::@29/(byte*) print_char_cursor#34 main::@3/(byte*) print_char_cursor#84 )
  (byte*) print_str::str#12 ← phi( main::@10/(byte*) print_str::str#1 main::@12/(byte*) print_str::str#2 main::@14/(byte*) print_str::str#3 main::@18/(byte*) print_str::str#4 main::@20/(byte*) print_str::str#5 main::@22/(byte*) print_str::str#6 main::@27/(byte*) print_str::str#8 main::@29/(byte*) print_str::str#9 main::@3/(byte*) print_str::str#7 )
  to:print_str::@1
print_str::@1: scope:[print_str]  from print_str print_str::@2
  (byte*) print_char_cursor#78 ← phi( print_str/(byte*) print_char_cursor#86 print_str::@2/(byte*) print_char_cursor#1 )
  (byte*) print_str::str#10 ← phi( print_str/(byte*) print_str::str#12 print_str::@2/(byte*) print_str::str#0 )
  (bool~) print_str::$0 ← (number) 0 != *((byte*) print_str::str#10)
  if((bool~) print_str::$0) goto print_str::@2
  to:print_str::@return
print_str::@2: scope:[print_str]  from print_str::@1
  (byte*) print_char_cursor#40 ← phi( print_str::@1/(byte*) print_char_cursor#78 )
  (byte*) print_str::str#11 ← phi( print_str::@1/(byte*) print_str::str#10 )
  *((byte*) print_char_cursor#40) ← *((byte*) print_str::str#11)
  (byte*) print_char_cursor#1 ← ++ (byte*) print_char_cursor#40
  (byte*) print_str::str#0 ← ++ (byte*) print_str::str#11
  to:print_str::@1
print_str::@return: scope:[print_str]  from print_str::@1
  (byte*) print_char_cursor#41 ← phi( print_str::@1/(byte*) print_char_cursor#78 )
  (byte*) print_char_cursor#2 ← (byte*) print_char_cursor#41
  return 
  to:@return
print_ln: scope:[print_ln]  from main::@16 main::@24 main::@31
  (byte*) print_char_cursor#79 ← phi( main::@16/(byte*) print_char_cursor#21 main::@24/(byte*) print_char_cursor#29 main::@31/(byte*) print_char_cursor#36 )
  (byte*) print_line_cursor#21 ← phi( main::@16/(byte*) print_line_cursor#23 main::@24/(byte*) print_line_cursor#24 main::@31/(byte*) print_line_cursor#25 )
  to:print_ln::@1
print_ln::@1: scope:[print_ln]  from print_ln print_ln::@1
  (byte*) print_char_cursor#42 ← phi( print_ln/(byte*) print_char_cursor#79 print_ln::@1/(byte*) print_char_cursor#42 )
  (byte*) print_line_cursor#11 ← phi( print_ln/(byte*) print_line_cursor#21 print_ln::@1/(byte*) print_line_cursor#1 )
  (byte*~) print_ln::$0 ← (byte*) print_line_cursor#11 + (number) $28
  (byte*) print_line_cursor#1 ← (byte*~) print_ln::$0
  (bool~) print_ln::$1 ← (byte*) print_line_cursor#1 < (byte*) print_char_cursor#42
  if((bool~) print_ln::$1) goto print_ln::@1
  to:print_ln::@2
print_ln::@2: scope:[print_ln]  from print_ln::@1
  (byte*) print_line_cursor#12 ← phi( print_ln::@1/(byte*) print_line_cursor#1 )
  (byte*) print_char_cursor#3 ← (byte*) print_line_cursor#12
  to:print_ln::@return
print_ln::@return: scope:[print_ln]  from print_ln::@2
  (byte*) print_char_cursor#43 ← phi( print_ln::@2/(byte*) print_char_cursor#3 )
  (byte*) print_line_cursor#13 ← phi( print_ln::@2/(byte*) print_line_cursor#12 )
  (byte*) print_line_cursor#2 ← (byte*) print_line_cursor#13
  (byte*) print_char_cursor#4 ← (byte*) print_char_cursor#43
  return 
  to:@return
print_word: scope:[print_word]  from main::@11 main::@13 main::@15 main::@19 main::@21 main::@23 main::@26 main::@28 main::@30
  (byte*) print_char_cursor#80 ← phi( main::@11/(byte*) print_char_cursor#16 main::@13/(byte*) print_char_cursor#18 main::@15/(byte*) print_char_cursor#20 main::@19/(byte*) print_char_cursor#24 main::@21/(byte*) print_char_cursor#26 main::@23/(byte*) print_char_cursor#28 main::@26/(byte*) print_char_cursor#31 main::@28/(byte*) print_char_cursor#33 main::@30/(byte*) print_char_cursor#35 )
  (word) print_word::w#9 ← phi( main::@11/(word) print_word::w#0 main::@13/(word) print_word::w#1 main::@15/(word) print_word::w#2 main::@19/(word) print_word::w#3 main::@21/(word) print_word::w#4 main::@23/(word) print_word::w#5 main::@26/(word) print_word::w#6 main::@28/(word) print_word::w#7 main::@30/(word) print_word::w#8 )
  (byte~) print_word::$0 ← > (word) print_word::w#9
  (byte) print_byte::b#0 ← (byte~) print_word::$0
  call print_byte 
  to:print_word::@1
print_word::@1: scope:[print_word]  from print_word
  (word) print_word::w#10 ← phi( print_word/(word) print_word::w#9 )
  (byte*) print_char_cursor#44 ← phi( print_word/(byte*) print_char_cursor#10 )
  (byte*) print_char_cursor#5 ← (byte*) print_char_cursor#44
  (byte~) print_word::$2 ← < (word) print_word::w#10
  (byte) print_byte::b#1 ← (byte~) print_word::$2
  call print_byte 
  to:print_word::@2
print_word::@2: scope:[print_word]  from print_word::@1
  (byte*) print_char_cursor#45 ← phi( print_word::@1/(byte*) print_char_cursor#10 )
  (byte*) print_char_cursor#6 ← (byte*) print_char_cursor#45
  to:print_word::@return
print_word::@return: scope:[print_word]  from print_word::@2
  (byte*) print_char_cursor#46 ← phi( print_word::@2/(byte*) print_char_cursor#6 )
  (byte*) print_char_cursor#7 ← (byte*) print_char_cursor#46
  return 
  to:@return
@37: scope:[]  from @20
  (byte*) print_screen#8 ← phi( @20/(byte*) print_screen#0 )
  (byte*) print_char_cursor#89 ← phi( @20/(byte*) print_char_cursor#0 )
  (byte*) print_line_cursor#31 ← phi( @20/(byte*) print_line_cursor#0 )
  (word) rem16u#27 ← phi( @20/(word) rem16u#28 )
  (byte[]) print_hextab#0 ← (const string) $0
  to:@46
print_byte: scope:[print_byte]  from main::@2 print_word print_word::@1
  (byte*) print_char_cursor#81 ← phi( main::@2/(byte*) print_char_cursor#83 print_word/(byte*) print_char_cursor#80 print_word::@1/(byte*) print_char_cursor#5 )
  (byte) print_byte::b#3 ← phi( main::@2/(byte) print_byte::b#2 print_word/(byte) print_byte::b#0 print_word::@1/(byte) print_byte::b#1 )
  (byte~) print_byte::$0 ← (byte) print_byte::b#3 >> (number) 4
  (byte) print_char::ch#0 ← *((byte[]) print_hextab#0 + (byte~) print_byte::$0)
  call print_char 
  to:print_byte::@1
print_byte::@1: scope:[print_byte]  from print_byte
  (byte) print_byte::b#4 ← phi( print_byte/(byte) print_byte::b#3 )
  (byte*) print_char_cursor#47 ← phi( print_byte/(byte*) print_char_cursor#12 )
  (byte*) print_char_cursor#8 ← (byte*) print_char_cursor#47
  (number~) print_byte::$2 ← (byte) print_byte::b#4 & (number) $f
  (byte) print_char::ch#1 ← *((byte[]) print_hextab#0 + (number~) print_byte::$2)
  call print_char 
  to:print_byte::@2
print_byte::@2: scope:[print_byte]  from print_byte::@1
  (byte*) print_char_cursor#48 ← phi( print_byte::@1/(byte*) print_char_cursor#12 )
  (byte*) print_char_cursor#9 ← (byte*) print_char_cursor#48
  to:print_byte::@return
print_byte::@return: scope:[print_byte]  from print_byte::@2
  (byte*) print_char_cursor#49 ← phi( print_byte::@2/(byte*) print_char_cursor#9 )
  (byte*) print_char_cursor#10 ← (byte*) print_char_cursor#49
  return 
  to:@return
print_char: scope:[print_char]  from print_byte print_byte::@1
  (byte*) print_char_cursor#50 ← phi( print_byte/(byte*) print_char_cursor#81 print_byte::@1/(byte*) print_char_cursor#8 )
  (byte) print_char::ch#2 ← phi( print_byte/(byte) print_char::ch#0 print_byte::@1/(byte) print_char::ch#1 )
  *((byte*) print_char_cursor#50) ← (byte) print_char::ch#2
  (byte*) print_char_cursor#11 ← ++ (byte*) print_char_cursor#50
  to:print_char::@return
print_char::@return: scope:[print_char]  from print_char
  (byte*) print_char_cursor#51 ← phi( print_char/(byte*) print_char_cursor#11 )
  (byte*) print_char_cursor#12 ← (byte*) print_char_cursor#51
  return 
  to:@return
print_cls: scope:[print_cls]  from main::@9
  (byte*) print_screen#1 ← phi( main::@9/(byte*) print_screen#3 )
  (void*) memset::str#0 ← (void*)(byte*) print_screen#1
  (byte) memset::c#0 ← (byte) ' '
  (word) memset::num#0 ← (number) $3e8
  call memset 
  (void*) memset::return#2 ← (void*) memset::return#1
  to:print_cls::@1
print_cls::@1: scope:[print_cls]  from print_cls
  (byte*) print_screen#2 ← phi( print_cls/(byte*) print_screen#1 )
  (byte*) print_line_cursor#3 ← (byte*) print_screen#2
  (byte*) print_char_cursor#13 ← (byte*) print_line_cursor#3
  to:print_cls::@return
print_cls::@return: scope:[print_cls]  from print_cls::@1
  (byte*) print_char_cursor#52 ← phi( print_cls::@1/(byte*) print_char_cursor#13 )
  (byte*) print_line_cursor#14 ← phi( print_cls::@1/(byte*) print_line_cursor#3 )
  (byte*) print_line_cursor#4 ← (byte*) print_line_cursor#14
  (byte*) print_char_cursor#14 ← (byte*) print_char_cursor#52
  return 
  to:@return
main: scope:[main]  from @46
  (byte*) print_char_cursor#91 ← phi( @46/(byte*) print_char_cursor#85 )
  (byte*) print_line_cursor#36 ← phi( @46/(byte*) print_line_cursor#26 )
  (byte*) print_screen#6 ← phi( @46/(byte*) print_screen#7 )
  (word) rem16u#20 ← phi( @46/(word) rem16u#24 )
  (word[$14]) main::lintab1#0 ← { fill( $14, 0) }
  (word) lin16u_gen::min#0 ← (number) $22d
  (word) lin16u_gen::max#0 ← (number) $7461
  (word*) lin16u_gen::lintab#0 ← (word[$14]) main::lintab1#0
  (word) lin16u_gen::length#0 ← (number) $14
  call lin16u_gen 
  to:main::@7
main::@7: scope:[main]  from main
  (byte*) print_char_cursor#90 ← phi( main/(byte*) print_char_cursor#91 )
  (byte*) print_line_cursor#32 ← phi( main/(byte*) print_line_cursor#36 )
  (byte*) print_screen#5 ← phi( main/(byte*) print_screen#6 )
  (word) rem16u#12 ← phi( main/(word) rem16u#9 )
  (word) rem16u#3 ← (word) rem16u#12
  (word[$14]) main::lintab2#0 ← { fill( $14, 0) }
  (word) lin16u_gen::min#1 ← (number) $79cb
  (word) lin16u_gen::max#1 ← (number) $f781
  (word*) lin16u_gen::lintab#1 ← (word[$14]) main::lintab2#0
  (word) lin16u_gen::length#1 ← (number) $14
  call lin16u_gen 
  to:main::@8
main::@8: scope:[main]  from main::@7
  (byte*) print_char_cursor#87 ← phi( main::@7/(byte*) print_char_cursor#90 )
  (byte*) print_line_cursor#27 ← phi( main::@7/(byte*) print_line_cursor#32 )
  (byte*) print_screen#4 ← phi( main::@7/(byte*) print_screen#5 )
  (word) rem16u#13 ← phi( main::@7/(word) rem16u#9 )
  (word) rem16u#4 ← (word) rem16u#13
  (word[$14]) main::lintab3#0 ← { fill( $14, 0) }
  (word) lin16u_gen::min#2 ← (number) 0
  (word) lin16u_gen::max#2 ← (number) $6488
  (word*) lin16u_gen::lintab#2 ← (word[$14]) main::lintab3#0
  (word) lin16u_gen::length#2 ← (number) $14
  call lin16u_gen 
  to:main::@9
main::@9: scope:[main]  from main::@8
  (byte*) print_char_cursor#82 ← phi( main::@8/(byte*) print_char_cursor#87 )
  (byte*) print_line_cursor#22 ← phi( main::@8/(byte*) print_line_cursor#27 )
  (byte*) print_screen#3 ← phi( main::@8/(byte*) print_screen#4 )
  (word) rem16u#14 ← phi( main::@8/(word) rem16u#9 )
  (word) rem16u#5 ← (word) rem16u#14
  call print_cls 
  to:main::@10
main::@10: scope:[main]  from main::@9
  (word) rem16u#50 ← phi( main::@9/(word) rem16u#5 )
  (byte*) print_char_cursor#53 ← phi( main::@9/(byte*) print_char_cursor#14 )
  (byte*) print_line_cursor#15 ← phi( main::@9/(byte*) print_line_cursor#4 )
  (byte*) print_line_cursor#5 ← (byte*) print_line_cursor#15
  (byte*) print_char_cursor#15 ← (byte*) print_char_cursor#53
  (byte*) print_str::str#1 ← (const string) main::str
  call print_str 
  to:main::@11
main::@11: scope:[main]  from main::@10
  (word) rem16u#48 ← phi( main::@10/(word) rem16u#50 )
  (byte*) print_line_cursor#43 ← phi( main::@10/(byte*) print_line_cursor#5 )
  (byte*) print_char_cursor#54 ← phi( main::@10/(byte*) print_char_cursor#2 )
  (byte*) print_char_cursor#16 ← (byte*) print_char_cursor#54
  (word) print_word::w#0 ← (number) $22d
  call print_word 
  to:main::@12
main::@12: scope:[main]  from main::@11
  (word) rem16u#46 ← phi( main::@11/(word) rem16u#48 )
  (byte*) print_line_cursor#40 ← phi( main::@11/(byte*) print_line_cursor#43 )
  (byte*) print_char_cursor#55 ← phi( main::@11/(byte*) print_char_cursor#7 )
  (byte*) print_char_cursor#17 ← (byte*) print_char_cursor#55
  (byte*) print_str::str#2 ← (const string) main::str1
  call print_str 
  to:main::@13
main::@13: scope:[main]  from main::@12
  (word) rem16u#44 ← phi( main::@12/(word) rem16u#46 )
  (byte*) print_line_cursor#37 ← phi( main::@12/(byte*) print_line_cursor#40 )
  (byte*) print_char_cursor#56 ← phi( main::@12/(byte*) print_char_cursor#2 )
  (byte*) print_char_cursor#18 ← (byte*) print_char_cursor#56
  (word) print_word::w#1 ← (number) $79cb
  call print_word 
  to:main::@14
main::@14: scope:[main]  from main::@13
  (word) rem16u#42 ← phi( main::@13/(word) rem16u#44 )
  (byte*) print_line_cursor#33 ← phi( main::@13/(byte*) print_line_cursor#37 )
  (byte*) print_char_cursor#57 ← phi( main::@13/(byte*) print_char_cursor#7 )
  (byte*) print_char_cursor#19 ← (byte*) print_char_cursor#57
  (byte*) print_str::str#3 ← (const string) main::str2
  call print_str 
  to:main::@15
main::@15: scope:[main]  from main::@14
  (word) rem16u#40 ← phi( main::@14/(word) rem16u#42 )
  (byte*) print_line_cursor#28 ← phi( main::@14/(byte*) print_line_cursor#33 )
  (byte*) print_char_cursor#58 ← phi( main::@14/(byte*) print_char_cursor#2 )
  (byte*) print_char_cursor#20 ← (byte*) print_char_cursor#58
  (word) print_word::w#2 ← (number) 0
  call print_word 
  to:main::@16
main::@16: scope:[main]  from main::@15
  (word) rem16u#38 ← phi( main::@15/(word) rem16u#40 )
  (byte*) print_line_cursor#23 ← phi( main::@15/(byte*) print_line_cursor#28 )
  (byte*) print_char_cursor#59 ← phi( main::@15/(byte*) print_char_cursor#7 )
  (byte*) print_char_cursor#21 ← (byte*) print_char_cursor#59
  call print_ln 
  to:main::@17
main::@17: scope:[main]  from main::@16
  (word) rem16u#36 ← phi( main::@16/(word) rem16u#38 )
  (byte*) print_char_cursor#60 ← phi( main::@16/(byte*) print_char_cursor#4 )
  (byte*) print_line_cursor#16 ← phi( main::@16/(byte*) print_line_cursor#2 )
  (byte*) print_line_cursor#6 ← (byte*) print_line_cursor#16
  (byte*) print_char_cursor#22 ← (byte*) print_char_cursor#60
  (byte) main::i#0 ← (number) 0
  to:main::@1
main::@1: scope:[main]  from main::@17 main::@25
  (word) rem16u#35 ← phi( main::@17/(word) rem16u#36 main::@25/(word) rem16u#37 )
  (byte*) print_line_cursor#49 ← phi( main::@17/(byte*) print_line_cursor#6 main::@25/(byte*) print_line_cursor#7 )
  (byte*) print_char_cursor#88 ← phi( main::@17/(byte*) print_char_cursor#22 main::@25/(byte*) print_char_cursor#30 )
  (byte) main::i#2 ← phi( main::@17/(byte) main::i#0 main::@25/(byte) main::i#1 )
  (bool~) main::$18 ← (byte) main::i#2 < (number) $14
  if((bool~) main::$18) goto main::@2
  to:main::@3
main::@2: scope:[main]  from main::@1
  (word) rem16u#52 ← phi( main::@1/(word) rem16u#35 )
  (byte*) print_line_cursor#48 ← phi( main::@1/(byte*) print_line_cursor#49 )
  (byte*) print_char_cursor#83 ← phi( main::@1/(byte*) print_char_cursor#88 )
  (byte) main::i#3 ← phi( main::@1/(byte) main::i#2 )
  (byte) print_byte::b#2 ← (byte) main::i#3
  call print_byte 
  to:main::@18
main::@18: scope:[main]  from main::@2
  (word) rem16u#51 ← phi( main::@2/(word) rem16u#52 )
  (byte*) print_line_cursor#46 ← phi( main::@2/(byte*) print_line_cursor#48 )
  (byte) main::i#8 ← phi( main::@2/(byte) main::i#3 )
  (byte*) print_char_cursor#61 ← phi( main::@2/(byte*) print_char_cursor#10 )
  (byte*) print_char_cursor#23 ← (byte*) print_char_cursor#61
  (byte*) print_str::str#4 ← (const string) main::str3
  call print_str 
  to:main::@19
main::@19: scope:[main]  from main::@18
  (word) rem16u#49 ← phi( main::@18/(word) rem16u#51 )
  (byte*) print_line_cursor#44 ← phi( main::@18/(byte*) print_line_cursor#46 )
  (byte) main::i#4 ← phi( main::@18/(byte) main::i#8 )
  (byte*) print_char_cursor#62 ← phi( main::@18/(byte*) print_char_cursor#2 )
  (byte*) print_char_cursor#24 ← (byte*) print_char_cursor#62
  (byte~) main::$27 ← (byte) main::i#4 * (const byte) SIZEOF_WORD
  (word) print_word::w#3 ← *((word[$14]) main::lintab1#0 + (byte~) main::$27)
  call print_word 
  to:main::@20
main::@20: scope:[main]  from main::@19
  (word) rem16u#47 ← phi( main::@19/(word) rem16u#49 )
  (byte*) print_line_cursor#41 ← phi( main::@19/(byte*) print_line_cursor#44 )
  (byte) main::i#9 ← phi( main::@19/(byte) main::i#4 )
  (byte*) print_char_cursor#63 ← phi( main::@19/(byte*) print_char_cursor#7 )
  (byte*) print_char_cursor#25 ← (byte*) print_char_cursor#63
  (byte*) print_str::str#5 ← (const string) main::str4
  call print_str 
  to:main::@21
main::@21: scope:[main]  from main::@20
  (word) rem16u#45 ← phi( main::@20/(word) rem16u#47 )
  (byte*) print_line_cursor#38 ← phi( main::@20/(byte*) print_line_cursor#41 )
  (byte) main::i#5 ← phi( main::@20/(byte) main::i#9 )
  (byte*) print_char_cursor#64 ← phi( main::@20/(byte*) print_char_cursor#2 )
  (byte*) print_char_cursor#26 ← (byte*) print_char_cursor#64
  (byte~) main::$28 ← (byte) main::i#5 * (const byte) SIZEOF_WORD
  (word) print_word::w#4 ← *((word[$14]) main::lintab2#0 + (byte~) main::$28)
  call print_word 
  to:main::@22
main::@22: scope:[main]  from main::@21
  (word) rem16u#43 ← phi( main::@21/(word) rem16u#45 )
  (byte*) print_line_cursor#34 ← phi( main::@21/(byte*) print_line_cursor#38 )
  (byte) main::i#10 ← phi( main::@21/(byte) main::i#5 )
  (byte*) print_char_cursor#65 ← phi( main::@21/(byte*) print_char_cursor#7 )
  (byte*) print_char_cursor#27 ← (byte*) print_char_cursor#65
  (byte*) print_str::str#6 ← (const string) main::str5
  call print_str 
  to:main::@23
main::@23: scope:[main]  from main::@22
  (word) rem16u#41 ← phi( main::@22/(word) rem16u#43 )
  (byte*) print_line_cursor#29 ← phi( main::@22/(byte*) print_line_cursor#34 )
  (byte) main::i#6 ← phi( main::@22/(byte) main::i#10 )
  (byte*) print_char_cursor#66 ← phi( main::@22/(byte*) print_char_cursor#2 )
  (byte*) print_char_cursor#28 ← (byte*) print_char_cursor#66
  (byte~) main::$29 ← (byte) main::i#6 * (const byte) SIZEOF_WORD
  (word) print_word::w#5 ← *((word[$14]) main::lintab3#0 + (byte~) main::$29)
  call print_word 
  to:main::@24
main::@24: scope:[main]  from main::@23
  (word) rem16u#39 ← phi( main::@23/(word) rem16u#41 )
  (byte) main::i#11 ← phi( main::@23/(byte) main::i#6 )
  (byte*) print_line_cursor#24 ← phi( main::@23/(byte*) print_line_cursor#29 )
  (byte*) print_char_cursor#67 ← phi( main::@23/(byte*) print_char_cursor#7 )
  (byte*) print_char_cursor#29 ← (byte*) print_char_cursor#67
  call print_ln 
  to:main::@25
main::@25: scope:[main]  from main::@24
  (word) rem16u#37 ← phi( main::@24/(word) rem16u#39 )
  (byte) main::i#7 ← phi( main::@24/(byte) main::i#11 )
  (byte*) print_char_cursor#68 ← phi( main::@24/(byte*) print_char_cursor#4 )
  (byte*) print_line_cursor#17 ← phi( main::@24/(byte*) print_line_cursor#2 )
  (byte*) print_line_cursor#7 ← (byte*) print_line_cursor#17
  (byte*) print_char_cursor#30 ← (byte*) print_char_cursor#68
  (byte) main::i#1 ← ++ (byte) main::i#7
  to:main::@1
main::@3: scope:[main]  from main::@1
  (word) rem16u#34 ← phi( main::@1/(word) rem16u#35 )
  (byte*) print_line_cursor#47 ← phi( main::@1/(byte*) print_line_cursor#49 )
  (byte*) print_char_cursor#84 ← phi( main::@1/(byte*) print_char_cursor#88 )
  (byte*) print_str::str#7 ← (const string) main::str6
  call print_str 
  to:main::@26
main::@26: scope:[main]  from main::@3
  (word) rem16u#33 ← phi( main::@3/(word) rem16u#34 )
  (byte*) print_line_cursor#45 ← phi( main::@3/(byte*) print_line_cursor#47 )
  (byte*) print_char_cursor#69 ← phi( main::@3/(byte*) print_char_cursor#2 )
  (byte*) print_char_cursor#31 ← (byte*) print_char_cursor#69
  (word) print_word::w#6 ← (number) $7461
  call print_word 
  to:main::@27
main::@27: scope:[main]  from main::@26
  (word) rem16u#32 ← phi( main::@26/(word) rem16u#33 )
  (byte*) print_line_cursor#42 ← phi( main::@26/(byte*) print_line_cursor#45 )
  (byte*) print_char_cursor#70 ← phi( main::@26/(byte*) print_char_cursor#7 )
  (byte*) print_char_cursor#32 ← (byte*) print_char_cursor#70
  (byte*) print_str::str#8 ← (const string) main::str7
  call print_str 
  to:main::@28
main::@28: scope:[main]  from main::@27
  (word) rem16u#31 ← phi( main::@27/(word) rem16u#32 )
  (byte*) print_line_cursor#39 ← phi( main::@27/(byte*) print_line_cursor#42 )
  (byte*) print_char_cursor#71 ← phi( main::@27/(byte*) print_char_cursor#2 )
  (byte*) print_char_cursor#33 ← (byte*) print_char_cursor#71
  (word) print_word::w#7 ← (number) $f781
  call print_word 
  to:main::@29
main::@29: scope:[main]  from main::@28
  (word) rem16u#30 ← phi( main::@28/(word) rem16u#31 )
  (byte*) print_line_cursor#35 ← phi( main::@28/(byte*) print_line_cursor#39 )
  (byte*) print_char_cursor#72 ← phi( main::@28/(byte*) print_char_cursor#7 )
  (byte*) print_char_cursor#34 ← (byte*) print_char_cursor#72
  (byte*) print_str::str#9 ← (const string) main::str8
  call print_str 
  to:main::@30
main::@30: scope:[main]  from main::@29
  (word) rem16u#29 ← phi( main::@29/(word) rem16u#30 )
  (byte*) print_line_cursor#30 ← phi( main::@29/(byte*) print_line_cursor#35 )
  (byte*) print_char_cursor#73 ← phi( main::@29/(byte*) print_char_cursor#2 )
  (byte*) print_char_cursor#35 ← (byte*) print_char_cursor#73
  (word) print_word::w#8 ← (number) $6488
  call print_word 
  to:main::@31
main::@31: scope:[main]  from main::@30
  (word) rem16u#25 ← phi( main::@30/(word) rem16u#29 )
  (byte*) print_line_cursor#25 ← phi( main::@30/(byte*) print_line_cursor#30 )
  (byte*) print_char_cursor#74 ← phi( main::@30/(byte*) print_char_cursor#7 )
  (byte*) print_char_cursor#36 ← (byte*) print_char_cursor#74
  call print_ln 
  to:main::@32
main::@32: scope:[main]  from main::@31
  (word) rem16u#21 ← phi( main::@31/(word) rem16u#25 )
  (byte*) print_char_cursor#75 ← phi( main::@31/(byte*) print_char_cursor#4 )
  (byte*) print_line_cursor#18 ← phi( main::@31/(byte*) print_line_cursor#2 )
  (byte*) print_line_cursor#8 ← (byte*) print_line_cursor#18
  (byte*) print_char_cursor#37 ← (byte*) print_char_cursor#75
  to:main::@return
main::@return: scope:[main]  from main::@32
  (byte*) print_char_cursor#76 ← phi( main::@32/(byte*) print_char_cursor#37 )
  (byte*) print_line_cursor#19 ← phi( main::@32/(byte*) print_line_cursor#8 )
  (word) rem16u#15 ← phi( main::@32/(word) rem16u#21 )
  (word) rem16u#6 ← (word) rem16u#15
  (byte*) print_line_cursor#9 ← (byte*) print_line_cursor#19
  (byte*) print_char_cursor#38 ← (byte*) print_char_cursor#76
  return 
  to:@return
lin16u_gen: scope:[lin16u_gen]  from main main::@7 main::@8
  (word*) lin16u_gen::lintab#8 ← phi( main/(word*) lin16u_gen::lintab#0 main::@7/(word*) lin16u_gen::lintab#1 main::@8/(word*) lin16u_gen::lintab#2 )
  (word) rem16u#22 ← phi( main/(word) rem16u#20 main::@7/(word) rem16u#3 main::@8/(word) rem16u#4 )
  (word) lin16u_gen::length#3 ← phi( main/(word) lin16u_gen::length#0 main::@7/(word) lin16u_gen::length#1 main::@8/(word) lin16u_gen::length#2 )
  (word) lin16u_gen::min#3 ← phi( main/(word) lin16u_gen::min#0 main::@7/(word) lin16u_gen::min#1 main::@8/(word) lin16u_gen::min#2 )
  (word) lin16u_gen::max#3 ← phi( main/(word) lin16u_gen::max#0 main::@7/(word) lin16u_gen::max#1 main::@8/(word) lin16u_gen::max#2 )
  (word~) lin16u_gen::$0 ← (word) lin16u_gen::max#3 - (word) lin16u_gen::min#3
  (word) lin16u_gen::ampl#0 ← (word~) lin16u_gen::$0
  (number~) lin16u_gen::$1 ← (word) lin16u_gen::length#3 - (number) 1
  (word) divr16u::dividend#1 ← (word) lin16u_gen::ampl#0
  (word) divr16u::divisor#0 ← (number~) lin16u_gen::$1
  (word) divr16u::rem#3 ← (number) 0
  call divr16u 
  (word) divr16u::return#2 ← (word) divr16u::return#1
  to:lin16u_gen::@7
lin16u_gen::@7: scope:[lin16u_gen]  from lin16u_gen
  (word*) lin16u_gen::lintab#7 ← phi( lin16u_gen/(word*) lin16u_gen::lintab#8 )
  (word) lin16u_gen::min#5 ← phi( lin16u_gen/(word) lin16u_gen::min#3 )
  (word) lin16u_gen::length#4 ← phi( lin16u_gen/(word) lin16u_gen::length#3 )
  (word) rem16u#16 ← phi( lin16u_gen/(word) rem16u#2 )
  (word) divr16u::return#5 ← phi( lin16u_gen/(word) divr16u::return#2 )
  (word~) lin16u_gen::$2 ← (word) divr16u::return#5
  (word) rem16u#7 ← (word) rem16u#16
  (word) lin16u_gen::stepi#0 ← (word~) lin16u_gen::$2
  (number~) lin16u_gen::$3 ← (word) lin16u_gen::length#4 - (number) 1
  (word) divr16u::dividend#2 ← (number) 0
  (word) divr16u::divisor#1 ← (number~) lin16u_gen::$3
  (word) divr16u::rem#4 ← (word) rem16u#7
  call divr16u 
  (word) divr16u::return#3 ← (word) divr16u::return#1
  to:lin16u_gen::@8
lin16u_gen::@8: scope:[lin16u_gen]  from lin16u_gen::@7
  (word*) lin16u_gen::lintab#6 ← phi( lin16u_gen::@7/(word*) lin16u_gen::lintab#7 )
  (word) lin16u_gen::length#7 ← phi( lin16u_gen::@7/(word) lin16u_gen::length#4 )
  (word) lin16u_gen::min#4 ← phi( lin16u_gen::@7/(word) lin16u_gen::min#5 )
  (word) lin16u_gen::stepi#1 ← phi( lin16u_gen::@7/(word) lin16u_gen::stepi#0 )
  (word) rem16u#17 ← phi( lin16u_gen::@7/(word) rem16u#2 )
  (word) divr16u::return#6 ← phi( lin16u_gen::@7/(word) divr16u::return#3 )
  (word~) lin16u_gen::$4 ← (word) divr16u::return#6
  (word) rem16u#8 ← (word) rem16u#17
  (word) lin16u_gen::stepf#0 ← (word~) lin16u_gen::$4
  (dword) lin16u_gen::step#0 ← ((dword)) { (word) lin16u_gen::stepi#1, (word) lin16u_gen::stepf#0 }
  (dword) lin16u_gen::val#0 ← ((dword)) { (word) lin16u_gen::min#4, (number) 0 }
  (word) lin16u_gen::i#0 ← (number) 0
  to:lin16u_gen::@1
lin16u_gen::@1: scope:[lin16u_gen]  from lin16u_gen::@2 lin16u_gen::@8
  (word) rem16u#23 ← phi( lin16u_gen::@2/(word) rem16u#26 lin16u_gen::@8/(word) rem16u#8 )
  (dword) lin16u_gen::step#2 ← phi( lin16u_gen::@2/(dword) lin16u_gen::step#1 lin16u_gen::@8/(dword) lin16u_gen::step#0 )
  (word*) lin16u_gen::lintab#5 ← phi( lin16u_gen::@2/(word*) lin16u_gen::lintab#3 lin16u_gen::@8/(word*) lin16u_gen::lintab#6 )
  (dword) lin16u_gen::val#3 ← phi( lin16u_gen::@2/(dword) lin16u_gen::val#1 lin16u_gen::@8/(dword) lin16u_gen::val#0 )
  (word) lin16u_gen::length#5 ← phi( lin16u_gen::@2/(word) lin16u_gen::length#6 lin16u_gen::@8/(word) lin16u_gen::length#7 )
  (word) lin16u_gen::i#2 ← phi( lin16u_gen::@2/(word) lin16u_gen::i#1 lin16u_gen::@8/(word) lin16u_gen::i#0 )
  (bool~) lin16u_gen::$5 ← (word) lin16u_gen::i#2 < (word) lin16u_gen::length#5
  if((bool~) lin16u_gen::$5) goto lin16u_gen::@2
  to:lin16u_gen::@return
lin16u_gen::@2: scope:[lin16u_gen]  from lin16u_gen::@1
  (word) rem16u#26 ← phi( lin16u_gen::@1/(word) rem16u#23 )
  (word) lin16u_gen::length#6 ← phi( lin16u_gen::@1/(word) lin16u_gen::length#5 )
  (word) lin16u_gen::i#3 ← phi( lin16u_gen::@1/(word) lin16u_gen::i#2 )
  (dword) lin16u_gen::step#1 ← phi( lin16u_gen::@1/(dword) lin16u_gen::step#2 )
  (word*) lin16u_gen::lintab#4 ← phi( lin16u_gen::@1/(word*) lin16u_gen::lintab#5 )
  (dword) lin16u_gen::val#2 ← phi( lin16u_gen::@1/(dword) lin16u_gen::val#3 )
  (word~) lin16u_gen::$6 ← > (dword) lin16u_gen::val#2
  *((word*) lin16u_gen::lintab#4) ← (word~) lin16u_gen::$6
  (dword~) lin16u_gen::$7 ← (dword) lin16u_gen::val#2 + (dword) lin16u_gen::step#1
  (dword) lin16u_gen::val#1 ← (dword~) lin16u_gen::$7
  (word*) lin16u_gen::lintab#3 ← (word*) lin16u_gen::lintab#4 + (const byte) SIZEOF_WORD
  (word) lin16u_gen::i#1 ← ++ (word) lin16u_gen::i#3
  to:lin16u_gen::@1
lin16u_gen::@return: scope:[lin16u_gen]  from lin16u_gen::@1
  (word) rem16u#18 ← phi( lin16u_gen::@1/(word) rem16u#23 )
  (word) rem16u#9 ← (word) rem16u#18
  return 
  to:@return
@46: scope:[]  from @37
  (byte*) print_screen#7 ← phi( @37/(byte*) print_screen#8 )
  (byte*) print_char_cursor#85 ← phi( @37/(byte*) print_char_cursor#89 )
  (byte*) print_line_cursor#26 ← phi( @37/(byte*) print_line_cursor#31 )
  (word) rem16u#24 ← phi( @37/(word) rem16u#27 )
  call main 
  to:@47
@47: scope:[]  from @46
  (byte*) print_char_cursor#77 ← phi( @46/(byte*) print_char_cursor#38 )
  (byte*) print_line_cursor#20 ← phi( @46/(byte*) print_line_cursor#9 )
  (word) rem16u#19 ← phi( @46/(word) rem16u#6 )
  (word) rem16u#10 ← (word) rem16u#19
  (byte*) print_line_cursor#10 ← (byte*) print_line_cursor#20
  (byte*) print_char_cursor#39 ← (byte*) print_char_cursor#77
  to:@end
@end: scope:[]  from @47

SYMBOL TABLE SSA
(const string) $0 = (string) "0123456789abcdef"z
(label) @2
(label) @20
(label) @37
(label) @46
(label) @47
(label) @begin
(label) @end
(const byte) RADIX::BINARY = (number) 2
(const byte) RADIX::DECIMAL = (number) $a
(const byte) RADIX::HEXADECIMAL = (number) $10
(const byte) RADIX::OCTAL = (number) 8
(const byte) SIZEOF_WORD = (byte) 2
(word()) divr16u((word) divr16u::dividend , (word) divr16u::divisor , (word) divr16u::rem)
(word~) divr16u::$0
(byte~) divr16u::$1
(word~) divr16u::$10
(bool~) divr16u::$11
(number~) divr16u::$2
(bool~) divr16u::$3
(bool~) divr16u::$4
(number~) divr16u::$5
(word~) divr16u::$6
(word~) divr16u::$7
(bool~) divr16u::$8
(bool~) divr16u::$9
(label) divr16u::@1
(label) divr16u::@2
(label) divr16u::@3
(label) divr16u::@4
(label) divr16u::@5
(label) divr16u::@6
(label) divr16u::@return
(word) divr16u::dividend
(word) divr16u::dividend#0
(word) divr16u::dividend#1
(word) divr16u::dividend#2
(word) divr16u::dividend#3
(word) divr16u::dividend#4
(word) divr16u::dividend#5
(word) divr16u::dividend#6
(word) divr16u::dividend#7
(word) divr16u::dividend#8
(word) divr16u::divisor
(word) divr16u::divisor#0
(word) divr16u::divisor#1
(word) divr16u::divisor#2
(word) divr16u::divisor#3
(word) divr16u::divisor#4
(word) divr16u::divisor#5
(word) divr16u::divisor#6
(word) divr16u::divisor#7
(byte) divr16u::i
(byte) divr16u::i#0
(byte) divr16u::i#1
(byte) divr16u::i#2
(byte) divr16u::i#3
(byte) divr16u::i#4
(byte) divr16u::i#5
(byte) divr16u::i#6
(word) divr16u::quotient
(word) divr16u::quotient#0
(word) divr16u::quotient#1
(word) divr16u::quotient#2
(word) divr16u::quotient#3
(word) divr16u::quotient#4
(word) divr16u::quotient#5
(word) divr16u::quotient#6
(word) divr16u::quotient#7
(word) divr16u::quotient#8
(word) divr16u::rem
(word) divr16u::rem#0
(word) divr16u::rem#1
(word) divr16u::rem#10
(word) divr16u::rem#11
(word) divr16u::rem#2
(word) divr16u::rem#3
(word) divr16u::rem#4
(word) divr16u::rem#5
(word) divr16u::rem#6
(word) divr16u::rem#7
(word) divr16u::rem#8
(word) divr16u::rem#9
(word) divr16u::return
(word) divr16u::return#0
(word) divr16u::return#1
(word) divr16u::return#2
(word) divr16u::return#3
(word) divr16u::return#4
(word) divr16u::return#5
(word) divr16u::return#6
(void()) lin16u_gen((word) lin16u_gen::min , (word) lin16u_gen::max , (word*) lin16u_gen::lintab , (word) lin16u_gen::length)
(word~) lin16u_gen::$0
(number~) lin16u_gen::$1
(word~) lin16u_gen::$2
(number~) lin16u_gen::$3
(word~) lin16u_gen::$4
(bool~) lin16u_gen::$5
(word~) lin16u_gen::$6
(dword~) lin16u_gen::$7
(label) lin16u_gen::@1
(label) lin16u_gen::@2
(label) lin16u_gen::@7
(label) lin16u_gen::@8
(label) lin16u_gen::@return
(word) lin16u_gen::ampl
(word) lin16u_gen::ampl#0
(word) lin16u_gen::i
(word) lin16u_gen::i#0
(word) lin16u_gen::i#1
(word) lin16u_gen::i#2
(word) lin16u_gen::i#3
(word) lin16u_gen::length
(word) lin16u_gen::length#0
(word) lin16u_gen::length#1
(word) lin16u_gen::length#2
(word) lin16u_gen::length#3
(word) lin16u_gen::length#4
(word) lin16u_gen::length#5
(word) lin16u_gen::length#6
(word) lin16u_gen::length#7
(word*) lin16u_gen::lintab
(word*) lin16u_gen::lintab#0
(word*) lin16u_gen::lintab#1
(word*) lin16u_gen::lintab#2
(word*) lin16u_gen::lintab#3
(word*) lin16u_gen::lintab#4
(word*) lin16u_gen::lintab#5
(word*) lin16u_gen::lintab#6
(word*) lin16u_gen::lintab#7
(word*) lin16u_gen::lintab#8
(word) lin16u_gen::max
(word) lin16u_gen::max#0
(word) lin16u_gen::max#1
(word) lin16u_gen::max#2
(word) lin16u_gen::max#3
(word) lin16u_gen::min
(word) lin16u_gen::min#0
(word) lin16u_gen::min#1
(word) lin16u_gen::min#2
(word) lin16u_gen::min#3
(word) lin16u_gen::min#4
(word) lin16u_gen::min#5
(dword) lin16u_gen::step
(dword) lin16u_gen::step#0
(dword) lin16u_gen::step#1
(dword) lin16u_gen::step#2
(word) lin16u_gen::stepf
(word) lin16u_gen::stepf#0
(word) lin16u_gen::stepi
(word) lin16u_gen::stepi#0
(word) lin16u_gen::stepi#1
(dword) lin16u_gen::val
(dword) lin16u_gen::val#0
(dword) lin16u_gen::val#1
(dword) lin16u_gen::val#2
(dword) lin16u_gen::val#3
(void()) main()
(bool~) main::$18
(byte~) main::$27
(byte~) main::$28
(byte~) main::$29
(label) main::@1
(label) main::@10
(label) main::@11
(label) main::@12
(label) main::@13
(label) main::@14
(label) main::@15
(label) main::@16
(label) main::@17
(label) main::@18
(label) main::@19
(label) main::@2
(label) main::@20
(label) main::@21
(label) main::@22
(label) main::@23
(label) main::@24
(label) main::@25
(label) main::@26
(label) main::@27
(label) main::@28
(label) main::@29
(label) main::@3
(label) main::@30
(label) main::@31
(label) main::@32
(label) main::@7
(label) main::@8
(label) main::@9
(label) main::@return
(byte) main::i
(byte) main::i#0
(byte) main::i#1
(byte) main::i#10
(byte) main::i#11
(byte) main::i#2
(byte) main::i#3
(byte) main::i#4
(byte) main::i#5
(byte) main::i#6
(byte) main::i#7
(byte) main::i#8
(byte) main::i#9
(word[$14]) main::lintab1
(word[$14]) main::lintab1#0
(word[$14]) main::lintab2
(word[$14]) main::lintab2#0
(word[$14]) main::lintab3
(word[$14]) main::lintab3#0
(const string) main::str = (string) "   "
(const string) main::str1 = (string) " "
(const string) main::str2 = (string) " "
(const string) main::str3 = (string) " "
(const string) main::str4 = (string) " "
(const string) main::str5 = (string) " "
(const string) main::str6 = (string) "   "
(const string) main::str7 = (string) " "
(const string) main::str8 = (string) " "
(void*()) memset((void*) memset::str , (byte) memset::c , (word) memset::num)
(bool~) memset::$0
(bool~) memset::$1
(byte*~) memset::$2
(byte*~) memset::$3
(bool~) memset::$4
(label) memset::@1
(label) memset::@2
(label) memset::@4
(label) memset::@5
(label) memset::@return
(byte) memset::c
(byte) memset::c#0
(byte) memset::c#1
(byte) memset::c#2
(byte) memset::c#3
(byte) memset::c#4
(byte*) memset::dst
(byte*) memset::dst#0
(byte*) memset::dst#1
(byte*) memset::dst#2
(byte*) memset::dst#3
(byte*) memset::end
(byte*) memset::end#0
(byte*) memset::end#1
(byte*) memset::end#2
(word) memset::num
(word) memset::num#0
(word) memset::num#1
(word) memset::num#2
(void*) memset::return
(void*) memset::return#0
(void*) memset::return#1
(void*) memset::return#2
(void*) memset::return#3
(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()) print_byte((byte) print_byte::b)
(byte~) print_byte::$0
(number~) print_byte::$2
(label) print_byte::@1
(label) print_byte::@2
(label) print_byte::@return
(byte) print_byte::b
(byte) print_byte::b#0
(byte) print_byte::b#1
(byte) print_byte::b#2
(byte) print_byte::b#3
(byte) print_byte::b#4
(void()) print_char((byte) print_char::ch)
(label) print_char::@return
(byte) print_char::ch
(byte) print_char::ch#0
(byte) print_char::ch#1
(byte) print_char::ch#2
(byte*) print_char_cursor
(byte*) print_char_cursor#0
(byte*) print_char_cursor#1
(byte*) print_char_cursor#10
(byte*) print_char_cursor#11
(byte*) print_char_cursor#12
(byte*) print_char_cursor#13
(byte*) print_char_cursor#14
(byte*) print_char_cursor#15
(byte*) print_char_cursor#16
(byte*) print_char_cursor#17
(byte*) print_char_cursor#18
(byte*) print_char_cursor#19
(byte*) print_char_cursor#2
(byte*) print_char_cursor#20
(byte*) print_char_cursor#21
(byte*) print_char_cursor#22
(byte*) print_char_cursor#23
(byte*) print_char_cursor#24
(byte*) print_char_cursor#25
(byte*) print_char_cursor#26
(byte*) print_char_cursor#27
(byte*) print_char_cursor#28
(byte*) print_char_cursor#29
(byte*) print_char_cursor#3
(byte*) print_char_cursor#30
(byte*) print_char_cursor#31
(byte*) print_char_cursor#32
(byte*) print_char_cursor#33
(byte*) print_char_cursor#34
(byte*) print_char_cursor#35
(byte*) print_char_cursor#36
(byte*) print_char_cursor#37
(byte*) print_char_cursor#38
(byte*) print_char_cursor#39
(byte*) print_char_cursor#4
(byte*) print_char_cursor#40
(byte*) print_char_cursor#41
(byte*) print_char_cursor#42
(byte*) print_char_cursor#43
(byte*) print_char_cursor#44
(byte*) print_char_cursor#45
(byte*) print_char_cursor#46
(byte*) print_char_cursor#47
(byte*) print_char_cursor#48
(byte*) print_char_cursor#49
(byte*) print_char_cursor#5
(byte*) print_char_cursor#50
(byte*) print_char_cursor#51
(byte*) print_char_cursor#52
(byte*) print_char_cursor#53
(byte*) print_char_cursor#54
(byte*) print_char_cursor#55
(byte*) print_char_cursor#56
(byte*) print_char_cursor#57
(byte*) print_char_cursor#58
(byte*) print_char_cursor#59
(byte*) print_char_cursor#6
(byte*) print_char_cursor#60
(byte*) print_char_cursor#61
(byte*) print_char_cursor#62
(byte*) print_char_cursor#63
(byte*) print_char_cursor#64
(byte*) print_char_cursor#65
(byte*) print_char_cursor#66
(byte*) print_char_cursor#67
(byte*) print_char_cursor#68
(byte*) print_char_cursor#69
(byte*) print_char_cursor#7
(byte*) print_char_cursor#70
(byte*) print_char_cursor#71
(byte*) print_char_cursor#72
(byte*) print_char_cursor#73
(byte*) print_char_cursor#74
(byte*) print_char_cursor#75
(byte*) print_char_cursor#76
(byte*) print_char_cursor#77
(byte*) print_char_cursor#78
(byte*) print_char_cursor#79
(byte*) print_char_cursor#8
(byte*) print_char_cursor#80
(byte*) print_char_cursor#81
(byte*) print_char_cursor#82
(byte*) print_char_cursor#83
(byte*) print_char_cursor#84
(byte*) print_char_cursor#85
(byte*) print_char_cursor#86
(byte*) print_char_cursor#87
(byte*) print_char_cursor#88
(byte*) print_char_cursor#89
(byte*) print_char_cursor#9
(byte*) print_char_cursor#90
(byte*) print_char_cursor#91
(void()) print_cls()
(label) print_cls::@1
(label) print_cls::@return
(byte[]) print_hextab
(byte[]) print_hextab#0
(byte*) print_line_cursor
(byte*) print_line_cursor#0
(byte*) print_line_cursor#1
(byte*) print_line_cursor#10
(byte*) print_line_cursor#11
(byte*) print_line_cursor#12
(byte*) print_line_cursor#13
(byte*) print_line_cursor#14
(byte*) print_line_cursor#15
(byte*) print_line_cursor#16
(byte*) print_line_cursor#17
(byte*) print_line_cursor#18
(byte*) print_line_cursor#19
(byte*) print_line_cursor#2
(byte*) print_line_cursor#20
(byte*) print_line_cursor#21
(byte*) print_line_cursor#22
(byte*) print_line_cursor#23
(byte*) print_line_cursor#24
(byte*) print_line_cursor#25
(byte*) print_line_cursor#26
(byte*) print_line_cursor#27
(byte*) print_line_cursor#28
(byte*) print_line_cursor#29
(byte*) print_line_cursor#3
(byte*) print_line_cursor#30
(byte*) print_line_cursor#31
(byte*) print_line_cursor#32
(byte*) print_line_cursor#33
(byte*) print_line_cursor#34
(byte*) print_line_cursor#35
(byte*) print_line_cursor#36
(byte*) print_line_cursor#37
(byte*) print_line_cursor#38
(byte*) print_line_cursor#39
(byte*) print_line_cursor#4
(byte*) print_line_cursor#40
(byte*) print_line_cursor#41
(byte*) print_line_cursor#42
(byte*) print_line_cursor#43
(byte*) print_line_cursor#44
(byte*) print_line_cursor#45
(byte*) print_line_cursor#46
(byte*) print_line_cursor#47
(byte*) print_line_cursor#48
(byte*) print_line_cursor#49
(byte*) print_line_cursor#5
(byte*) print_line_cursor#6
(byte*) print_line_cursor#7
(byte*) print_line_cursor#8
(byte*) print_line_cursor#9
(void()) print_ln()
(byte*~) print_ln::$0
(bool~) print_ln::$1
(label) print_ln::@1
(label) print_ln::@2
(label) print_ln::@return
(byte*) print_screen
(byte*) print_screen#0
(byte*) print_screen#1
(byte*) print_screen#2
(byte*) print_screen#3
(byte*) print_screen#4
(byte*) print_screen#5
(byte*) print_screen#6
(byte*) print_screen#7
(byte*) print_screen#8
(void()) print_str((byte*) print_str::str)
(bool~) print_str::$0
(label) print_str::@1
(label) print_str::@2
(label) print_str::@return
(byte*) print_str::str
(byte*) print_str::str#0
(byte*) print_str::str#1
(byte*) print_str::str#10
(byte*) print_str::str#11
(byte*) print_str::str#12
(byte*) print_str::str#2
(byte*) print_str::str#3
(byte*) print_str::str#4
(byte*) print_str::str#5
(byte*) print_str::str#6
(byte*) print_str::str#7
(byte*) print_str::str#8
(byte*) print_str::str#9
(void()) print_word((word) print_word::w)
(byte~) print_word::$0
(byte~) print_word::$2
(label) print_word::@1
(label) print_word::@2
(label) print_word::@return
(word) print_word::w
(word) print_word::w#0
(word) print_word::w#1
(word) print_word::w#10
(word) print_word::w#2
(word) print_word::w#3
(word) print_word::w#4
(word) print_word::w#5
(word) print_word::w#6
(word) print_word::w#7
(word) print_word::w#8
(word) print_word::w#9
(word) rem16u
(word) rem16u#0
(word) rem16u#1
(word) rem16u#10
(word) rem16u#11
(word) rem16u#12
(word) rem16u#13
(word) rem16u#14
(word) rem16u#15
(word) rem16u#16
(word) rem16u#17
(word) rem16u#18
(word) rem16u#19
(word) rem16u#2
(word) rem16u#20
(word) rem16u#21
(word) rem16u#22
(word) rem16u#23
(word) rem16u#24
(word) rem16u#25
(word) rem16u#26
(word) rem16u#27
(word) rem16u#28
(word) rem16u#29
(word) rem16u#3
(word) rem16u#30
(word) rem16u#31
(word) rem16u#32
(word) rem16u#33
(word) rem16u#34
(word) rem16u#35
(word) rem16u#36
(word) rem16u#37
(word) rem16u#38
(word) rem16u#39
(word) rem16u#4
(word) rem16u#40
(word) rem16u#41
(word) rem16u#42
(word) rem16u#43
(word) rem16u#44
(word) rem16u#45
(word) rem16u#46
(word) rem16u#47
(word) rem16u#48
(word) rem16u#49
(word) rem16u#5
(word) rem16u#50
(word) rem16u#51
(word) rem16u#52
(word) rem16u#6
(word) rem16u#7
(word) rem16u#8
(word) rem16u#9

Fixing inline constructor with lin16u_gen::$8 ← (word)lin16u_gen::stepi#1 dw= (word)lin16u_gen::stepf#0
Fixing inline constructor with lin16u_gen::$9 ← (word)lin16u_gen::min#4 dw= (word)0
Successful SSA optimization Pass2FixInlineConstructors
Adding number conversion cast (unumber) 0 in (word) rem16u#0 ← (number) 0
Adding number conversion cast (unumber) 0 in (word) divr16u::quotient#0 ← (number) 0
Adding number conversion cast (unumber) 1 in (word~) divr16u::$0 ← (word) divr16u::rem#5 << (number) 1
Adding number conversion cast (unumber) $80 in (number~) divr16u::$2 ← (byte~) divr16u::$1 & (number) $80
Adding number conversion cast (unumber) divr16u::$2 in (number~) divr16u::$2 ← (byte~) divr16u::$1 & (unumber)(number) $80
Adding number conversion cast (unumber) 0 in (bool~) divr16u::$3 ← (unumber~) divr16u::$2 != (number) 0
Adding number conversion cast (unumber) 1 in (word~) divr16u::$6 ← (word) divr16u::dividend#4 << (number) 1
Adding number conversion cast (unumber) 1 in (word~) divr16u::$7 ← (word) divr16u::quotient#3 << (number) 1
Adding number conversion cast (unumber) 1 in (number~) divr16u::$5 ← (word) divr16u::rem#7 | (number) 1
Adding number conversion cast (unumber) divr16u::$5 in (number~) divr16u::$5 ← (word) divr16u::rem#7 | (unumber)(number) 1
Adding number conversion cast (unumber) 0 in (bool~) memset::$0 ← (word) memset::num#1 > (number) 0
Adding number conversion cast (unumber) 0 in (bool~) print_str::$0 ← (number) 0 != *((byte*) print_str::str#10)
Adding number conversion cast (unumber) $28 in (byte*~) print_ln::$0 ← (byte*) print_line_cursor#11 + (number) $28
Adding number conversion cast (unumber) 4 in (byte~) print_byte::$0 ← (byte) print_byte::b#3 >> (number) 4
Adding number conversion cast (unumber) $f in (number~) print_byte::$2 ← (byte) print_byte::b#4 & (number) $f
Adding number conversion cast (unumber) print_byte::$2 in (number~) print_byte::$2 ← (byte) print_byte::b#4 & (unumber)(number) $f
Adding number conversion cast (unumber) $3e8 in (word) memset::num#0 ← (number) $3e8
Adding number conversion cast (unumber) $22d in (word) lin16u_gen::min#0 ← (number) $22d
Adding number conversion cast (unumber) $7461 in (word) lin16u_gen::max#0 ← (number) $7461
Adding number conversion cast (unumber) $14 in (word) lin16u_gen::length#0 ← (number) $14
Adding number conversion cast (unumber) $79cb in (word) lin16u_gen::min#1 ← (number) $79cb
Adding number conversion cast (unumber) $f781 in (word) lin16u_gen::max#1 ← (number) $f781
Adding number conversion cast (unumber) $14 in (word) lin16u_gen::length#1 ← (number) $14
Adding number conversion cast (unumber) 0 in (word) lin16u_gen::min#2 ← (number) 0
Adding number conversion cast (unumber) $6488 in (word) lin16u_gen::max#2 ← (number) $6488
Adding number conversion cast (unumber) $14 in (word) lin16u_gen::length#2 ← (number) $14
Adding number conversion cast (unumber) $22d in (word) print_word::w#0 ← (number) $22d
Adding number conversion cast (unumber) $79cb in (word) print_word::w#1 ← (number) $79cb
Adding number conversion cast (unumber) 0 in (word) print_word::w#2 ← (number) 0
Adding number conversion cast (unumber) 0 in (byte) main::i#0 ← (number) 0
Adding number conversion cast (unumber) $14 in (bool~) main::$18 ← (byte) main::i#2 < (number) $14
Adding number conversion cast (unumber) $7461 in (word) print_word::w#6 ← (number) $7461
Adding number conversion cast (unumber) $f781 in (word) print_word::w#7 ← (number) $f781
Adding number conversion cast (unumber) $6488 in (word) print_word::w#8 ← (number) $6488
Adding number conversion cast (unumber) 1 in (number~) lin16u_gen::$1 ← (word) lin16u_gen::length#3 - (number) 1
Adding number conversion cast (unumber) lin16u_gen::$1 in (number~) lin16u_gen::$1 ← (word) lin16u_gen::length#3 - (unumber)(number) 1
Adding number conversion cast (unumber) 0 in (word) divr16u::rem#3 ← (number) 0
Adding number conversion cast (unumber) 1 in (number~) lin16u_gen::$3 ← (word) lin16u_gen::length#4 - (number) 1
Adding number conversion cast (unumber) lin16u_gen::$3 in (number~) lin16u_gen::$3 ← (word) lin16u_gen::length#4 - (unumber)(number) 1
Adding number conversion cast (unumber) 0 in (word) divr16u::dividend#2 ← (number) 0
Adding number conversion cast (unumber) 0 in (word) lin16u_gen::i#0 ← (number) 0
Successful SSA optimization PassNAddNumberTypeConversions
Inlining cast (word) rem16u#0 ← (unumber)(number) 0
Inlining cast (word) divr16u::quotient#0 ← (unumber)(number) 0
Inlining cast (byte*~) memset::$2 ← (byte*)(void*) memset::str#2
Inlining cast (byte*) memset::dst#0 ← (byte*)(void*) memset::str#2
Inlining cast (byte*) print_screen#0 ← (byte*)(number) $400
Inlining cast (word) memset::num#0 ← (unumber)(number) $3e8
Inlining cast (word) lin16u_gen::min#0 ← (unumber)(number) $22d
Inlining cast (word) lin16u_gen::max#0 ← (unumber)(number) $7461
Inlining cast (word) lin16u_gen::length#0 ← (unumber)(number) $14
Inlining cast (word) lin16u_gen::min#1 ← (unumber)(number) $79cb
Inlining cast (word) lin16u_gen::max#1 ← (unumber)(number) $f781
Inlining cast (word) lin16u_gen::length#1 ← (unumber)(number) $14
Inlining cast (word) lin16u_gen::min#2 ← (unumber)(number) 0
Inlining cast (word) lin16u_gen::max#2 ← (unumber)(number) $6488
Inlining cast (word) lin16u_gen::length#2 ← (unumber)(number) $14
Inlining cast (word) print_word::w#0 ← (unumber)(number) $22d
Inlining cast (word) print_word::w#1 ← (unumber)(number) $79cb
Inlining cast (word) print_word::w#2 ← (unumber)(number) 0
Inlining cast (byte) main::i#0 ← (unumber)(number) 0
Inlining cast (word) print_word::w#6 ← (unumber)(number) $7461
Inlining cast (word) print_word::w#7 ← (unumber)(number) $f781
Inlining cast (word) print_word::w#8 ← (unumber)(number) $6488
Inlining cast (word) divr16u::rem#3 ← (unumber)(number) 0
Inlining cast (word) divr16u::dividend#2 ← (unumber)(number) 0
Inlining cast (word) lin16u_gen::i#0 ← (unumber)(number) 0
Successful SSA optimization Pass2InlineCast
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 1
Simplifying constant integer cast $80
Simplifying constant integer cast 0
Simplifying constant integer cast 1
Simplifying constant integer cast 1
Simplifying constant integer cast 1
Simplifying constant integer cast 0
Simplifying constant pointer cast (byte*) 1024
Simplifying constant integer cast 0
Simplifying constant integer cast $28
Simplifying constant integer cast 4
Simplifying constant integer cast $f
Simplifying constant integer cast $3e8
Simplifying constant integer cast $22d
Simplifying constant integer cast $7461
Simplifying constant integer cast $14
Simplifying constant integer cast $79cb
Simplifying constant integer cast $f781
Simplifying constant integer cast $14
Simplifying constant integer cast 0
Simplifying constant integer cast $6488
Simplifying constant integer cast $14
Simplifying constant integer cast $22d
Simplifying constant integer cast $79cb
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast $14
Simplifying constant integer cast $7461
Simplifying constant integer cast $f781
Simplifying constant integer cast $6488
Simplifying constant integer cast 1
Simplifying constant integer cast 0
Simplifying constant integer cast 1
Simplifying constant integer cast 0
Simplifying constant integer cast (word) lin16u_gen::stepi#1
Simplifying constant integer cast (word) lin16u_gen::stepf#0
Simplifying constant integer cast (word) lin16u_gen::min#4
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Successful SSA optimization PassNCastSimplification
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) $80
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) $28
Finalized unsigned number type (byte) 4
Finalized unsigned number type (byte) $f
Finalized unsigned number type (word) $3e8
Finalized unsigned number type (word) $22d
Finalized unsigned number type (word) $7461
Finalized unsigned number type (byte) $14
Finalized unsigned number type (word) $79cb
Finalized unsigned number type (word) $f781
Finalized unsigned number type (byte) $14
Finalized unsigned number type (byte) 0
Finalized unsigned number type (word) $6488
Finalized unsigned number type (byte) $14
Finalized unsigned number type (word) $22d
Finalized unsigned number type (word) $79cb
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) $14
Finalized unsigned number type (word) $7461
Finalized unsigned number type (word) $f781
Finalized unsigned number type (word) $6488
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 0
Successful SSA optimization PassNFinalizeNumberTypeConversions
Inferred type updated to byte in (unumber~) divr16u::$2 ← (byte~) divr16u::$1 & (byte) $80
Inferred type updated to word in (unumber~) divr16u::$5 ← (word) divr16u::rem#7 | (byte) 1
Inferred type updated to byte in (unumber~) print_byte::$2 ← (byte) print_byte::b#4 & (byte) $f
Inferred type updated to word in (unumber~) lin16u_gen::$1 ← (word) lin16u_gen::length#3 - (byte) 1
Inferred type updated to word in (unumber~) lin16u_gen::$3 ← (word) lin16u_gen::length#4 - (byte) 1
Inversing boolean not [10] (bool~) divr16u::$4 ← (byte~) divr16u::$2 == (byte) 0 from [9] (bool~) divr16u::$3 ← (byte~) divr16u::$2 != (byte) 0
Inversing boolean not [18] (bool~) divr16u::$9 ← (word) divr16u::rem#6 < (word) divr16u::divisor#2 from [17] (bool~) divr16u::$8 ← (word) divr16u::rem#6 >= (word) divr16u::divisor#2
Inversing boolean not [40] (bool~) memset::$1 ← (word) memset::num#1 <= (byte) 0 from [39] (bool~) memset::$0 ← (word) memset::num#1 > (byte) 0
Successful SSA optimization Pass2UnaryNotSimplification
Alias (word) divr16u::rem#0 = (word~) divr16u::$0 (word) divr16u::rem#7 
Alias (word) divr16u::dividend#0 = (word~) divr16u::$6 (word) divr16u::dividend#8 
Alias (word) divr16u::quotient#1 = (word~) divr16u::$7 (word) divr16u::quotient#4 
Alias (word) divr16u::dividend#3 = (word) divr16u::dividend#7 
Alias (word) divr16u::quotient#6 = (word) divr16u::quotient#7 
Alias (word) divr16u::divisor#4 = (word) divr16u::divisor#5 
Alias (byte) divr16u::i#5 = (byte) divr16u::i#6 
Alias (word) divr16u::rem#1 = (word~) divr16u::$5 
Alias (word) divr16u::rem#6 = (word) divr16u::rem#8 
Alias (word) divr16u::divisor#2 = (word) divr16u::divisor#3 
Alias (byte) divr16u::i#3 = (byte) divr16u::i#4 
Alias (word) divr16u::rem#2 = (word~) divr16u::$10 
Alias (word) divr16u::rem#11 = (word) divr16u::rem#9 
Alias (word) divr16u::return#0 = (word) divr16u::quotient#5 (word) divr16u::quotient#8 (word) divr16u::return#4 (word) divr16u::return#1 
Alias (word) rem16u#1 = (word) rem16u#11 (word) rem16u#2 
Alias (void*) memset::return#0 = (void*) memset::str#1 (void*) memset::return#3 (void*) memset::return#1 
Alias (void*) memset::str#2 = (void*) memset::str#3 
Alias (word) memset::num#1 = (word) memset::num#2 
Alias (byte) memset::c#3 = (byte) memset::c#4 
Alias (byte*) memset::end#0 = (byte*~) memset::$3 
Alias (byte) memset::c#1 = (byte) memset::c#2 
Alias (byte*) memset::dst#2 = (byte*) memset::dst#3 
Alias (byte*) memset::end#1 = (byte*) memset::end#2 
Alias (void*) memset::str#4 = (void*) memset::str#5 
Alias (word) rem16u#0 = (word) rem16u#28 (word) rem16u#27 (word) rem16u#24 
Alias (byte*) print_line_cursor#0 = (byte*) print_screen#0 (byte*) print_char_cursor#0 (byte*) print_line_cursor#31 (byte*) print_char_cursor#89 (byte*) print_screen#8 (byte*) print_line_cursor#26 (byte*) print_char_cursor#85 (byte*) print_screen#7 
Alias (byte*) print_str::str#10 = (byte*) print_str::str#11 
Alias (byte*) print_char_cursor#2 = (byte*) print_char_cursor#40 (byte*) print_char_cursor#78 (byte*) print_char_cursor#41 
Alias (byte*) print_line_cursor#1 = (byte*~) print_ln::$0 (byte*) print_line_cursor#12 (byte*) print_char_cursor#3 (byte*) print_line_cursor#13 (byte*) print_char_cursor#43 (byte*) print_line_cursor#2 (byte*) print_char_cursor#4 
Alias (byte) print_byte::b#0 = (byte~) print_word::$0 
Alias (word) print_word::w#10 = (word) print_word::w#9 
Alias (byte*) print_char_cursor#44 = (byte*) print_char_cursor#5 
Alias (byte) print_byte::b#1 = (byte~) print_word::$2 
Alias (byte*) print_char_cursor#45 = (byte*) print_char_cursor#6 (byte*) print_char_cursor#46 (byte*) print_char_cursor#7 
Alias (byte) print_byte::b#3 = (byte) print_byte::b#4 
Alias (byte*) print_char_cursor#47 = (byte*) print_char_cursor#8 
Alias (byte*) print_char_cursor#10 = (byte*) print_char_cursor#9 (byte*) print_char_cursor#48 (byte*) print_char_cursor#49 
Alias (byte*) print_char_cursor#11 = (byte*) print_char_cursor#51 (byte*) print_char_cursor#12 
Alias (byte*) print_line_cursor#14 = (byte*) print_screen#2 (byte*) print_screen#1 (byte*) print_line_cursor#3 (byte*) print_char_cursor#13 (byte*) print_char_cursor#52 (byte*) print_line_cursor#4 (byte*) print_char_cursor#14 
Alias (byte*) print_screen#3 = (byte*) print_screen#5 (byte*) print_screen#6 (byte*) print_screen#4 
Alias (byte*) print_line_cursor#22 = (byte*) print_line_cursor#32 (byte*) print_line_cursor#36 (byte*) print_line_cursor#27 
Alias (byte*) print_char_cursor#82 = (byte*) print_char_cursor#90 (byte*) print_char_cursor#91 (byte*) print_char_cursor#87 
Alias (word) rem16u#12 = (word) rem16u#3 
Alias (word) rem16u#13 = (word) rem16u#4 
Alias (word) rem16u#14 = (word) rem16u#5 (word) rem16u#50 (word) rem16u#48 (word) rem16u#46 (word) rem16u#44 (word) rem16u#42 (word) rem16u#40 (word) rem16u#38 (word) rem16u#36 
Alias (byte*) print_line_cursor#15 = (byte*) print_line_cursor#5 (byte*) print_line_cursor#43 (byte*) print_line_cursor#40 (byte*) print_line_cursor#37 (byte*) print_line_cursor#33 (byte*) print_line_cursor#28 (byte*) print_line_cursor#23 
Alias (byte*) print_char_cursor#15 = (byte*) print_char_cursor#53 
Alias (byte*) print_char_cursor#16 = (byte*) print_char_cursor#54 
Alias (byte*) print_char_cursor#17 = (byte*) print_char_cursor#55 
Alias (byte*) print_char_cursor#18 = (byte*) print_char_cursor#56 
Alias (byte*) print_char_cursor#19 = (byte*) print_char_cursor#57 
Alias (byte*) print_char_cursor#20 = (byte*) print_char_cursor#58 
Alias (byte*) print_char_cursor#21 = (byte*) print_char_cursor#59 
Alias (byte*) print_line_cursor#16 = (byte*) print_line_cursor#6 
Alias (byte*) print_char_cursor#22 = (byte*) print_char_cursor#60 
Alias (byte) main::i#10 = (byte) main::i#3 (byte) main::i#2 (byte) main::i#8 (byte) main::i#4 (byte) main::i#9 (byte) main::i#5 (byte) main::i#6 (byte) main::i#11 (byte) main::i#7 
Alias (byte*) print_char_cursor#83 = (byte*) print_char_cursor#88 (byte*) print_char_cursor#84 
Alias (byte*) print_line_cursor#24 = (byte*) print_line_cursor#48 (byte*) print_line_cursor#49 (byte*) print_line_cursor#46 (byte*) print_line_cursor#44 (byte*) print_line_cursor#41 (byte*) print_line_cursor#38 (byte*) print_line_cursor#34 (byte*) print_line_cursor#29 (byte*) print_line_cursor#47 (byte*) print_line_cursor#45 (byte*) print_line_cursor#42 (byte*) print_line_cursor#39 (byte*) print_line_cursor#35 (byte*) print_line_cursor#30 (byte*) print_line_cursor#25 
Alias (word) rem16u#15 = (word) rem16u#52 (word) rem16u#35 (word) rem16u#51 (word) rem16u#49 (word) rem16u#47 (word) rem16u#45 (word) rem16u#43 (word) rem16u#41 (word) rem16u#39 (word) rem16u#37 (word) rem16u#34 (word) rem16u#33 (word) rem16u#32 (word) rem16u#31 (word) rem16u#30 (word) rem16u#29 (word) rem16u#25 (word) rem16u#21 (word) rem16u#6 
Alias (byte*) print_char_cursor#23 = (byte*) print_char_cursor#61 
Alias (byte*) print_char_cursor#24 = (byte*) print_char_cursor#62 
Alias (byte*) print_char_cursor#25 = (byte*) print_char_cursor#63 
Alias (byte*) print_char_cursor#26 = (byte*) print_char_cursor#64 
Alias (byte*) print_char_cursor#27 = (byte*) print_char_cursor#65 
Alias (byte*) print_char_cursor#28 = (byte*) print_char_cursor#66 
Alias (byte*) print_char_cursor#29 = (byte*) print_char_cursor#67 
Alias (byte*) print_line_cursor#17 = (byte*) print_line_cursor#7 
Alias (byte*) print_char_cursor#30 = (byte*) print_char_cursor#68 
Alias (byte*) print_char_cursor#31 = (byte*) print_char_cursor#69 
Alias (byte*) print_char_cursor#32 = (byte*) print_char_cursor#70 
Alias (byte*) print_char_cursor#33 = (byte*) print_char_cursor#71 
Alias (byte*) print_char_cursor#34 = (byte*) print_char_cursor#72 
Alias (byte*) print_char_cursor#35 = (byte*) print_char_cursor#73 
Alias (byte*) print_char_cursor#36 = (byte*) print_char_cursor#74 
Alias (byte*) print_line_cursor#18 = (byte*) print_line_cursor#8 (byte*) print_line_cursor#19 (byte*) print_line_cursor#9 
Alias (byte*) print_char_cursor#37 = (byte*) print_char_cursor#75 (byte*) print_char_cursor#76 (byte*) print_char_cursor#38 
Alias (word) lin16u_gen::ampl#0 = (word~) lin16u_gen::$0 
Alias (word) divr16u::divisor#0 = (word~) lin16u_gen::$1 
Alias (word) divr16u::return#2 = (word) divr16u::return#5 
Alias (word) lin16u_gen::length#3 = (word) lin16u_gen::length#4 (word) lin16u_gen::length#7 
Alias (word) lin16u_gen::min#3 = (word) lin16u_gen::min#5 (word) lin16u_gen::min#4 
Alias (word*) lin16u_gen::lintab#6 = (word*) lin16u_gen::lintab#7 (word*) lin16u_gen::lintab#8 
Alias (word) rem16u#16 = (word) rem16u#7 
Alias (word) lin16u_gen::stepi#0 = (word~) lin16u_gen::$2 (word) lin16u_gen::stepi#1 
Alias (word) divr16u::divisor#1 = (word~) lin16u_gen::$3 
Alias (word) divr16u::return#3 = (word) divr16u::return#6 
Alias (word) rem16u#17 = (word) rem16u#8 
Alias (word) lin16u_gen::stepf#0 = (word~) lin16u_gen::$4 
Alias (dword) lin16u_gen::step#0 = (dword~) lin16u_gen::$8 
Alias (dword) lin16u_gen::val#0 = (dword~) lin16u_gen::$9 
Alias (dword) lin16u_gen::val#2 = (dword) lin16u_gen::val#3 
Alias (word*) lin16u_gen::lintab#4 = (word*) lin16u_gen::lintab#5 
Alias (dword) lin16u_gen::step#1 = (dword) lin16u_gen::step#2 
Alias (word) lin16u_gen::i#2 = (word) lin16u_gen::i#3 
Alias (word) lin16u_gen::length#5 = (word) lin16u_gen::length#6 
Alias (word) rem16u#18 = (word) rem16u#26 (word) rem16u#23 (word) rem16u#9 
Alias (dword) lin16u_gen::val#1 = (dword~) lin16u_gen::$7 
Alias (word) rem16u#10 = (word) rem16u#19 
Alias (byte*) print_line_cursor#10 = (byte*) print_line_cursor#20 
Alias (byte*) print_char_cursor#39 = (byte*) print_char_cursor#77 
Successful SSA optimization Pass2AliasElimination
Alias (word) divr16u::dividend#3 = (word) divr16u::dividend#4 
Alias (word) divr16u::quotient#3 = (word) divr16u::quotient#6 
Alias (word) divr16u::divisor#2 = (word) divr16u::divisor#4 (word) divr16u::divisor#7 
Alias (byte) divr16u::i#2 = (byte) divr16u::i#3 (byte) divr16u::i#5 
Alias (word) divr16u::dividend#0 = (word) divr16u::dividend#6 
Successful SSA optimization Pass2AliasElimination
Identical Phi Values (word) divr16u::divisor#2 (word) divr16u::divisor#6
Identical Phi Values (word) memset::num#1 (word) memset::num#0
Identical Phi Values (void*) memset::str#2 (void*) memset::str#0
Identical Phi Values (byte) memset::c#3 (byte) memset::c#0
Identical Phi Values (byte*) memset::end#1 (byte*) memset::end#0
Identical Phi Values (void*) memset::str#4 (void*) memset::str#2
Identical Phi Values (byte) memset::c#1 (byte) memset::c#3
Identical Phi Values (byte*) print_char_cursor#42 (byte*) print_char_cursor#79
Identical Phi Values (byte*) print_char_cursor#44 (byte*) print_char_cursor#10
Identical Phi Values (byte*) print_char_cursor#45 (byte*) print_char_cursor#10
Identical Phi Values (byte*) print_char_cursor#47 (byte*) print_char_cursor#11
Identical Phi Values (byte*) print_char_cursor#10 (byte*) print_char_cursor#11
Identical Phi Values (byte*) print_line_cursor#14 (byte*) print_screen#3
Identical Phi Values (word) rem16u#20 (word) rem16u#0
Identical Phi Values (byte*) print_screen#3 (byte*) print_line_cursor#0
Identical Phi Values (byte*) print_line_cursor#22 (byte*) print_line_cursor#0
Identical Phi Values (byte*) print_char_cursor#82 (byte*) print_line_cursor#0
Identical Phi Values (word) rem16u#12 (word) rem16u#18
Identical Phi Values (word) rem16u#13 (word) rem16u#18
Identical Phi Values (word) rem16u#14 (word) rem16u#18
Identical Phi Values (byte*) print_line_cursor#15 (byte*) print_line_cursor#14
Identical Phi Values (byte*) print_char_cursor#15 (byte*) print_line_cursor#14
Identical Phi Values (byte*) print_char_cursor#16 (byte*) print_char_cursor#2
Identical Phi Values (byte*) print_char_cursor#17 (byte*) print_char_cursor#45
Identical Phi Values (byte*) print_char_cursor#18 (byte*) print_char_cursor#2
Identical Phi Values (byte*) print_char_cursor#19 (byte*) print_char_cursor#45
Identical Phi Values (byte*) print_char_cursor#20 (byte*) print_char_cursor#2
Identical Phi Values (byte*) print_char_cursor#21 (byte*) print_char_cursor#45
Identical Phi Values (byte*) print_line_cursor#16 (byte*) print_line_cursor#1
Identical Phi Values (byte*) print_char_cursor#22 (byte*) print_line_cursor#1
Identical Phi Values (word) rem16u#15 (word) rem16u#14
Identical Phi Values (byte*) print_char_cursor#23 (byte*) print_char_cursor#10
Identical Phi Values (byte*) print_char_cursor#24 (byte*) print_char_cursor#2
Identical Phi Values (byte*) print_char_cursor#25 (byte*) print_char_cursor#45
Identical Phi Values (byte*) print_char_cursor#26 (byte*) print_char_cursor#2
Identical Phi Values (byte*) print_char_cursor#27 (byte*) print_char_cursor#45
Identical Phi Values (byte*) print_char_cursor#28 (byte*) print_char_cursor#2
Identical Phi Values (byte*) print_char_cursor#29 (byte*) print_char_cursor#45
Identical Phi Values (byte*) print_line_cursor#17 (byte*) print_line_cursor#1
Identical Phi Values (byte*) print_char_cursor#30 (byte*) print_line_cursor#1
Identical Phi Values (byte*) print_char_cursor#31 (byte*) print_char_cursor#2
Identical Phi Values (byte*) print_char_cursor#32 (byte*) print_char_cursor#45
Identical Phi Values (byte*) print_char_cursor#33 (byte*) print_char_cursor#2
Identical Phi Values (byte*) print_char_cursor#34 (byte*) print_char_cursor#45
Identical Phi Values (byte*) print_char_cursor#35 (byte*) print_char_cursor#2
Identical Phi Values (byte*) print_char_cursor#36 (byte*) print_char_cursor#45
Identical Phi Values (byte*) print_line_cursor#18 (byte*) print_line_cursor#1
Identical Phi Values (byte*) print_char_cursor#37 (byte*) print_line_cursor#1
Identical Phi Values (word) rem16u#16 (word) rem16u#1
Identical Phi Values (word) rem16u#17 (word) rem16u#1
Identical Phi Values (word) lin16u_gen::length#5 (word) lin16u_gen::length#3
Identical Phi Values (dword) lin16u_gen::step#1 (dword) lin16u_gen::step#0
Identical Phi Values (word) rem16u#18 (word) rem16u#17
Identical Phi Values (word) rem16u#10 (word) rem16u#15
Identical Phi Values (byte*) print_line_cursor#10 (byte*) print_line_cursor#18
Identical Phi Values (byte*) print_char_cursor#39 (byte*) print_char_cursor#37
Successful SSA optimization Pass2IdenticalPhiElimination
Identical Phi Values (void*) memset::return#0 (void*) memset::str#0
Identical Phi Values (byte*) print_char_cursor#79 (byte*) print_char_cursor#11
Identical Phi Values (byte*) print_char_cursor#80 (byte*) print_char_cursor#2
Identical Phi Values (byte*) print_char_cursor#83 (byte*) print_line_cursor#1
Identical Phi Values (byte*) print_line_cursor#24 (byte*) print_line_cursor#1
Successful SSA optimization Pass2IdenticalPhiElimination
Simple Condition (bool~) divr16u::$4 [11] if((byte~) divr16u::$2==(byte) 0) goto divr16u::@2
Simple Condition (bool~) divr16u::$9 [19] if((word) divr16u::rem#6<(word) divr16u::divisor#6) goto divr16u::@3
Simple Condition (bool~) divr16u::$11 [26] if((byte) divr16u::i#1!=rangelast(0,$f)) goto divr16u::@1
Simple Condition (bool~) memset::$1 [41] if((word) memset::num#0<=(byte) 0) goto memset::@1
Simple Condition (bool~) memset::$4 [51] if((byte*) memset::dst#2!=(byte*) memset::end#0) goto memset::@5
Simple Condition (bool~) print_str::$0 [65] if((byte) 0!=*((byte*) print_str::str#10)) goto print_str::@2
Simple Condition (bool~) print_ln::$1 [78] if((byte*) print_line_cursor#1<(byte*) print_char_cursor#11) goto print_ln::@1
Simple Condition (bool~) main::$18 [194] if((byte) main::i#10<(byte) $14) goto main::@2
Simple Condition (bool~) lin16u_gen::$5 [296] if((word) lin16u_gen::i#2<(word) lin16u_gen::length#3) goto lin16u_gen::@2
Successful SSA optimization Pass2ConditionalJumpSimplification
Constant right-side identified [135] (word[$14]) main::lintab1#0 ← { fill( $14, 0) }
Constant right-side identified [143] (word[$14]) main::lintab2#0 ← { fill( $14, 0) }
Constant right-side identified [151] (word[$14]) main::lintab3#0 ← { fill( $14, 0) }
Successful SSA optimization Pass2ConstantRValueConsolidation
Constant (const word) rem16u#0 = 0
Constant (const word) divr16u::quotient#0 = 0
Constant (const byte) divr16u::i#0 = 0
Constant (const byte*) print_line_cursor#0 = (byte*) 1024
Constant (const byte[]) print_hextab#0 = $0
Constant (const byte) memset::c#0 = ' '
Constant (const word) memset::num#0 = $3e8
Constant (const word[$14]) main::lintab1#0 = { fill( $14, 0) }
Constant (const word) lin16u_gen::min#0 = $22d
Constant (const word) lin16u_gen::max#0 = $7461
Constant (const word) lin16u_gen::length#0 = $14
Constant (const word[$14]) main::lintab2#0 = { fill( $14, 0) }
Constant (const word) lin16u_gen::min#1 = $79cb
Constant (const word) lin16u_gen::max#1 = $f781
Constant (const word) lin16u_gen::length#1 = $14
Constant (const word[$14]) main::lintab3#0 = { fill( $14, 0) }
Constant (const word) lin16u_gen::min#2 = 0
Constant (const word) lin16u_gen::max#2 = $6488
Constant (const word) lin16u_gen::length#2 = $14
Constant (const byte*) print_str::str#1 = main::str
Constant (const word) print_word::w#0 = $22d
Constant (const byte*) print_str::str#2 = main::str1
Constant (const word) print_word::w#1 = $79cb
Constant (const byte*) print_str::str#3 = main::str2
Constant (const word) print_word::w#2 = 0
Constant (const byte) main::i#0 = 0
Constant (const byte*) print_str::str#4 = main::str3
Constant (const byte*) print_str::str#5 = main::str4
Constant (const byte*) print_str::str#6 = main::str5
Constant (const byte*) print_str::str#7 = main::str6
Constant (const word) print_word::w#6 = $7461
Constant (const byte*) print_str::str#8 = main::str7
Constant (const word) print_word::w#7 = $f781
Constant (const byte*) print_str::str#9 = main::str8
Constant (const word) print_word::w#8 = $6488
Constant (const word) divr16u::rem#3 = 0
Constant (const word) divr16u::dividend#2 = 0
Constant (const word) lin16u_gen::i#0 = 0
Successful SSA optimization Pass2ConstantIdentification
Constant (const word*) lin16u_gen::lintab#0 = main::lintab1#0
Constant (const word*) lin16u_gen::lintab#1 = main::lintab2#0
Constant (const word*) lin16u_gen::lintab#2 = main::lintab3#0
Successful SSA optimization Pass2ConstantIdentification
Constant value identified (void*)print_line_cursor#0 in [122] (void*) memset::str#0 ← (void*)(const byte*) print_line_cursor#0
Successful SSA optimization Pass2ConstantValues
if() condition always false - eliminating [41] if((const word) memset::num#0<=(byte) 0) goto memset::@1
Successful SSA optimization Pass2ConstantIfs
Successful SSA optimization Pass2ConstantStringConsolidation
Resolved ranged next value [24] divr16u::i#1 ← ++ divr16u::i#2 to ++
Resolved ranged comparison value [26] if(divr16u::i#1!=rangelast(0,$f)) goto divr16u::@1 to (number) $10
Eliminating unused variable (void*) memset::return#2 and assignment [58] (void*) memset::return#2 ← (void*) memset::str#0
Eliminating unused variable - keeping the phi block (word) rem16u#22
Successful SSA optimization PassNEliminateUnusedVars
Eliminating unused constant (const word) rem16u#0
Successful SSA optimization PassNEliminateUnusedVars
Successful SSA optimization Pass2LoopHeadConstantIdentification
Adding number conversion cast (unumber) $10 in if((byte) divr16u::i#1!=(number) $10) goto divr16u::@1
Successful SSA optimization PassNAddNumberTypeConversions
Simplifying constant integer cast $10
Successful SSA optimization PassNCastSimplification
Finalized unsigned number type (byte) $10
Successful SSA optimization PassNFinalizeNumberTypeConversions
Alias (byte) main::i#1 = (byte) main::i#10 
Alias (byte) main::i#12 = (byte) main::i#17 (byte) main::i#13 (byte) main::i#18 (byte) main::i#14 (byte) main::i#19 (byte) main::i#15 (byte) main::i#20 (byte) main::i#16 
Successful SSA optimization Pass2AliasElimination
Identical Phi Values (byte) main::i#21 (const byte) main::i#0
Successful SSA optimization Pass2IdenticalPhiElimination
Constant (const void*) memset::str#0 = (void*)print_line_cursor#0
Successful SSA optimization Pass2ConstantIdentification
Constant value identified (byte*)memset::str#0 in [18] (byte*~) memset::$2 ← (byte*)(const void*) memset::str#0
Constant value identified (byte*)memset::str#0 in [20] (byte*) memset::dst#0 ← (byte*)(const void*) memset::str#0
Successful SSA optimization Pass2ConstantValues
if() condition always true - replacing block destination [130] if((const byte) main::i#0<(byte) $14) goto main::@2
Successful SSA optimization Pass2ConstantIfs
Constant (const byte*) memset::$2 = (byte*)memset::str#0
Constant (const byte*) memset::dst#0 = (byte*)memset::str#0
Successful SSA optimization Pass2ConstantIdentification
Constant right-side identified [18] (byte*) memset::end#0 ← (const byte*) memset::$2 + (const word) memset::num#0
Successful SSA optimization Pass2ConstantRValueConsolidation
Constant (const byte*) memset::end#0 = memset::$2+memset::num#0
Successful SSA optimization Pass2ConstantIdentification
Successful SSA optimization Pass2LoopHeadConstantIdentification
Alias (byte*) memset::dst#1 = (byte*) memset::dst#2 
Successful SSA optimization Pass2AliasElimination
Identical Phi Values (byte*) memset::dst#5 (const byte*) memset::dst#0
Successful SSA optimization Pass2IdenticalPhiElimination
if() condition always true - replacing block destination [118] if((const byte*) memset::dst#0!=(const byte*) memset::end#0) goto memset::@5
Successful SSA optimization Pass2ConstantIfs
Rewriting multiplication to use shift [71] (byte~) main::$27 ← (byte) main::i#12 * (const byte) SIZEOF_WORD
Rewriting multiplication to use shift [75] (byte~) main::$28 ← (byte) main::i#12 * (const byte) SIZEOF_WORD
Rewriting multiplication to use shift [79] (byte~) main::$29 ← (byte) main::i#12 * (const byte) SIZEOF_WORD
Successful SSA optimization Pass2MultiplyToShiftRewriting
Inlining constant with var siblings (const word) divr16u::quotient#0
Inlining constant with var siblings (const byte) divr16u::i#0
Inlining constant with var siblings (const word) divr16u::rem#3
Inlining constant with var siblings (const word) divr16u::dividend#2
Inlining constant with var siblings (const byte*) memset::dst#0
Inlining constant with var siblings (const byte*) print_str::str#1
Inlining constant with var siblings (const byte*) print_str::str#2
Inlining constant with var siblings (const byte*) print_str::str#3
Inlining constant with var siblings (const byte*) print_str::str#4
Inlining constant with var siblings (const byte*) print_str::str#5
Inlining constant with var siblings (const byte*) print_str::str#6
Inlining constant with var siblings (const byte*) print_str::str#7
Inlining constant with var siblings (const byte*) print_str::str#8
Inlining constant with var siblings (const byte*) print_str::str#9
Inlining constant with var siblings (const word) print_word::w#0
Inlining constant with var siblings (const word) print_word::w#1
Inlining constant with var siblings (const word) print_word::w#2
Inlining constant with var siblings (const word) print_word::w#6
Inlining constant with var siblings (const word) print_word::w#7
Inlining constant with var siblings (const word) print_word::w#8
Inlining constant with var siblings (const byte) main::i#0
Inlining constant with var siblings (const word) lin16u_gen::min#0
Inlining constant with var siblings (const word) lin16u_gen::max#0
Inlining constant with var siblings (const word) lin16u_gen::length#0
Inlining constant with var siblings (const word) lin16u_gen::min#1
Inlining constant with var siblings (const word) lin16u_gen::max#1
Inlining constant with var siblings (const word) lin16u_gen::length#1
Inlining constant with var siblings (const word) lin16u_gen::min#2
Inlining constant with var siblings (const word) lin16u_gen::max#2
Inlining constant with var siblings (const word) lin16u_gen::length#2
Inlining constant with var siblings (const word) lin16u_gen::i#0
Inlining constant with var siblings (const word*) lin16u_gen::lintab#0
Inlining constant with var siblings (const word*) lin16u_gen::lintab#1
Inlining constant with var siblings (const word*) lin16u_gen::lintab#2
Inlining constant with var siblings (const byte*) print_line_cursor#0
Constant inlined main::str4 = (const string) main::str1
Constant inlined main::str5 = (const string) main::str1
Constant inlined divr16u::rem#3 = (byte) 0
Constant inlined main::str6 = (const string) main::str
Constant inlined main::str7 = (const string) main::str1
Constant inlined divr16u::i#0 = (byte) 0
Constant inlined main::str2 = (const string) main::str1
Constant inlined main::str3 = (const string) main::str1
Constant inlined lin16u_gen::max#0 = (word) $7461
Constant inlined lin16u_gen::max#2 = (word) $6488
Constant inlined lin16u_gen::max#1 = (word) $f781
Constant inlined $0 = (const byte[]) print_hextab#0
Constant inlined memset::$2 = (byte*)(const void*) memset::str#0
Constant inlined divr16u::quotient#0 = (byte) 0
Constant inlined main::i#0 = (byte) 0
Constant inlined lin16u_gen::min#0 = (word) $22d
Constant inlined print_line_cursor#0 = (byte*) 1024
Constant inlined print_word::w#1 = (word) $79cb
Constant inlined print_word::w#0 = (word) $22d
Constant inlined print_word::w#2 = (byte) 0
Constant inlined divr16u::dividend#2 = (byte) 0
Constant inlined print_word::w#7 = (word) $f781
Constant inlined print_word::w#6 = (word) $7461
Constant inlined print_word::w#8 = (word) $6488
Constant inlined lin16u_gen::length#2 = (byte) $14
Constant inlined print_str::str#9 = (const string) main::str1
Constant inlined lin16u_gen::length#1 = (byte) $14
Constant inlined lin16u_gen::length#0 = (byte) $14
Constant inlined print_str::str#4 = (const string) main::str1
Constant inlined print_str::str#3 = (const string) main::str1
Constant inlined print_str::str#2 = (const string) main::str1
Constant inlined memset::dst#0 = (byte*)(const void*) memset::str#0
Constant inlined print_str::str#1 = (const string) main::str
Constant inlined print_str::str#8 = (const string) main::str1
Constant inlined main::str8 = (const string) main::str1
Constant inlined lin16u_gen::lintab#2 = (const word[$14]) main::lintab3#0
Constant inlined lin16u_gen::min#1 = (word) $79cb
Constant inlined lin16u_gen::i#0 = (byte) 0
Constant inlined print_str::str#7 = (const string) main::str
Constant inlined lin16u_gen::lintab#1 = (const word[$14]) main::lintab2#0
Constant inlined lin16u_gen::min#2 = (byte) 0
Constant inlined print_str::str#6 = (const string) main::str1
Constant inlined lin16u_gen::lintab#0 = (const word[$14]) main::lintab1#0
Constant inlined print_str::str#5 = (const string) main::str1
Successful SSA optimization Pass2ConstantInlining
Identical Phi Values (word) lin16u_gen::length#3 (byte) $14
Successful SSA optimization Pass2IdenticalPhiElimination
Constant right-side identified [94] (word) divr16u::divisor#0 ← (byte) $14 - (byte) 1
Constant right-side identified [99] (word) divr16u::divisor#1 ← (byte) $14 - (byte) 1
Successful SSA optimization Pass2ConstantRValueConsolidation
Constant (const word) divr16u::divisor#0 = $14-1
Constant (const word) divr16u::divisor#1 = $14-1
Successful SSA optimization Pass2ConstantIdentification
Successful SSA optimization Pass2LoopHeadConstantIdentification
Inlining constant with var siblings (const word) divr16u::divisor#0
Inlining constant with var siblings (const word) divr16u::divisor#1
Constant inlined divr16u::divisor#1 = (byte) $14-(byte) 1
Constant inlined divr16u::divisor#0 = (byte) $14-(byte) 1
Successful SSA optimization Pass2ConstantInlining
Alias (word) lin16u_gen::i#1 = (word) lin16u_gen::i#2 
Alias (dword) lin16u_gen::val#1 = (dword) lin16u_gen::val#2 
Alias (word*) lin16u_gen::lintab#3 = (word*) lin16u_gen::lintab#4 
Alias (dword) lin16u_gen::val#0 = (dword) lin16u_gen::val#5 
Alias (word*) lin16u_gen::lintab#10 = (word*) lin16u_gen::lintab#6 
Successful SSA optimization Pass2AliasElimination
Identical Phi Values (word) lin16u_gen::i#5 (byte) 0
Successful SSA optimization Pass2IdenticalPhiElimination
if() condition always true - replacing block destination [116] if((byte) 0<(byte) $14) goto lin16u_gen::@2
Successful SSA optimization Pass2ConstantIfs
Added new block during phi lifting divr16u::@8(between divr16u::@3 and divr16u::@1)
Added new block during phi lifting divr16u::@9(between divr16u::@1 and divr16u::@2)
Added new block during phi lifting divr16u::@10(between divr16u::@2 and divr16u::@3)
Added new block during phi lifting memset::@10(between memset::@4 and memset::@5)
Added new block during phi lifting print_ln::@3(between print_ln::@1 and print_ln::@1)
Added new block during phi lifting main::@33(between main::@1 and main::@2)
Added new block during phi lifting lin16u_gen::@9(between lin16u_gen::@1 and lin16u_gen::@2)
Adding NOP phi() at start of @begin
Adding NOP phi() at start of @2
Adding NOP phi() at start of @20
Adding NOP phi() at start of @37
Adding NOP phi() at start of @46
Adding NOP phi() at start of @47
Adding NOP phi() at start of @end
Adding NOP phi() at start of main
Adding NOP phi() at start of main::@7
Adding NOP phi() at start of main::@8
Adding NOP phi() at start of main::@9
Adding NOP phi() at start of main::@10
Adding NOP phi() at start of main::@11
Adding NOP phi() at start of main::@13
Adding NOP phi() at start of main::@15
Adding NOP phi() at start of main::@16
Adding NOP phi() at start of main::@17
Adding NOP phi() at start of main::@1_1
Adding NOP phi() at start of main::@26
Adding NOP phi() at start of main::@28
Adding NOP phi() at start of main::@30
Adding NOP phi() at start of main::@32
Adding NOP phi() at start of print_ln::@2
Adding NOP phi() at start of print_word::@2
Adding NOP phi() at start of print_byte::@2
Adding NOP phi() at start of print_cls
Adding NOP phi() at start of print_cls::@1
Adding NOP phi() at start of memset
Adding NOP phi() at start of memset::@2
Adding NOP phi() at start of memset::@4_1
Adding NOP phi() at start of memset::@1
CALL GRAPH
Calls in [] to main:5 
Calls in [main] to lin16u_gen:9 lin16u_gen:11 lin16u_gen:13 print_cls:15 print_str:17 print_word:19 print_str:21 print_word:23 print_str:25 print_word:27 print_ln:29 print_byte:36 print_str:38 print_word:42 print_str:44 print_word:48 print_str:50 print_word:54 print_ln:56 print_str:60 print_word:62 print_str:64 print_word:66 print_str:68 print_word:70 print_ln:72 
Calls in [print_word] to print_byte:88 print_byte:92 
Calls in [print_byte] to print_char:100 print_char:105 
Calls in [print_cls] to memset:124 
Calls in [lin16u_gen] to divr16u:141 divr16u:146 

Created 29 initial phi equivalence classes
Coalesced [20] print_char_cursor#92 ← print_char_cursor#11
Coalesced (already) [24] print_char_cursor#93 ← print_char_cursor#11
Coalesced [34] print_byte::b#5 ← print_byte::b#2
Not coalescing [35] print_char_cursor#102 ← print_line_cursor#1
Coalesced (already) [37] print_char_cursor#94 ← print_char_cursor#11
Coalesced [41] print_word::w#11 ← print_word::w#3
Coalesced (already) [43] print_char_cursor#95 ← print_char_cursor#11
Coalesced [47] print_word::w#12 ← print_word::w#4
Coalesced (already) [49] print_char_cursor#96 ← print_char_cursor#11
Coalesced [53] print_word::w#13 ← print_word::w#5
Coalesced [55] print_line_cursor#50 ← print_line_cursor#1
Not coalescing [59] print_char_cursor#99 ← print_line_cursor#1
Coalesced (already) [63] print_char_cursor#97 ← print_char_cursor#11
Coalesced (already) [67] print_char_cursor#98 ← print_char_cursor#11
Coalesced (already) [71] print_line_cursor#51 ← print_line_cursor#1
Coalesced [75] main::i#22 ← main::i#1
Coalesced [77] print_line_cursor#52 ← print_line_cursor#21
Coalesced (already) [83] print_line_cursor#53 ← print_line_cursor#1
Coalesced [86] print_byte::b#6 ← print_byte::b#0
Coalesced [87] print_char_cursor#103 ← print_char_cursor#2
Coalesced [90] print_byte::b#7 ← print_byte::b#1
Coalesced [91] print_char_cursor#104 ← print_char_cursor#11
Coalesced [98] print_char::ch#3 ← print_char::ch#0
Coalesced [99] print_char_cursor#105 ← print_char_cursor#81
Coalesced [103] print_char::ch#4 ← print_char::ch#1
Coalesced (already) [104] print_char_cursor#106 ← print_char_cursor#11
Coalesced [113] print_str::str#13 ← print_str::str#12
Coalesced (already) [114] print_char_cursor#100 ← print_char_cursor#86
Coalesced [121] print_str::str#14 ← print_str::str#0
Coalesced [122] print_char_cursor#101 ← print_char_cursor#1
Coalesced [136] memset::dst#6 ← memset::dst#1
Coalesced [140] divr16u::dividend#9 ← divr16u::dividend#1
Coalesced [145] divr16u::rem#12 ← divr16u::rem#4
Coalesced [151] lin16u_gen::val#7 ← lin16u_gen::val#0
Coalesced [152] lin16u_gen::lintab#12 ← lin16u_gen::lintab#10
Coalesced [161] lin16u_gen::i#6 ← lin16u_gen::i#1
Coalesced [162] lin16u_gen::val#6 ← lin16u_gen::val#1
Coalesced [163] lin16u_gen::lintab#11 ← lin16u_gen::lintab#3
Coalesced [165] divr16u::rem#13 ← divr16u::rem#10
Coalesced [166] divr16u::dividend#10 ← divr16u::dividend#5
Coalesced [173] divr16u::rem#16 ← divr16u::rem#1
Coalesced [180] divr16u::rem#18 ← divr16u::rem#2
Coalesced [181] divr16u::return#8 ← divr16u::quotient#2
Coalesced [187] divr16u::rem#14 ← divr16u::rem#11
Coalesced [188] divr16u::dividend#11 ← divr16u::dividend#0
Coalesced [189] divr16u::quotient#9 ← divr16u::return#0
Coalesced [190] divr16u::i#7 ← divr16u::i#1
Coalesced [191] divr16u::rem#17 ← divr16u::rem#6
Coalesced [192] divr16u::return#7 ← divr16u::quotient#1
Coalesced [193] divr16u::rem#15 ← divr16u::rem#0
Coalesced down to 18 phi equivalence classes
Culled Empty Block (label) @2
Culled Empty Block (label) @20
Culled Empty Block (label) @37
Culled Empty Block (label) @47
Culled Empty Block (label) main::@17
Culled Empty Block (label) main::@1_1
Culled Empty Block (label) main::@32
Culled Empty Block (label) main::@33
Culled Empty Block (label) print_ln::@2
Culled Empty Block (label) print_ln::@3
Culled Empty Block (label) print_word::@2
Culled Empty Block (label) print_byte::@2
Culled Empty Block (label) print_cls::@1
Culled Empty Block (label) memset::@2
Culled Empty Block (label) memset::@4_1
Culled Empty Block (label) memset::@1
Culled Empty Block (label) memset::@10
Culled Empty Block (label) lin16u_gen::@1_1
Culled Empty Block (label) lin16u_gen::@9
Culled Empty Block (label) divr16u::@8
Culled Empty Block (label) divr16u::@10
Culled Empty Block (label) divr16u::@9
Renumbering block @46 to @1
Renumbering block memset::@4 to memset::@1
Renumbering block memset::@5 to memset::@2
Renumbering block main::@7 to main::@4
Renumbering block main::@8 to main::@5
Renumbering block main::@9 to main::@6
Renumbering block main::@10 to main::@7
Renumbering block main::@11 to main::@8
Renumbering block main::@12 to main::@9
Renumbering block main::@13 to main::@10
Renumbering block main::@14 to main::@11
Renumbering block main::@15 to main::@12
Renumbering block main::@16 to main::@13
Renumbering block main::@18 to main::@14
Renumbering block main::@19 to main::@15
Renumbering block main::@20 to main::@16
Renumbering block main::@21 to main::@17
Renumbering block main::@22 to main::@18
Renumbering block main::@23 to main::@19
Renumbering block main::@24 to main::@20
Renumbering block main::@25 to main::@21
Renumbering block main::@26 to main::@22
Renumbering block main::@27 to main::@23
Renumbering block main::@28 to main::@24
Renumbering block main::@29 to main::@25
Renumbering block main::@30 to main::@26
Renumbering block main::@31 to main::@27
Renumbering block lin16u_gen::@7 to lin16u_gen::@3
Renumbering block lin16u_gen::@8 to lin16u_gen::@4
Adding NOP phi() at start of @begin
Adding NOP phi() at start of @1
Adding NOP phi() at start of @end
Adding NOP phi() at start of main
Adding NOP phi() at start of main::@4
Adding NOP phi() at start of main::@5
Adding NOP phi() at start of main::@6
Adding NOP phi() at start of main::@7
Adding NOP phi() at start of main::@8
Adding NOP phi() at start of main::@9
Adding NOP phi() at start of main::@10
Adding NOP phi() at start of main::@11
Adding NOP phi() at start of main::@12
Adding NOP phi() at start of main::@13
Adding NOP phi() at start of main::@14
Adding NOP phi() at start of main::@16
Adding NOP phi() at start of main::@18
Adding NOP phi() at start of main::@20
Adding NOP phi() at start of main::@22
Adding NOP phi() at start of main::@23
Adding NOP phi() at start of main::@24
Adding NOP phi() at start of main::@25
Adding NOP phi() at start of main::@26
Adding NOP phi() at start of main::@27
Adding NOP phi() at start of print_cls
Adding NOP phi() at start of memset

FINAL CONTROL FLOW GRAPH
@begin: scope:[]  from
  [0] phi()
  to:@1
@1: scope:[]  from @begin
  [1] phi()
  [2] call main 
  to:@end
@end: scope:[]  from @1
  [3] phi()
main: scope:[main]  from @1
  [4] phi()
  [5] call lin16u_gen 
  to:main::@4
main::@4: scope:[main]  from main
  [6] phi()
  [7] call lin16u_gen 
  to:main::@5
main::@5: scope:[main]  from main::@4
  [8] phi()
  [9] call lin16u_gen 
  to:main::@6
main::@6: scope:[main]  from main::@5
  [10] phi()
  [11] call print_cls 
  to:main::@7
main::@7: scope:[main]  from main::@6
  [12] phi()
  [13] call print_str 
  to:main::@8
main::@8: scope:[main]  from main::@7
  [14] phi()
  [15] call print_word 
  to:main::@9
main::@9: scope:[main]  from main::@8
  [16] phi()
  [17] call print_str 
  to:main::@10
main::@10: scope:[main]  from main::@9
  [18] phi()
  [19] call print_word 
  to:main::@11
main::@11: scope:[main]  from main::@10
  [20] phi()
  [21] call print_str 
  to:main::@12
main::@12: scope:[main]  from main::@11
  [22] phi()
  [23] call print_word 
  to:main::@13
main::@13: scope:[main]  from main::@12
  [24] phi()
  [25] call print_ln 
  to:main::@2
main::@2: scope:[main]  from main::@1 main::@13
  [26] (byte) main::i#12 ← phi( main::@1/(byte) main::i#1 main::@13/(byte) 0 )
  [27] (byte) print_byte::b#2 ← (byte) main::i#12
  [28] (byte*~) print_char_cursor#102 ← (byte*) print_line_cursor#1
  [29] call print_byte 
  to:main::@14
main::@14: scope:[main]  from main::@2
  [30] phi()
  [31] call print_str 
  to:main::@15
main::@15: scope:[main]  from main::@14
  [32] (byte~) main::$27 ← (byte) main::i#12 << (byte) 1
  [33] (word) print_word::w#3 ← *((const word[$14]) main::lintab1#0 + (byte~) main::$27)
  [34] call print_word 
  to:main::@16
main::@16: scope:[main]  from main::@15
  [35] phi()
  [36] call print_str 
  to:main::@17
main::@17: scope:[main]  from main::@16
  [37] (byte~) main::$28 ← (byte) main::i#12 << (byte) 1
  [38] (word) print_word::w#4 ← *((const word[$14]) main::lintab2#0 + (byte~) main::$28)
  [39] call print_word 
  to:main::@18
main::@18: scope:[main]  from main::@17
  [40] phi()
  [41] call print_str 
  to:main::@19
main::@19: scope:[main]  from main::@18
  [42] (byte~) main::$29 ← (byte) main::i#12 << (byte) 1
  [43] (word) print_word::w#5 ← *((const word[$14]) main::lintab3#0 + (byte~) main::$29)
  [44] call print_word 
  to:main::@20
main::@20: scope:[main]  from main::@19
  [45] phi()
  [46] call print_ln 
  to:main::@21
main::@21: scope:[main]  from main::@20
  [47] (byte) main::i#1 ← ++ (byte) main::i#12
  to:main::@1
main::@1: scope:[main]  from main::@21
  [48] if((byte) main::i#1<(byte) $14) goto main::@2
  to:main::@3
main::@3: scope:[main]  from main::@1
  [49] (byte*~) print_char_cursor#99 ← (byte*) print_line_cursor#1
  [50] call print_str 
  to:main::@22
main::@22: scope:[main]  from main::@3
  [51] phi()
  [52] call print_word 
  to:main::@23
main::@23: scope:[main]  from main::@22
  [53] phi()
  [54] call print_str 
  to:main::@24
main::@24: scope:[main]  from main::@23
  [55] phi()
  [56] call print_word 
  to:main::@25
main::@25: scope:[main]  from main::@24
  [57] phi()
  [58] call print_str 
  to:main::@26
main::@26: scope:[main]  from main::@25
  [59] phi()
  [60] call print_word 
  to:main::@27
main::@27: scope:[main]  from main::@26
  [61] phi()
  [62] call print_ln 
  to:main::@return
main::@return: scope:[main]  from main::@27
  [63] return 
  to:@return
print_ln: scope:[print_ln]  from main::@13 main::@20 main::@27
  [64] (byte*) print_line_cursor#21 ← phi( main::@13/(byte*) 1024 main::@20/(byte*) print_line_cursor#1 main::@27/(byte*) print_line_cursor#1 )
  to:print_ln::@1
print_ln::@1: scope:[print_ln]  from print_ln print_ln::@1
  [65] (byte*) print_line_cursor#11 ← phi( print_ln/(byte*) print_line_cursor#21 print_ln::@1/(byte*) print_line_cursor#1 )
  [66] (byte*) print_line_cursor#1 ← (byte*) print_line_cursor#11 + (byte) $28
  [67] if((byte*) print_line_cursor#1<(byte*) print_char_cursor#11) goto print_ln::@1
  to:print_ln::@return
print_ln::@return: scope:[print_ln]  from print_ln::@1
  [68] return 
  to:@return
print_word: scope:[print_word]  from main::@10 main::@12 main::@15 main::@17 main::@19 main::@22 main::@24 main::@26 main::@8
  [69] (word) print_word::w#10 ← phi( main::@8/(word) $22d main::@10/(word) $79cb main::@12/(byte) 0 main::@15/(word) print_word::w#3 main::@17/(word) print_word::w#4 main::@19/(word) print_word::w#5 main::@22/(word) $7461 main::@24/(word) $f781 main::@26/(word) $6488 )
  [70] (byte) print_byte::b#0 ← > (word) print_word::w#10
  [71] call print_byte 
  to:print_word::@1
print_word::@1: scope:[print_word]  from print_word
  [72] (byte) print_byte::b#1 ← < (word) print_word::w#10
  [73] call print_byte 
  to:print_word::@return
print_word::@return: scope:[print_word]  from print_word::@1
  [74] return 
  to:@return
print_byte: scope:[print_byte]  from main::@2 print_word print_word::@1
  [75] (byte*) print_char_cursor#81 ← phi( main::@2/(byte*~) print_char_cursor#102 print_word/(byte*) print_char_cursor#2 print_word::@1/(byte*) print_char_cursor#11 )
  [75] (byte) print_byte::b#3 ← phi( main::@2/(byte) print_byte::b#2 print_word/(byte) print_byte::b#0 print_word::@1/(byte) print_byte::b#1 )
  [76] (byte~) print_byte::$0 ← (byte) print_byte::b#3 >> (byte) 4
  [77] (byte) print_char::ch#0 ← *((const byte[]) print_hextab#0 + (byte~) print_byte::$0)
  [78] call print_char 
  to:print_byte::@1
print_byte::@1: scope:[print_byte]  from print_byte
  [79] (byte~) print_byte::$2 ← (byte) print_byte::b#3 & (byte) $f
  [80] (byte) print_char::ch#1 ← *((const byte[]) print_hextab#0 + (byte~) print_byte::$2)
  [81] call print_char 
  to:print_byte::@return
print_byte::@return: scope:[print_byte]  from print_byte::@1
  [82] return 
  to:@return
print_char: scope:[print_char]  from print_byte print_byte::@1
  [83] (byte*) print_char_cursor#50 ← phi( print_byte/(byte*) print_char_cursor#81 print_byte::@1/(byte*) print_char_cursor#11 )
  [83] (byte) print_char::ch#2 ← phi( print_byte/(byte) print_char::ch#0 print_byte::@1/(byte) print_char::ch#1 )
  [84] *((byte*) print_char_cursor#50) ← (byte) print_char::ch#2
  [85] (byte*) print_char_cursor#11 ← ++ (byte*) print_char_cursor#50
  to:print_char::@return
print_char::@return: scope:[print_char]  from print_char
  [86] return 
  to:@return
print_str: scope:[print_str]  from main::@11 main::@14 main::@16 main::@18 main::@23 main::@25 main::@3 main::@7 main::@9
  [87] (byte*) print_char_cursor#86 ← phi( main::@7/(byte*) 1024 main::@9/(byte*) print_char_cursor#11 main::@11/(byte*) print_char_cursor#11 main::@14/(byte*) print_char_cursor#11 main::@16/(byte*) print_char_cursor#11 main::@18/(byte*) print_char_cursor#11 main::@23/(byte*) print_char_cursor#11 main::@25/(byte*) print_char_cursor#11 main::@3/(byte*~) print_char_cursor#99 )
  [87] (byte*) print_str::str#12 ← phi( main::@7/(const string) main::str main::@9/(const string) main::str1 main::@11/(const string) main::str1 main::@14/(const string) main::str1 main::@16/(const string) main::str1 main::@18/(const string) main::str1 main::@23/(const string) main::str1 main::@25/(const string) main::str1 main::@3/(const string) main::str )
  to:print_str::@1
print_str::@1: scope:[print_str]  from print_str print_str::@2
  [88] (byte*) print_char_cursor#2 ← phi( print_str/(byte*) print_char_cursor#86 print_str::@2/(byte*) print_char_cursor#1 )
  [88] (byte*) print_str::str#10 ← phi( print_str/(byte*) print_str::str#12 print_str::@2/(byte*) print_str::str#0 )
  [89] if((byte) 0!=*((byte*) print_str::str#10)) goto print_str::@2
  to:print_str::@return
print_str::@return: scope:[print_str]  from print_str::@1
  [90] return 
  to:@return
print_str::@2: scope:[print_str]  from print_str::@1
  [91] *((byte*) print_char_cursor#2) ← *((byte*) print_str::str#10)
  [92] (byte*) print_char_cursor#1 ← ++ (byte*) print_char_cursor#2
  [93] (byte*) print_str::str#0 ← ++ (byte*) print_str::str#10
  to:print_str::@1
print_cls: scope:[print_cls]  from main::@6
  [94] phi()
  [95] call memset 
  to:print_cls::@return
print_cls::@return: scope:[print_cls]  from print_cls
  [96] return 
  to:@return
memset: scope:[memset]  from print_cls
  [97] phi()
  to:memset::@2
memset::@2: scope:[memset]  from memset memset::@1
  [98] (byte*) memset::dst#4 ← phi( memset::@1/(byte*) memset::dst#1 memset/(byte*)(const void*) memset::str#0 )
  [99] *((byte*) memset::dst#4) ← (const byte) memset::c#0
  [100] (byte*) memset::dst#1 ← ++ (byte*) memset::dst#4
  to:memset::@1
memset::@1: scope:[memset]  from memset::@2
  [101] if((byte*) memset::dst#1!=(const byte*) memset::end#0) goto memset::@2
  to:memset::@return
memset::@return: scope:[memset]  from memset::@1
  [102] return 
  to:@return
lin16u_gen: scope:[lin16u_gen]  from main main::@4 main::@5
  [103] (word*) lin16u_gen::lintab#10 ← phi( main/(const word[$14]) main::lintab1#0 main::@4/(const word[$14]) main::lintab2#0 main::@5/(const word[$14]) main::lintab3#0 )
  [103] (word) lin16u_gen::min#3 ← phi( main/(word) $22d main::@4/(word) $79cb main::@5/(byte) 0 )
  [103] (word) lin16u_gen::max#3 ← phi( main/(word) $7461 main::@4/(word) $f781 main::@5/(word) $6488 )
  [104] (word) lin16u_gen::ampl#0 ← (word) lin16u_gen::max#3 - (word) lin16u_gen::min#3
  [105] (word) divr16u::dividend#1 ← (word) lin16u_gen::ampl#0
  [106] call divr16u 
  [107] (word) divr16u::return#2 ← (word) divr16u::return#0
  to:lin16u_gen::@3
lin16u_gen::@3: scope:[lin16u_gen]  from lin16u_gen
  [108] (word) lin16u_gen::stepi#0 ← (word) divr16u::return#2
  [109] (word) divr16u::rem#4 ← (word) rem16u#1
  [110] call divr16u 
  [111] (word) divr16u::return#3 ← (word) divr16u::return#0
  to:lin16u_gen::@4
lin16u_gen::@4: scope:[lin16u_gen]  from lin16u_gen::@3
  [112] (word) lin16u_gen::stepf#0 ← (word) divr16u::return#3
  [113] (dword) lin16u_gen::step#0 ← (word) lin16u_gen::stepi#0 dw= (word) lin16u_gen::stepf#0
  [114] (dword) lin16u_gen::val#0 ← (word) lin16u_gen::min#3 dw= (word) 0
  to:lin16u_gen::@2
lin16u_gen::@2: scope:[lin16u_gen]  from lin16u_gen::@1 lin16u_gen::@4
  [115] (word*) lin16u_gen::lintab#9 ← phi( lin16u_gen::@1/(word*) lin16u_gen::lintab#3 lin16u_gen::@4/(word*) lin16u_gen::lintab#10 )
  [115] (dword) lin16u_gen::val#4 ← phi( lin16u_gen::@1/(dword) lin16u_gen::val#1 lin16u_gen::@4/(dword) lin16u_gen::val#0 )
  [115] (word) lin16u_gen::i#4 ← phi( lin16u_gen::@1/(word) lin16u_gen::i#1 lin16u_gen::@4/(byte) 0 )
  [116] (word~) lin16u_gen::$6 ← > (dword) lin16u_gen::val#4
  [117] *((word*) lin16u_gen::lintab#9) ← (word~) lin16u_gen::$6
  [118] (dword) lin16u_gen::val#1 ← (dword) lin16u_gen::val#4 + (dword) lin16u_gen::step#0
  [119] (word*) lin16u_gen::lintab#3 ← (word*) lin16u_gen::lintab#9 + (const byte) SIZEOF_WORD
  [120] (word) lin16u_gen::i#1 ← ++ (word) lin16u_gen::i#4
  to:lin16u_gen::@1
lin16u_gen::@1: scope:[lin16u_gen]  from lin16u_gen::@2
  [121] if((word) lin16u_gen::i#1<(byte) $14) goto lin16u_gen::@2
  to:lin16u_gen::@return
lin16u_gen::@return: scope:[lin16u_gen]  from lin16u_gen::@1
  [122] return 
  to:@return
divr16u: scope:[divr16u]  from lin16u_gen lin16u_gen::@3
  [123] (word) divr16u::divisor#6 ← phi( lin16u_gen/(byte) $14-(byte) 1 lin16u_gen::@3/(byte) $14-(byte) 1 )
  [123] (word) divr16u::dividend#5 ← phi( lin16u_gen/(word) divr16u::dividend#1 lin16u_gen::@3/(byte) 0 )
  [123] (word) divr16u::rem#10 ← phi( lin16u_gen/(byte) 0 lin16u_gen::@3/(word) divr16u::rem#4 )
  to:divr16u::@1
divr16u::@1: scope:[divr16u]  from divr16u divr16u::@3
  [124] (byte) divr16u::i#2 ← phi( divr16u/(byte) 0 divr16u::@3/(byte) divr16u::i#1 )
  [124] (word) divr16u::quotient#3 ← phi( divr16u/(byte) 0 divr16u::@3/(word) divr16u::return#0 )
  [124] (word) divr16u::dividend#3 ← phi( divr16u/(word) divr16u::dividend#5 divr16u::@3/(word) divr16u::dividend#0 )
  [124] (word) divr16u::rem#5 ← phi( divr16u/(word) divr16u::rem#10 divr16u::@3/(word) divr16u::rem#11 )
  [125] (word) divr16u::rem#0 ← (word) divr16u::rem#5 << (byte) 1
  [126] (byte~) divr16u::$1 ← > (word) divr16u::dividend#3
  [127] (byte~) divr16u::$2 ← (byte~) divr16u::$1 & (byte) $80
  [128] if((byte~) divr16u::$2==(byte) 0) goto divr16u::@2
  to:divr16u::@4
divr16u::@4: scope:[divr16u]  from divr16u::@1
  [129] (word) divr16u::rem#1 ← (word) divr16u::rem#0 | (byte) 1
  to:divr16u::@2
divr16u::@2: scope:[divr16u]  from divr16u::@1 divr16u::@4
  [130] (word) divr16u::rem#6 ← phi( divr16u::@1/(word) divr16u::rem#0 divr16u::@4/(word) divr16u::rem#1 )
  [131] (word) divr16u::dividend#0 ← (word) divr16u::dividend#3 << (byte) 1
  [132] (word) divr16u::quotient#1 ← (word) divr16u::quotient#3 << (byte) 1
  [133] if((word) divr16u::rem#6<(word) divr16u::divisor#6) goto divr16u::@3
  to:divr16u::@5
divr16u::@5: scope:[divr16u]  from divr16u::@2
  [134] (word) divr16u::quotient#2 ← ++ (word) divr16u::quotient#1
  [135] (word) divr16u::rem#2 ← (word) divr16u::rem#6 - (word) divr16u::divisor#6
  to:divr16u::@3
divr16u::@3: scope:[divr16u]  from divr16u::@2 divr16u::@5
  [136] (word) divr16u::return#0 ← phi( divr16u::@2/(word) divr16u::quotient#1 divr16u::@5/(word) divr16u::quotient#2 )
  [136] (word) divr16u::rem#11 ← phi( divr16u::@2/(word) divr16u::rem#6 divr16u::@5/(word) divr16u::rem#2 )
  [137] (byte) divr16u::i#1 ← ++ (byte) divr16u::i#2
  [138] if((byte) divr16u::i#1!=(byte) $10) goto divr16u::@1
  to:divr16u::@6
divr16u::@6: scope:[divr16u]  from divr16u::@3
  [139] (word) rem16u#1 ← (word) divr16u::rem#11
  to:divr16u::@return
divr16u::@return: scope:[divr16u]  from divr16u::@6
  [140] return 
  to:@return


VARIABLE REGISTER WEIGHTS
(word()) divr16u((word) divr16u::dividend , (word) divr16u::divisor , (word) divr16u::rem)
(byte~) divr16u::$1 22.0
(byte~) divr16u::$2 22.0
(word) divr16u::dividend
(word) divr16u::dividend#0 2.75
(word) divr16u::dividend#1 4.0
(word) divr16u::dividend#3 5.0
(word) divr16u::dividend#5 4.0
(word) divr16u::divisor
(word) divr16u::divisor#6 1.375
(byte) divr16u::i
(byte) divr16u::i#1 16.5
(byte) divr16u::i#2 1.6923076923076923
(word) divr16u::quotient
(word) divr16u::quotient#1 16.5
(word) divr16u::quotient#2 11.0
(word) divr16u::quotient#3 2.75
(word) divr16u::rem
(word) divr16u::rem#0 8.25
(word) divr16u::rem#1 22.0
(word) divr16u::rem#10 4.0
(word) divr16u::rem#11 11.666666666666666
(word) divr16u::rem#2 22.0
(word) divr16u::rem#4 4.0
(word) divr16u::rem#5 24.0
(word) divr16u::rem#6 11.0
(word) divr16u::return
(word) divr16u::return#0 5.285714285714286
(word) divr16u::return#2 4.0
(word) divr16u::return#3 4.0
(void()) lin16u_gen((word) lin16u_gen::min , (word) lin16u_gen::max , (word*) lin16u_gen::lintab , (word) lin16u_gen::length)
(word~) lin16u_gen::$6 22.0
(word) lin16u_gen::ampl
(word) lin16u_gen::ampl#0 4.0
(word) lin16u_gen::i
(word) lin16u_gen::i#1 16.5
(word) lin16u_gen::i#4 4.4
(word) lin16u_gen::length
(word*) lin16u_gen::lintab
(word*) lin16u_gen::lintab#10 0.16666666666666666
(word*) lin16u_gen::lintab#3 7.333333333333333
(word*) lin16u_gen::lintab#9 8.75
(word) lin16u_gen::max
(word) lin16u_gen::max#3 2.0
(word) lin16u_gen::min
(word) lin16u_gen::min#3 0.36363636363636365
(dword) lin16u_gen::step
(dword) lin16u_gen::step#0 1.4444444444444446
(word) lin16u_gen::stepf
(word) lin16u_gen::stepf#0 4.0
(word) lin16u_gen::stepi
(word) lin16u_gen::stepi#0 0.8
(dword) lin16u_gen::val
(dword) lin16u_gen::val#0 4.0
(dword) lin16u_gen::val#1 5.5
(dword) lin16u_gen::val#4 11.666666666666666
(void()) main()
(byte~) main::$27 22.0
(byte~) main::$28 22.0
(byte~) main::$29 22.0
(byte) main::i
(byte) main::i#1 16.5
(byte) main::i#12 3.142857142857143
(word[$14]) main::lintab1
(word[$14]) main::lintab2
(word[$14]) main::lintab3
(void*()) memset((void*) memset::str , (byte) memset::c , (word) memset::num)
(byte) memset::c
(byte*) memset::dst
(byte*) memset::dst#1 16.5
(byte*) memset::dst#4 16.5
(byte*) memset::end
(word) memset::num
(void*) memset::return
(void*) memset::str
(void()) print_byte((byte) print_byte::b)
(byte~) print_byte::$0 4.0
(byte~) print_byte::$2 4.0
(byte) print_byte::b
(byte) print_byte::b#0 4.0
(byte) print_byte::b#1 4.0
(byte) print_byte::b#2 11.0
(byte) print_byte::b#3 4.75
(void()) print_char((byte) print_char::ch)
(byte) print_char::ch
(byte) print_char::ch#0 4.0
(byte) print_char::ch#1 4.0
(byte) print_char::ch#2 6.0
(byte*) print_char_cursor
(byte*) print_char_cursor#1 101.0
(byte*~) print_char_cursor#102 22.0
(byte*) print_char_cursor#11 4.228571428571427
(byte*) print_char_cursor#2 11.37037037037037
(byte*) print_char_cursor#50 4.0
(byte*) print_char_cursor#81 5.666666666666667
(byte*) print_char_cursor#86 45.0
(byte*~) print_char_cursor#99 4.0
(void()) print_cls()
(byte[]) print_hextab
(byte*) print_line_cursor
(byte*) print_line_cursor#1 8.225
(byte*) print_line_cursor#11 204.0
(byte*) print_line_cursor#21 15.0
(void()) print_ln()
(byte*) print_screen
(void()) print_str((byte*) print_str::str)
(byte*) print_str::str
(byte*) print_str::str#0 202.0
(byte*) print_str::str#10 101.5
(byte*) print_str::str#12 2.0
(void()) print_word((word) print_word::w)
(word) print_word::w
(word) print_word::w#10 12.333333333333332
(word) print_word::w#3 22.0
(word) print_word::w#4 22.0
(word) print_word::w#5 22.0
(word) rem16u
(word) rem16u#1 0.8

Initial phi equivalence classes
[ main::i#12 main::i#1 ]
[ print_line_cursor#11 print_line_cursor#21 print_line_cursor#1 ]
[ print_word::w#10 print_word::w#3 print_word::w#4 print_word::w#5 ]
[ print_byte::b#3 print_byte::b#2 print_byte::b#0 print_byte::b#1 ]
[ print_char::ch#2 print_char::ch#0 print_char::ch#1 ]
[ print_char_cursor#86 print_char_cursor#50 print_char_cursor#81 print_char_cursor#102 print_char_cursor#2 print_char_cursor#11 print_char_cursor#99 print_char_cursor#1 ]
[ print_str::str#10 print_str::str#12 print_str::str#0 ]
[ memset::dst#4 memset::dst#1 ]
[ lin16u_gen::max#3 ]
[ lin16u_gen::min#3 ]
[ lin16u_gen::i#4 lin16u_gen::i#1 ]
[ lin16u_gen::val#4 lin16u_gen::val#1 lin16u_gen::val#0 ]
[ lin16u_gen::lintab#9 lin16u_gen::lintab#3 lin16u_gen::lintab#10 ]
[ divr16u::divisor#6 ]
[ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 ]
[ divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#1 divr16u::dividend#0 ]
[ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 ]
[ divr16u::i#2 divr16u::i#1 ]
Added variable main::$27 to zero page equivalence class [ main::$27 ]
Added variable main::$28 to zero page equivalence class [ main::$28 ]
Added variable main::$29 to zero page equivalence class [ main::$29 ]
Added variable print_byte::$0 to zero page equivalence class [ print_byte::$0 ]
Added variable print_byte::$2 to zero page equivalence class [ print_byte::$2 ]
Added variable lin16u_gen::ampl#0 to zero page equivalence class [ lin16u_gen::ampl#0 ]
Added variable divr16u::return#2 to zero page equivalence class [ divr16u::return#2 ]
Added variable lin16u_gen::stepi#0 to zero page equivalence class [ lin16u_gen::stepi#0 ]
Added variable divr16u::return#3 to zero page equivalence class [ divr16u::return#3 ]
Added variable lin16u_gen::stepf#0 to zero page equivalence class [ lin16u_gen::stepf#0 ]
Added variable lin16u_gen::step#0 to zero page equivalence class [ lin16u_gen::step#0 ]
Added variable lin16u_gen::$6 to zero page equivalence class [ lin16u_gen::$6 ]
Added variable divr16u::$1 to zero page equivalence class [ divr16u::$1 ]
Added variable divr16u::$2 to zero page equivalence class [ divr16u::$2 ]
Added variable rem16u#1 to zero page equivalence class [ rem16u#1 ]
Complete equivalence classes
[ main::i#12 main::i#1 ]
[ print_line_cursor#11 print_line_cursor#21 print_line_cursor#1 ]
[ print_word::w#10 print_word::w#3 print_word::w#4 print_word::w#5 ]
[ print_byte::b#3 print_byte::b#2 print_byte::b#0 print_byte::b#1 ]
[ print_char::ch#2 print_char::ch#0 print_char::ch#1 ]
[ print_char_cursor#86 print_char_cursor#50 print_char_cursor#81 print_char_cursor#102 print_char_cursor#2 print_char_cursor#11 print_char_cursor#99 print_char_cursor#1 ]
[ print_str::str#10 print_str::str#12 print_str::str#0 ]
[ memset::dst#4 memset::dst#1 ]
[ lin16u_gen::max#3 ]
[ lin16u_gen::min#3 ]
[ lin16u_gen::i#4 lin16u_gen::i#1 ]
[ lin16u_gen::val#4 lin16u_gen::val#1 lin16u_gen::val#0 ]
[ lin16u_gen::lintab#9 lin16u_gen::lintab#3 lin16u_gen::lintab#10 ]
[ divr16u::divisor#6 ]
[ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 ]
[ divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#1 divr16u::dividend#0 ]
[ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 ]
[ divr16u::i#2 divr16u::i#1 ]
[ main::$27 ]
[ main::$28 ]
[ main::$29 ]
[ print_byte::$0 ]
[ print_byte::$2 ]
[ lin16u_gen::ampl#0 ]
[ divr16u::return#2 ]
[ lin16u_gen::stepi#0 ]
[ divr16u::return#3 ]
[ lin16u_gen::stepf#0 ]
[ lin16u_gen::step#0 ]
[ lin16u_gen::$6 ]
[ divr16u::$1 ]
[ divr16u::$2 ]
[ rem16u#1 ]
Allocated zp ZP_BYTE:2 [ main::i#12 main::i#1 ]
Allocated zp ZP_WORD:3 [ print_line_cursor#11 print_line_cursor#21 print_line_cursor#1 ]
Allocated zp ZP_WORD:5 [ print_word::w#10 print_word::w#3 print_word::w#4 print_word::w#5 ]
Allocated zp ZP_BYTE:7 [ print_byte::b#3 print_byte::b#2 print_byte::b#0 print_byte::b#1 ]
Allocated zp ZP_BYTE:8 [ print_char::ch#2 print_char::ch#0 print_char::ch#1 ]
Allocated zp ZP_WORD:9 [ print_char_cursor#86 print_char_cursor#50 print_char_cursor#81 print_char_cursor#102 print_char_cursor#2 print_char_cursor#11 print_char_cursor#99 print_char_cursor#1 ]
Allocated zp ZP_WORD:11 [ print_str::str#10 print_str::str#12 print_str::str#0 ]
Allocated zp ZP_WORD:13 [ memset::dst#4 memset::dst#1 ]
Allocated zp ZP_WORD:15 [ lin16u_gen::max#3 ]
Allocated zp ZP_WORD:17 [ lin16u_gen::min#3 ]
Allocated zp ZP_WORD:19 [ lin16u_gen::i#4 lin16u_gen::i#1 ]
Allocated zp ZP_DWORD:21 [ lin16u_gen::val#4 lin16u_gen::val#1 lin16u_gen::val#0 ]
Allocated zp ZP_WORD:25 [ lin16u_gen::lintab#9 lin16u_gen::lintab#3 lin16u_gen::lintab#10 ]
Allocated zp ZP_WORD:27 [ divr16u::divisor#6 ]
Allocated zp ZP_WORD:29 [ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 ]
Allocated zp ZP_WORD:31 [ divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#1 divr16u::dividend#0 ]
Allocated zp ZP_WORD:33 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 ]
Allocated zp ZP_BYTE:35 [ divr16u::i#2 divr16u::i#1 ]
Allocated zp ZP_BYTE:36 [ main::$27 ]
Allocated zp ZP_BYTE:37 [ main::$28 ]
Allocated zp ZP_BYTE:38 [ main::$29 ]
Allocated zp ZP_BYTE:39 [ print_byte::$0 ]
Allocated zp ZP_BYTE:40 [ print_byte::$2 ]
Allocated zp ZP_WORD:41 [ lin16u_gen::ampl#0 ]
Allocated zp ZP_WORD:43 [ divr16u::return#2 ]
Allocated zp ZP_WORD:45 [ lin16u_gen::stepi#0 ]
Allocated zp ZP_WORD:47 [ divr16u::return#3 ]
Allocated zp ZP_WORD:49 [ lin16u_gen::stepf#0 ]
Allocated zp ZP_DWORD:51 [ lin16u_gen::step#0 ]
Allocated zp ZP_WORD:55 [ lin16u_gen::$6 ]
Allocated zp ZP_BYTE:57 [ divr16u::$1 ]
Allocated zp ZP_BYTE:58 [ divr16u::$2 ]
Allocated zp ZP_WORD:59 [ rem16u#1 ]

INITIAL ASM
Target platform is c64basic
  // File Comments
// Linear table generator
// Work in progress towards a sinus generator
  // Upstart
.pc = $801 "Basic"
:BasicUpstart(bbegin)
.pc = $80d "Program"
  // Global Constants & labels
  .const SIZEOF_WORD = 2
  .label rem16u = $3b
  .label print_char_cursor = 9
  .label print_line_cursor = 3
  // @begin
bbegin:
  // [1] phi from @begin to @1 [phi:@begin->@1]
b1_from_bbegin:
  jmp b1
  // @1
b1:
  // [2] call main 
  // [4] phi from @1 to main [phi:@1->main]
main_from_b1:
  jsr main
  // [3] phi from @1 to @end [phi:@1->@end]
bend_from_b1:
  jmp bend
  // @end
bend:
  // main
main: {
    .label _27 = $24
    .label _28 = $25
    .label _29 = $26
    .label i = 2
    // [5] call lin16u_gen 
    // [103] phi from main to lin16u_gen [phi:main->lin16u_gen]
  lin16u_gen_from_main:
    // [103] phi (word*) lin16u_gen::lintab#10 = (const word[$14]) main::lintab1#0 [phi:main->lin16u_gen#0] -- pwuz1=pwuc1 
    lda #<lintab1
    sta.z lin16u_gen.lintab
    lda #>lintab1
    sta.z lin16u_gen.lintab+1
    // [103] phi (word) lin16u_gen::min#3 = (word) $22d [phi:main->lin16u_gen#1] -- vwuz1=vwuc1 
    lda #<$22d
    sta.z lin16u_gen.min
    lda #>$22d
    sta.z lin16u_gen.min+1
    // [103] phi (word) lin16u_gen::max#3 = (word) $7461 [phi:main->lin16u_gen#2] -- vwuz1=vwuc1 
    lda #<$7461
    sta.z lin16u_gen.max
    lda #>$7461
    sta.z lin16u_gen.max+1
    jsr lin16u_gen
    // [6] phi from main to main::@4 [phi:main->main::@4]
  b4_from_main:
    jmp b4
    // main::@4
  b4:
    // [7] call lin16u_gen 
    // [103] phi from main::@4 to lin16u_gen [phi:main::@4->lin16u_gen]
  lin16u_gen_from_b4:
    // [103] phi (word*) lin16u_gen::lintab#10 = (const word[$14]) main::lintab2#0 [phi:main::@4->lin16u_gen#0] -- pwuz1=pwuc1 
    lda #<lintab2
    sta.z lin16u_gen.lintab
    lda #>lintab2
    sta.z lin16u_gen.lintab+1
    // [103] phi (word) lin16u_gen::min#3 = (word) $79cb [phi:main::@4->lin16u_gen#1] -- vwuz1=vwuc1 
    lda #<$79cb
    sta.z lin16u_gen.min
    lda #>$79cb
    sta.z lin16u_gen.min+1
    // [103] phi (word) lin16u_gen::max#3 = (word) $f781 [phi:main::@4->lin16u_gen#2] -- vwuz1=vwuc1 
    lda #<$f781
    sta.z lin16u_gen.max
    lda #>$f781
    sta.z lin16u_gen.max+1
    jsr lin16u_gen
    // [8] phi from main::@4 to main::@5 [phi:main::@4->main::@5]
  b5_from_b4:
    jmp b5
    // main::@5
  b5:
    // [9] call lin16u_gen 
    // [103] phi from main::@5 to lin16u_gen [phi:main::@5->lin16u_gen]
  lin16u_gen_from_b5:
    // [103] phi (word*) lin16u_gen::lintab#10 = (const word[$14]) main::lintab3#0 [phi:main::@5->lin16u_gen#0] -- pwuz1=pwuc1 
    lda #<lintab3
    sta.z lin16u_gen.lintab
    lda #>lintab3
    sta.z lin16u_gen.lintab+1
    // [103] phi (word) lin16u_gen::min#3 = (byte) 0 [phi:main::@5->lin16u_gen#1] -- vwuz1=vbuc1 
    lda #<0
    sta.z lin16u_gen.min
    lda #>0
    sta.z lin16u_gen.min+1
    // [103] phi (word) lin16u_gen::max#3 = (word) $6488 [phi:main::@5->lin16u_gen#2] -- vwuz1=vwuc1 
    lda #<$6488
    sta.z lin16u_gen.max
    lda #>$6488
    sta.z lin16u_gen.max+1
    jsr lin16u_gen
    // [10] phi from main::@5 to main::@6 [phi:main::@5->main::@6]
  b6_from_b5:
    jmp b6
    // main::@6
  b6:
    // [11] call print_cls 
    // [94] phi from main::@6 to print_cls [phi:main::@6->print_cls]
  print_cls_from_b6:
    jsr print_cls
    // [12] phi from main::@6 to main::@7 [phi:main::@6->main::@7]
  b7_from_b6:
    jmp b7
    // main::@7
  b7:
    // [13] call print_str 
    // [87] phi from main::@7 to print_str [phi:main::@7->print_str]
  print_str_from_b7:
    // [87] phi (byte*) print_char_cursor#86 = (byte*) 1024 [phi:main::@7->print_str#0] -- pbuz1=pbuc1 
    lda #<$400
    sta.z print_char_cursor
    lda #>$400
    sta.z print_char_cursor+1
    // [87] phi (byte*) print_str::str#12 = (const string) main::str [phi:main::@7->print_str#1] -- pbuz1=pbuc1 
    lda #<str
    sta.z print_str.str
    lda #>str
    sta.z print_str.str+1
    jsr print_str
    // [14] phi from main::@7 to main::@8 [phi:main::@7->main::@8]
  b8_from_b7:
    jmp b8
    // main::@8
  b8:
    // [15] call print_word 
    // [69] phi from main::@8 to print_word [phi:main::@8->print_word]
  print_word_from_b8:
    // [69] phi (word) print_word::w#10 = (word) $22d [phi:main::@8->print_word#0] -- vwuz1=vwuc1 
    lda #<$22d
    sta.z print_word.w
    lda #>$22d
    sta.z print_word.w+1
    jsr print_word
    // [16] phi from main::@8 to main::@9 [phi:main::@8->main::@9]
  b9_from_b8:
    jmp b9
    // main::@9
  b9:
    // [17] call print_str 
    // [87] phi from main::@9 to print_str [phi:main::@9->print_str]
  print_str_from_b9:
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@9->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@9->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // [18] phi from main::@9 to main::@10 [phi:main::@9->main::@10]
  b10_from_b9:
    jmp b10
    // main::@10
  b10:
    // [19] call print_word 
    // [69] phi from main::@10 to print_word [phi:main::@10->print_word]
  print_word_from_b10:
    // [69] phi (word) print_word::w#10 = (word) $79cb [phi:main::@10->print_word#0] -- vwuz1=vwuc1 
    lda #<$79cb
    sta.z print_word.w
    lda #>$79cb
    sta.z print_word.w+1
    jsr print_word
    // [20] phi from main::@10 to main::@11 [phi:main::@10->main::@11]
  b11_from_b10:
    jmp b11
    // main::@11
  b11:
    // [21] call print_str 
    // [87] phi from main::@11 to print_str [phi:main::@11->print_str]
  print_str_from_b11:
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@11->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@11->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // [22] phi from main::@11 to main::@12 [phi:main::@11->main::@12]
  b12_from_b11:
    jmp b12
    // main::@12
  b12:
    // [23] call print_word 
    // [69] phi from main::@12 to print_word [phi:main::@12->print_word]
  print_word_from_b12:
    // [69] phi (word) print_word::w#10 = (byte) 0 [phi:main::@12->print_word#0] -- vwuz1=vbuc1 
    lda #<0
    sta.z print_word.w
    lda #>0
    sta.z print_word.w+1
    jsr print_word
    // [24] phi from main::@12 to main::@13 [phi:main::@12->main::@13]
  b13_from_b12:
    jmp b13
    // main::@13
  b13:
    // [25] call print_ln 
    // [64] phi from main::@13 to print_ln [phi:main::@13->print_ln]
  print_ln_from_b13:
    // [64] phi (byte*) print_line_cursor#21 = (byte*) 1024 [phi:main::@13->print_ln#0] -- pbuz1=pbuc1 
    lda #<$400
    sta.z print_line_cursor
    lda #>$400
    sta.z print_line_cursor+1
    jsr print_ln
    // [26] phi from main::@13 to main::@2 [phi:main::@13->main::@2]
  b2_from_b13:
    // [26] phi (byte) main::i#12 = (byte) 0 [phi:main::@13->main::@2#0] -- vbuz1=vbuc1 
    lda #0
    sta.z i
    jmp b2
    // [26] phi from main::@1 to main::@2 [phi:main::@1->main::@2]
  b2_from_b1:
    // [26] phi (byte) main::i#12 = (byte) main::i#1 [phi:main::@1->main::@2#0] -- register_copy 
    jmp b2
    // main::@2
  b2:
    // [27] (byte) print_byte::b#2 ← (byte) main::i#12 -- vbuz1=vbuz2 
    lda.z i
    sta.z print_byte.b
    // [28] (byte*~) print_char_cursor#102 ← (byte*) print_line_cursor#1 -- pbuz1=pbuz2 
    lda.z print_line_cursor
    sta.z print_char_cursor
    lda.z print_line_cursor+1
    sta.z print_char_cursor+1
    // [29] call print_byte 
    // [75] phi from main::@2 to print_byte [phi:main::@2->print_byte]
  print_byte_from_b2:
    // [75] phi (byte*) print_char_cursor#81 = (byte*~) print_char_cursor#102 [phi:main::@2->print_byte#0] -- register_copy 
    // [75] phi (byte) print_byte::b#3 = (byte) print_byte::b#2 [phi:main::@2->print_byte#1] -- register_copy 
    jsr print_byte
    // [30] phi from main::@2 to main::@14 [phi:main::@2->main::@14]
  b14_from_b2:
    jmp b14
    // main::@14
  b14:
    // [31] call print_str 
    // [87] phi from main::@14 to print_str [phi:main::@14->print_str]
  print_str_from_b14:
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@14->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@14->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    jmp b15
    // main::@15
  b15:
    // [32] (byte~) main::$27 ← (byte) main::i#12 << (byte) 1 -- vbuz1=vbuz2_rol_1 
    lda.z i
    asl
    sta.z _27
    // [33] (word) print_word::w#3 ← *((const word[$14]) main::lintab1#0 + (byte~) main::$27) -- vwuz1=pwuc1_derefidx_vbuz2 
    ldy.z _27
    lda lintab1,y
    sta.z print_word.w
    lda lintab1+1,y
    sta.z print_word.w+1
    // [34] call print_word 
    // [69] phi from main::@15 to print_word [phi:main::@15->print_word]
  print_word_from_b15:
    // [69] phi (word) print_word::w#10 = (word) print_word::w#3 [phi:main::@15->print_word#0] -- register_copy 
    jsr print_word
    // [35] phi from main::@15 to main::@16 [phi:main::@15->main::@16]
  b16_from_b15:
    jmp b16
    // main::@16
  b16:
    // [36] call print_str 
    // [87] phi from main::@16 to print_str [phi:main::@16->print_str]
  print_str_from_b16:
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@16->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@16->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    jmp b17
    // main::@17
  b17:
    // [37] (byte~) main::$28 ← (byte) main::i#12 << (byte) 1 -- vbuz1=vbuz2_rol_1 
    lda.z i
    asl
    sta.z _28
    // [38] (word) print_word::w#4 ← *((const word[$14]) main::lintab2#0 + (byte~) main::$28) -- vwuz1=pwuc1_derefidx_vbuz2 
    ldy.z _28
    lda lintab2,y
    sta.z print_word.w
    lda lintab2+1,y
    sta.z print_word.w+1
    // [39] call print_word 
    // [69] phi from main::@17 to print_word [phi:main::@17->print_word]
  print_word_from_b17:
    // [69] phi (word) print_word::w#10 = (word) print_word::w#4 [phi:main::@17->print_word#0] -- register_copy 
    jsr print_word
    // [40] phi from main::@17 to main::@18 [phi:main::@17->main::@18]
  b18_from_b17:
    jmp b18
    // main::@18
  b18:
    // [41] call print_str 
    // [87] phi from main::@18 to print_str [phi:main::@18->print_str]
  print_str_from_b18:
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@18->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@18->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    jmp b19
    // main::@19
  b19:
    // [42] (byte~) main::$29 ← (byte) main::i#12 << (byte) 1 -- vbuz1=vbuz2_rol_1 
    lda.z i
    asl
    sta.z _29
    // [43] (word) print_word::w#5 ← *((const word[$14]) main::lintab3#0 + (byte~) main::$29) -- vwuz1=pwuc1_derefidx_vbuz2 
    ldy.z _29
    lda lintab3,y
    sta.z print_word.w
    lda lintab3+1,y
    sta.z print_word.w+1
    // [44] call print_word 
    // [69] phi from main::@19 to print_word [phi:main::@19->print_word]
  print_word_from_b19:
    // [69] phi (word) print_word::w#10 = (word) print_word::w#5 [phi:main::@19->print_word#0] -- register_copy 
    jsr print_word
    // [45] phi from main::@19 to main::@20 [phi:main::@19->main::@20]
  b20_from_b19:
    jmp b20
    // main::@20
  b20:
    // [46] call print_ln 
    // [64] phi from main::@20 to print_ln [phi:main::@20->print_ln]
  print_ln_from_b20:
    // [64] phi (byte*) print_line_cursor#21 = (byte*) print_line_cursor#1 [phi:main::@20->print_ln#0] -- register_copy 
    jsr print_ln
    jmp b21
    // main::@21
  b21:
    // [47] (byte) main::i#1 ← ++ (byte) main::i#12 -- vbuz1=_inc_vbuz1 
    inc.z i
    jmp b1
    // main::@1
  b1:
    // [48] if((byte) main::i#1<(byte) $14) goto main::@2 -- vbuz1_lt_vbuc1_then_la1 
    lda.z i
    cmp #$14
    bcc b2_from_b1
    jmp b3
    // main::@3
  b3:
    // [49] (byte*~) print_char_cursor#99 ← (byte*) print_line_cursor#1 -- pbuz1=pbuz2 
    lda.z print_line_cursor
    sta.z print_char_cursor
    lda.z print_line_cursor+1
    sta.z print_char_cursor+1
    // [50] call print_str 
    // [87] phi from main::@3 to print_str [phi:main::@3->print_str]
  print_str_from_b3:
    // [87] phi (byte*) print_char_cursor#86 = (byte*~) print_char_cursor#99 [phi:main::@3->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str [phi:main::@3->print_str#1] -- pbuz1=pbuc1 
    lda #<str
    sta.z print_str.str
    lda #>str
    sta.z print_str.str+1
    jsr print_str
    // [51] phi from main::@3 to main::@22 [phi:main::@3->main::@22]
  b22_from_b3:
    jmp b22
    // main::@22
  b22:
    // [52] call print_word 
    // [69] phi from main::@22 to print_word [phi:main::@22->print_word]
  print_word_from_b22:
    // [69] phi (word) print_word::w#10 = (word) $7461 [phi:main::@22->print_word#0] -- vwuz1=vwuc1 
    lda #<$7461
    sta.z print_word.w
    lda #>$7461
    sta.z print_word.w+1
    jsr print_word
    // [53] phi from main::@22 to main::@23 [phi:main::@22->main::@23]
  b23_from_b22:
    jmp b23
    // main::@23
  b23:
    // [54] call print_str 
    // [87] phi from main::@23 to print_str [phi:main::@23->print_str]
  print_str_from_b23:
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@23->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@23->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // [55] phi from main::@23 to main::@24 [phi:main::@23->main::@24]
  b24_from_b23:
    jmp b24
    // main::@24
  b24:
    // [56] call print_word 
    // [69] phi from main::@24 to print_word [phi:main::@24->print_word]
  print_word_from_b24:
    // [69] phi (word) print_word::w#10 = (word) $f781 [phi:main::@24->print_word#0] -- vwuz1=vwuc1 
    lda #<$f781
    sta.z print_word.w
    lda #>$f781
    sta.z print_word.w+1
    jsr print_word
    // [57] phi from main::@24 to main::@25 [phi:main::@24->main::@25]
  b25_from_b24:
    jmp b25
    // main::@25
  b25:
    // [58] call print_str 
    // [87] phi from main::@25 to print_str [phi:main::@25->print_str]
  print_str_from_b25:
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@25->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@25->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // [59] phi from main::@25 to main::@26 [phi:main::@25->main::@26]
  b26_from_b25:
    jmp b26
    // main::@26
  b26:
    // [60] call print_word 
    // [69] phi from main::@26 to print_word [phi:main::@26->print_word]
  print_word_from_b26:
    // [69] phi (word) print_word::w#10 = (word) $6488 [phi:main::@26->print_word#0] -- vwuz1=vwuc1 
    lda #<$6488
    sta.z print_word.w
    lda #>$6488
    sta.z print_word.w+1
    jsr print_word
    // [61] phi from main::@26 to main::@27 [phi:main::@26->main::@27]
  b27_from_b26:
    jmp b27
    // main::@27
  b27:
    // [62] call print_ln 
    // [64] phi from main::@27 to print_ln [phi:main::@27->print_ln]
  print_ln_from_b27:
    // [64] phi (byte*) print_line_cursor#21 = (byte*) print_line_cursor#1 [phi:main::@27->print_ln#0] -- register_copy 
    jsr print_ln
    jmp breturn
    // main::@return
  breturn:
    // [63] return 
    rts
    str: .text "   "
    .byte 0
    str1: .text " "
    .byte 0
    lintab1: .fill 2*$14, 0
    lintab2: .fill 2*$14, 0
    lintab3: .fill 2*$14, 0
}
  // print_ln
// Print a newline
print_ln: {
    // [65] phi from print_ln print_ln::@1 to print_ln::@1 [phi:print_ln/print_ln::@1->print_ln::@1]
  b1_from_print_ln:
  b1_from_b1:
    // [65] phi (byte*) print_line_cursor#11 = (byte*) print_line_cursor#21 [phi:print_ln/print_ln::@1->print_ln::@1#0] -- register_copy 
    jmp b1
    // print_ln::@1
  b1:
    // [66] (byte*) print_line_cursor#1 ← (byte*) print_line_cursor#11 + (byte) $28 -- pbuz1=pbuz1_plus_vbuc1 
    lda #$28
    clc
    adc.z print_line_cursor
    sta.z print_line_cursor
    bcc !+
    inc.z print_line_cursor+1
  !:
    // [67] if((byte*) print_line_cursor#1<(byte*) print_char_cursor#11) goto print_ln::@1 -- pbuz1_lt_pbuz2_then_la1 
    lda.z print_line_cursor+1
    cmp.z print_char_cursor+1
    bcc b1_from_b1
    bne !+
    lda.z print_line_cursor
    cmp.z print_char_cursor
    bcc b1_from_b1
  !:
    jmp breturn
    // print_ln::@return
  breturn:
    // [68] return 
    rts
}
  // print_word
// Print a word as HEX
// print_word(word zeropage(5) w)
print_word: {
    .label w = 5
    // [70] (byte) print_byte::b#0 ← > (word) print_word::w#10 -- vbuz1=_hi_vwuz2 
    lda.z w+1
    sta.z print_byte.b
    // [71] call print_byte 
    // [75] phi from print_word to print_byte [phi:print_word->print_byte]
  print_byte_from_print_word:
    // [75] phi (byte*) print_char_cursor#81 = (byte*) print_char_cursor#2 [phi:print_word->print_byte#0] -- register_copy 
    // [75] phi (byte) print_byte::b#3 = (byte) print_byte::b#0 [phi:print_word->print_byte#1] -- register_copy 
    jsr print_byte
    jmp b1
    // print_word::@1
  b1:
    // [72] (byte) print_byte::b#1 ← < (word) print_word::w#10 -- vbuz1=_lo_vwuz2 
    lda.z w
    sta.z print_byte.b
    // [73] call print_byte 
    // [75] phi from print_word::@1 to print_byte [phi:print_word::@1->print_byte]
  print_byte_from_b1:
    // [75] phi (byte*) print_char_cursor#81 = (byte*) print_char_cursor#11 [phi:print_word::@1->print_byte#0] -- register_copy 
    // [75] phi (byte) print_byte::b#3 = (byte) print_byte::b#1 [phi:print_word::@1->print_byte#1] -- register_copy 
    jsr print_byte
    jmp breturn
    // print_word::@return
  breturn:
    // [74] return 
    rts
}
  // print_byte
// Print a byte as HEX
// print_byte(byte zeropage(7) b)
print_byte: {
    .label _0 = $27
    .label _2 = $28
    .label b = 7
    // [76] (byte~) print_byte::$0 ← (byte) print_byte::b#3 >> (byte) 4 -- vbuz1=vbuz2_ror_4 
    lda.z b
    lsr
    lsr
    lsr
    lsr
    sta.z _0
    // [77] (byte) print_char::ch#0 ← *((const byte[]) print_hextab#0 + (byte~) print_byte::$0) -- vbuz1=pbuc1_derefidx_vbuz2 
    ldy.z _0
    lda print_hextab,y
    sta.z print_char.ch
    // [78] call print_char 
    // [83] phi from print_byte to print_char [phi:print_byte->print_char]
  print_char_from_print_byte:
    // [83] phi (byte*) print_char_cursor#50 = (byte*) print_char_cursor#81 [phi:print_byte->print_char#0] -- register_copy 
    // [83] phi (byte) print_char::ch#2 = (byte) print_char::ch#0 [phi:print_byte->print_char#1] -- register_copy 
    jsr print_char
    jmp b1
    // print_byte::@1
  b1:
    // [79] (byte~) print_byte::$2 ← (byte) print_byte::b#3 & (byte) $f -- vbuz1=vbuz2_band_vbuc1 
    lda #$f
    and.z b
    sta.z _2
    // [80] (byte) print_char::ch#1 ← *((const byte[]) print_hextab#0 + (byte~) print_byte::$2) -- vbuz1=pbuc1_derefidx_vbuz2 
    ldy.z _2
    lda print_hextab,y
    sta.z print_char.ch
    // [81] call print_char 
    // [83] phi from print_byte::@1 to print_char [phi:print_byte::@1->print_char]
  print_char_from_b1:
    // [83] phi (byte*) print_char_cursor#50 = (byte*) print_char_cursor#11 [phi:print_byte::@1->print_char#0] -- register_copy 
    // [83] phi (byte) print_char::ch#2 = (byte) print_char::ch#1 [phi:print_byte::@1->print_char#1] -- register_copy 
    jsr print_char
    jmp breturn
    // print_byte::@return
  breturn:
    // [82] return 
    rts
}
  // print_char
// Print a single char
// print_char(byte zeropage(8) ch)
print_char: {
    .label ch = 8
    // [84] *((byte*) print_char_cursor#50) ← (byte) print_char::ch#2 -- _deref_pbuz1=vbuz2 
    lda.z ch
    ldy #0
    sta (print_char_cursor),y
    // [85] (byte*) print_char_cursor#11 ← ++ (byte*) print_char_cursor#50 -- pbuz1=_inc_pbuz1 
    inc.z print_char_cursor
    bne !+
    inc.z print_char_cursor+1
  !:
    jmp breturn
    // print_char::@return
  breturn:
    // [86] return 
    rts
}
  // print_str
// Print a zero-terminated string
// print_str(byte* zeropage($b) str)
print_str: {
    .label str = $b
    // [88] phi from print_str print_str::@2 to print_str::@1 [phi:print_str/print_str::@2->print_str::@1]
  b1_from_print_str:
  b1_from_b2:
    // [88] phi (byte*) print_char_cursor#2 = (byte*) print_char_cursor#86 [phi:print_str/print_str::@2->print_str::@1#0] -- register_copy 
    // [88] phi (byte*) print_str::str#10 = (byte*) print_str::str#12 [phi:print_str/print_str::@2->print_str::@1#1] -- register_copy 
    jmp b1
    // print_str::@1
  b1:
    // [89] if((byte) 0!=*((byte*) print_str::str#10)) goto print_str::@2 -- vbuc1_neq__deref_pbuz1_then_la1 
    ldy #0
    lda (str),y
    cmp #0
    bne b2
    jmp breturn
    // print_str::@return
  breturn:
    // [90] return 
    rts
    // print_str::@2
  b2:
    // [91] *((byte*) print_char_cursor#2) ← *((byte*) print_str::str#10) -- _deref_pbuz1=_deref_pbuz2 
    ldy #0
    lda (str),y
    ldy #0
    sta (print_char_cursor),y
    // [92] (byte*) print_char_cursor#1 ← ++ (byte*) print_char_cursor#2 -- pbuz1=_inc_pbuz1 
    inc.z print_char_cursor
    bne !+
    inc.z print_char_cursor+1
  !:
    // [93] (byte*) print_str::str#0 ← ++ (byte*) print_str::str#10 -- pbuz1=_inc_pbuz1 
    inc.z str
    bne !+
    inc.z str+1
  !:
    jmp b1_from_b2
}
  // print_cls
// Clear the screen. Also resets current line/char cursor.
print_cls: {
    // [95] call memset 
    // [97] phi from print_cls to memset [phi:print_cls->memset]
  memset_from_print_cls:
    jsr memset
    jmp breturn
    // print_cls::@return
  breturn:
    // [96] return 
    rts
}
  // memset
// Copies the character c (an unsigned char) to the first num characters of the object pointed to by the argument str.
memset: {
    .const c = ' '
    .const num = $3e8
    .label str = $400
    .label end = str+num
    .label dst = $d
    // [98] phi from memset to memset::@2 [phi:memset->memset::@2]
  b2_from_memset:
    // [98] phi (byte*) memset::dst#4 = (byte*)(const void*) memset::str#0 [phi:memset->memset::@2#0] -- pbuz1=pbuc1 
    lda #<str
    sta.z dst
    lda #>str
    sta.z dst+1
    jmp b2
    // [98] phi from memset::@1 to memset::@2 [phi:memset::@1->memset::@2]
  b2_from_b1:
    // [98] phi (byte*) memset::dst#4 = (byte*) memset::dst#1 [phi:memset::@1->memset::@2#0] -- register_copy 
    jmp b2
    // memset::@2
  b2:
    // [99] *((byte*) memset::dst#4) ← (const byte) memset::c#0 -- _deref_pbuz1=vbuc1 
    lda #c
    ldy #0
    sta (dst),y
    // [100] (byte*) memset::dst#1 ← ++ (byte*) memset::dst#4 -- pbuz1=_inc_pbuz1 
    inc.z dst
    bne !+
    inc.z dst+1
  !:
    jmp b1
    // memset::@1
  b1:
    // [101] if((byte*) memset::dst#1!=(const byte*) memset::end#0) goto memset::@2 -- pbuz1_neq_pbuc1_then_la1 
    lda.z dst+1
    cmp #>end
    bne b2_from_b1
    lda.z dst
    cmp #<end
    bne b2_from_b1
    jmp breturn
    // memset::@return
  breturn:
    // [102] return 
    rts
}
  // lin16u_gen
// Generate word linear table
// lintab - the table to generate into
// length - the number of points in a total sinus wavelength (the size of the table)
// lin16u_gen(word zeropage($11) min, word zeropage($f) max, word* zeropage($19) lintab)
lin16u_gen: {
    .label _6 = $37
    .label ampl = $29
    .label stepi = $2d
    .label stepf = $31
    .label step = $33
    .label val = $15
    .label lintab = $19
    .label i = $13
    .label max = $f
    .label min = $11
    // [104] (word) lin16u_gen::ampl#0 ← (word) lin16u_gen::max#3 - (word) lin16u_gen::min#3 -- vwuz1=vwuz2_minus_vwuz3 
    lda.z max
    sec
    sbc.z min
    sta.z ampl
    lda.z max+1
    sbc.z min+1
    sta.z ampl+1
    // [105] (word) divr16u::dividend#1 ← (word) lin16u_gen::ampl#0 -- vwuz1=vwuz2 
    lda.z ampl
    sta.z divr16u.dividend
    lda.z ampl+1
    sta.z divr16u.dividend+1
    // [106] call divr16u 
    // [123] phi from lin16u_gen to divr16u [phi:lin16u_gen->divr16u]
  divr16u_from_lin16u_gen:
    // [123] phi (word) divr16u::divisor#6 = (byte) $14-(byte) 1 [phi:lin16u_gen->divr16u#0] -- vwuz1=vbuc1 
    lda #<$14-1
    sta.z divr16u.divisor
    lda #>$14-1
    sta.z divr16u.divisor+1
    // [123] phi (word) divr16u::dividend#5 = (word) divr16u::dividend#1 [phi:lin16u_gen->divr16u#1] -- register_copy 
    // [123] phi (word) divr16u::rem#10 = (byte) 0 [phi:lin16u_gen->divr16u#2] -- vwuz1=vbuc1 
    lda #<0
    sta.z divr16u.rem
    lda #>0
    sta.z divr16u.rem+1
    jsr divr16u
    // [107] (word) divr16u::return#2 ← (word) divr16u::return#0 -- vwuz1=vwuz2 
    lda.z divr16u.return
    sta.z divr16u.return_2
    lda.z divr16u.return+1
    sta.z divr16u.return_2+1
    jmp b3
    // lin16u_gen::@3
  b3:
    // [108] (word) lin16u_gen::stepi#0 ← (word) divr16u::return#2 -- vwuz1=vwuz2 
    lda.z divr16u.return_2
    sta.z stepi
    lda.z divr16u.return_2+1
    sta.z stepi+1
    // [109] (word) divr16u::rem#4 ← (word) rem16u#1 -- vwuz1=vwuz2 
    lda.z rem16u
    sta.z divr16u.rem
    lda.z rem16u+1
    sta.z divr16u.rem+1
    // [110] call divr16u 
    // [123] phi from lin16u_gen::@3 to divr16u [phi:lin16u_gen::@3->divr16u]
  divr16u_from_b3:
    // [123] phi (word) divr16u::divisor#6 = (byte) $14-(byte) 1 [phi:lin16u_gen::@3->divr16u#0] -- vwuz1=vbuc1 
    lda #<$14-1
    sta.z divr16u.divisor
    lda #>$14-1
    sta.z divr16u.divisor+1
    // [123] phi (word) divr16u::dividend#5 = (byte) 0 [phi:lin16u_gen::@3->divr16u#1] -- vwuz1=vbuc1 
    lda #<0
    sta.z divr16u.dividend
    lda #>0
    sta.z divr16u.dividend+1
    // [123] phi (word) divr16u::rem#10 = (word) divr16u::rem#4 [phi:lin16u_gen::@3->divr16u#2] -- register_copy 
    jsr divr16u
    // [111] (word) divr16u::return#3 ← (word) divr16u::return#0 -- vwuz1=vwuz2 
    lda.z divr16u.return
    sta.z divr16u.return_3
    lda.z divr16u.return+1
    sta.z divr16u.return_3+1
    jmp b4
    // lin16u_gen::@4
  b4:
    // [112] (word) lin16u_gen::stepf#0 ← (word) divr16u::return#3 -- vwuz1=vwuz2 
    lda.z divr16u.return_3
    sta.z stepf
    lda.z divr16u.return_3+1
    sta.z stepf+1
    // [113] (dword) lin16u_gen::step#0 ← (word) lin16u_gen::stepi#0 dw= (word) lin16u_gen::stepf#0 -- vduz1=vwuz2_dword_vwuz3 
    lda.z stepi
    sta.z step+2
    lda.z stepi+1
    sta.z step+3
    lda.z stepf
    sta.z step
    lda.z stepf+1
    sta.z step+1
    // [114] (dword) lin16u_gen::val#0 ← (word) lin16u_gen::min#3 dw= (word) 0 -- vduz1=vwuz2_dword_vwuc1 
    lda #<0
    sta.z val
    lda #>0
    sta.z val+1
    lda.z min
    sta.z val+2
    lda.z min+1
    sta.z val+3
    // [115] phi from lin16u_gen::@4 to lin16u_gen::@2 [phi:lin16u_gen::@4->lin16u_gen::@2]
  b2_from_b4:
    // [115] phi (word*) lin16u_gen::lintab#9 = (word*) lin16u_gen::lintab#10 [phi:lin16u_gen::@4->lin16u_gen::@2#0] -- register_copy 
    // [115] phi (dword) lin16u_gen::val#4 = (dword) lin16u_gen::val#0 [phi:lin16u_gen::@4->lin16u_gen::@2#1] -- register_copy 
    // [115] phi (word) lin16u_gen::i#4 = (byte) 0 [phi:lin16u_gen::@4->lin16u_gen::@2#2] -- vwuz1=vbuc1 
    lda #<0
    sta.z i
    lda #>0
    sta.z i+1
    jmp b2
    // [115] phi from lin16u_gen::@1 to lin16u_gen::@2 [phi:lin16u_gen::@1->lin16u_gen::@2]
  b2_from_b1:
    // [115] phi (word*) lin16u_gen::lintab#9 = (word*) lin16u_gen::lintab#3 [phi:lin16u_gen::@1->lin16u_gen::@2#0] -- register_copy 
    // [115] phi (dword) lin16u_gen::val#4 = (dword) lin16u_gen::val#1 [phi:lin16u_gen::@1->lin16u_gen::@2#1] -- register_copy 
    // [115] phi (word) lin16u_gen::i#4 = (word) lin16u_gen::i#1 [phi:lin16u_gen::@1->lin16u_gen::@2#2] -- register_copy 
    jmp b2
    // lin16u_gen::@2
  b2:
    // [116] (word~) lin16u_gen::$6 ← > (dword) lin16u_gen::val#4 -- vwuz1=_hi_vduz2 
    lda.z val+2
    sta.z _6
    lda.z val+3
    sta.z _6+1
    // [117] *((word*) lin16u_gen::lintab#9) ← (word~) lin16u_gen::$6 -- _deref_pwuz1=vwuz2 
    ldy #0
    lda.z _6
    sta (lintab),y
    iny
    lda.z _6+1
    sta (lintab),y
    // [118] (dword) lin16u_gen::val#1 ← (dword) lin16u_gen::val#4 + (dword) lin16u_gen::step#0 -- vduz1=vduz1_plus_vduz2 
    lda.z val
    clc
    adc.z step
    sta.z val
    lda.z val+1
    adc.z step+1
    sta.z val+1
    lda.z val+2
    adc.z step+2
    sta.z val+2
    lda.z val+3
    adc.z step+3
    sta.z val+3
    // [119] (word*) lin16u_gen::lintab#3 ← (word*) lin16u_gen::lintab#9 + (const byte) SIZEOF_WORD -- pwuz1=pwuz1_plus_vbuc1 
    lda #SIZEOF_WORD
    clc
    adc.z lintab
    sta.z lintab
    bcc !+
    inc.z lintab+1
  !:
    // [120] (word) lin16u_gen::i#1 ← ++ (word) lin16u_gen::i#4 -- vwuz1=_inc_vwuz1 
    inc.z i
    bne !+
    inc.z i+1
  !:
    jmp b1
    // lin16u_gen::@1
  b1:
    // [121] if((word) lin16u_gen::i#1<(byte) $14) goto lin16u_gen::@2 -- vwuz1_lt_vbuc1_then_la1 
    lda.z i+1
    cmp #>$14
    bcc b2_from_b1
    bne !+
    lda.z i
    cmp #<$14
    bcc b2_from_b1
  !:
    jmp breturn
    // lin16u_gen::@return
  breturn:
    // [122] return 
    rts
}
  // divr16u
// Performs division on two 16 bit unsigned words and an initial remainder
// Returns the quotient dividend/divisor.
// The final remainder will be set into the global variable rem16u
// Implemented using simple binary division
// divr16u(word zeropage($1f) dividend, word zeropage($1b) divisor, word zeropage($1d) rem)
divr16u: {
    .label _1 = $39
    .label _2 = $3a
    .label rem = $1d
    .label dividend = $1f
    .label quotient = $21
    .label i = $23
    .label return = $21
    .label return_2 = $2b
    .label return_3 = $2f
    .label divisor = $1b
    // [124] phi from divr16u to divr16u::@1 [phi:divr16u->divr16u::@1]
  b1_from_divr16u:
    // [124] phi (byte) divr16u::i#2 = (byte) 0 [phi:divr16u->divr16u::@1#0] -- vbuz1=vbuc1 
    lda #0
    sta.z i
    // [124] phi (word) divr16u::quotient#3 = (byte) 0 [phi:divr16u->divr16u::@1#1] -- vwuz1=vbuc1 
    lda #<0
    sta.z quotient
    lda #>0
    sta.z quotient+1
    // [124] phi (word) divr16u::dividend#3 = (word) divr16u::dividend#5 [phi:divr16u->divr16u::@1#2] -- register_copy 
    // [124] phi (word) divr16u::rem#5 = (word) divr16u::rem#10 [phi:divr16u->divr16u::@1#3] -- register_copy 
    jmp b1
    // [124] phi from divr16u::@3 to divr16u::@1 [phi:divr16u::@3->divr16u::@1]
  b1_from_b3:
    // [124] phi (byte) divr16u::i#2 = (byte) divr16u::i#1 [phi:divr16u::@3->divr16u::@1#0] -- register_copy 
    // [124] phi (word) divr16u::quotient#3 = (word) divr16u::return#0 [phi:divr16u::@3->divr16u::@1#1] -- register_copy 
    // [124] phi (word) divr16u::dividend#3 = (word) divr16u::dividend#0 [phi:divr16u::@3->divr16u::@1#2] -- register_copy 
    // [124] phi (word) divr16u::rem#5 = (word) divr16u::rem#11 [phi:divr16u::@3->divr16u::@1#3] -- register_copy 
    jmp b1
    // divr16u::@1
  b1:
    // [125] (word) divr16u::rem#0 ← (word) divr16u::rem#5 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z rem
    rol.z rem+1
    // [126] (byte~) divr16u::$1 ← > (word) divr16u::dividend#3 -- vbuz1=_hi_vwuz2 
    lda.z dividend+1
    sta.z _1
    // [127] (byte~) divr16u::$2 ← (byte~) divr16u::$1 & (byte) $80 -- vbuz1=vbuz2_band_vbuc1 
    lda #$80
    and.z _1
    sta.z _2
    // [128] if((byte~) divr16u::$2==(byte) 0) goto divr16u::@2 -- vbuz1_eq_0_then_la1 
    lda.z _2
    cmp #0
    beq b2_from_b1
    jmp b4
    // divr16u::@4
  b4:
    // [129] (word) divr16u::rem#1 ← (word) divr16u::rem#0 | (byte) 1 -- vwuz1=vwuz1_bor_vbuc1 
    lda #1
    ora.z rem
    sta.z rem
    // [130] phi from divr16u::@1 divr16u::@4 to divr16u::@2 [phi:divr16u::@1/divr16u::@4->divr16u::@2]
  b2_from_b1:
  b2_from_b4:
    // [130] phi (word) divr16u::rem#6 = (word) divr16u::rem#0 [phi:divr16u::@1/divr16u::@4->divr16u::@2#0] -- register_copy 
    jmp b2
    // divr16u::@2
  b2:
    // [131] (word) divr16u::dividend#0 ← (word) divr16u::dividend#3 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z dividend
    rol.z dividend+1
    // [132] (word) divr16u::quotient#1 ← (word) divr16u::quotient#3 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z quotient
    rol.z quotient+1
    // [133] if((word) divr16u::rem#6<(word) divr16u::divisor#6) goto divr16u::@3 -- vwuz1_lt_vwuz2_then_la1 
    lda.z rem+1
    cmp.z divisor+1
    bcc b3_from_b2
    bne !+
    lda.z rem
    cmp.z divisor
    bcc b3_from_b2
  !:
    jmp b5
    // divr16u::@5
  b5:
    // [134] (word) divr16u::quotient#2 ← ++ (word) divr16u::quotient#1 -- vwuz1=_inc_vwuz1 
    inc.z quotient
    bne !+
    inc.z quotient+1
  !:
    // [135] (word) divr16u::rem#2 ← (word) divr16u::rem#6 - (word) divr16u::divisor#6 -- vwuz1=vwuz1_minus_vwuz2 
    lda.z rem
    sec
    sbc.z divisor
    sta.z rem
    lda.z rem+1
    sbc.z divisor+1
    sta.z rem+1
    // [136] phi from divr16u::@2 divr16u::@5 to divr16u::@3 [phi:divr16u::@2/divr16u::@5->divr16u::@3]
  b3_from_b2:
  b3_from_b5:
    // [136] phi (word) divr16u::return#0 = (word) divr16u::quotient#1 [phi:divr16u::@2/divr16u::@5->divr16u::@3#0] -- register_copy 
    // [136] phi (word) divr16u::rem#11 = (word) divr16u::rem#6 [phi:divr16u::@2/divr16u::@5->divr16u::@3#1] -- register_copy 
    jmp b3
    // divr16u::@3
  b3:
    // [137] (byte) divr16u::i#1 ← ++ (byte) divr16u::i#2 -- vbuz1=_inc_vbuz1 
    inc.z i
    // [138] if((byte) divr16u::i#1!=(byte) $10) goto divr16u::@1 -- vbuz1_neq_vbuc1_then_la1 
    lda #$10
    cmp.z i
    bne b1_from_b3
    jmp b6
    // divr16u::@6
  b6:
    // [139] (word) rem16u#1 ← (word) divr16u::rem#11 -- vwuz1=vwuz2 
    lda.z rem
    sta.z rem16u
    lda.z rem+1
    sta.z rem16u+1
    jmp breturn
    // divr16u::@return
  breturn:
    // [140] return 
    rts
}
  // File Data
  print_hextab: .text "0123456789abcdef"

REGISTER UPLIFT POTENTIAL REGISTERS
Statement [28] (byte*~) print_char_cursor#102 ← (byte*) print_line_cursor#1 [ main::i#12 print_byte::b#2 print_char_cursor#102 print_line_cursor#1 ] ( main:2 [ main::i#12 print_byte::b#2 print_char_cursor#102 print_line_cursor#1 ] ) always clobbers reg byte a 
Removing always clobbered register reg byte a as potential for zp ZP_BYTE:2 [ main::i#12 main::i#1 ]
Removing always clobbered register reg byte a as potential for zp ZP_BYTE:7 [ print_byte::b#3 print_byte::b#2 print_byte::b#0 print_byte::b#1 ]
Statement [32] (byte~) main::$27 ← (byte) main::i#12 << (byte) 1 [ main::i#12 print_line_cursor#1 main::$27 print_char_cursor#2 ] ( main:2 [ main::i#12 print_line_cursor#1 main::$27 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [33] (word) print_word::w#3 ← *((const word[$14]) main::lintab1#0 + (byte~) main::$27) [ main::i#12 print_line_cursor#1 print_word::w#3 print_char_cursor#2 ] ( main:2 [ main::i#12 print_line_cursor#1 print_word::w#3 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [37] (byte~) main::$28 ← (byte) main::i#12 << (byte) 1 [ main::i#12 print_line_cursor#1 main::$28 print_char_cursor#2 ] ( main:2 [ main::i#12 print_line_cursor#1 main::$28 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [38] (word) print_word::w#4 ← *((const word[$14]) main::lintab2#0 + (byte~) main::$28) [ main::i#12 print_line_cursor#1 print_word::w#4 print_char_cursor#2 ] ( main:2 [ main::i#12 print_line_cursor#1 print_word::w#4 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [42] (byte~) main::$29 ← (byte) main::i#12 << (byte) 1 [ main::i#12 print_line_cursor#1 main::$29 print_char_cursor#2 ] ( main:2 [ main::i#12 print_line_cursor#1 main::$29 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [43] (word) print_word::w#5 ← *((const word[$14]) main::lintab3#0 + (byte~) main::$29) [ main::i#12 print_line_cursor#1 print_word::w#5 print_char_cursor#2 ] ( main:2 [ main::i#12 print_line_cursor#1 print_word::w#5 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [49] (byte*~) print_char_cursor#99 ← (byte*) print_line_cursor#1 [ print_line_cursor#1 print_char_cursor#99 ] ( main:2 [ print_line_cursor#1 print_char_cursor#99 ] ) always clobbers reg byte a 
Statement [66] (byte*) print_line_cursor#1 ← (byte*) print_line_cursor#11 + (byte) $28 [ print_line_cursor#1 print_char_cursor#11 ] ( main:2::print_ln:25 [ print_line_cursor#1 print_char_cursor#11 ] main:2::print_ln:46 [ main::i#12 print_line_cursor#1 print_char_cursor#11 ] main:2::print_ln:62 [ print_line_cursor#1 print_char_cursor#11 ] ) always clobbers reg byte a 
Statement [67] if((byte*) print_line_cursor#1<(byte*) print_char_cursor#11) goto print_ln::@1 [ print_line_cursor#1 print_char_cursor#11 ] ( main:2::print_ln:25 [ print_line_cursor#1 print_char_cursor#11 ] main:2::print_ln:46 [ main::i#12 print_line_cursor#1 print_char_cursor#11 ] main:2::print_ln:62 [ print_line_cursor#1 print_char_cursor#11 ] ) always clobbers reg byte a 
Statement [70] (byte) print_byte::b#0 ← > (word) print_word::w#10 [ print_word::w#10 print_byte::b#0 print_char_cursor#2 ] ( main:2::print_word:15 [ print_word::w#10 print_byte::b#0 print_char_cursor#2 ] main:2::print_word:19 [ print_word::w#10 print_byte::b#0 print_char_cursor#2 ] main:2::print_word:23 [ print_word::w#10 print_byte::b#0 print_char_cursor#2 ] main:2::print_word:34 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#0 print_char_cursor#2 ] main:2::print_word:39 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#0 print_char_cursor#2 ] main:2::print_word:44 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#0 print_char_cursor#2 ] main:2::print_word:52 [ print_line_cursor#1 print_word::w#10 print_byte::b#0 print_char_cursor#2 ] main:2::print_word:56 [ print_line_cursor#1 print_word::w#10 print_byte::b#0 print_char_cursor#2 ] main:2::print_word:60 [ print_line_cursor#1 print_word::w#10 print_byte::b#0 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [72] (byte) print_byte::b#1 ← < (word) print_word::w#10 [ print_char_cursor#11 print_byte::b#1 ] ( main:2::print_word:15 [ print_char_cursor#11 print_byte::b#1 ] main:2::print_word:19 [ print_char_cursor#11 print_byte::b#1 ] main:2::print_word:23 [ print_char_cursor#11 print_byte::b#1 ] main:2::print_word:34 [ main::i#12 print_line_cursor#1 print_char_cursor#11 print_byte::b#1 ] main:2::print_word:39 [ main::i#12 print_line_cursor#1 print_char_cursor#11 print_byte::b#1 ] main:2::print_word:44 [ main::i#12 print_line_cursor#1 print_char_cursor#11 print_byte::b#1 ] main:2::print_word:52 [ print_line_cursor#1 print_char_cursor#11 print_byte::b#1 ] main:2::print_word:56 [ print_line_cursor#1 print_char_cursor#11 print_byte::b#1 ] main:2::print_word:60 [ print_line_cursor#1 print_char_cursor#11 print_byte::b#1 ] ) always clobbers reg byte a 
Statement [76] (byte~) print_byte::$0 ← (byte) print_byte::b#3 >> (byte) 4 [ print_byte::b#3 print_char_cursor#81 print_byte::$0 ] ( main:2::print_byte:29 [ main::i#12 print_line_cursor#1 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:15::print_byte:71 [ print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:19::print_byte:71 [ print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:23::print_byte:71 [ print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:34::print_byte:71 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:39::print_byte:71 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:44::print_byte:71 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:52::print_byte:71 [ print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:56::print_byte:71 [ print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:60::print_byte:71 [ print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:15::print_byte:73 [ print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:19::print_byte:73 [ print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:23::print_byte:73 [ print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:34::print_byte:73 [ main::i#12 print_line_cursor#1 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:39::print_byte:73 [ main::i#12 print_line_cursor#1 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:44::print_byte:73 [ main::i#12 print_line_cursor#1 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:52::print_byte:73 [ print_line_cursor#1 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:56::print_byte:73 [ print_line_cursor#1 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:60::print_byte:73 [ print_line_cursor#1 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] ) always clobbers reg byte a 
Statement [79] (byte~) print_byte::$2 ← (byte) print_byte::b#3 & (byte) $f [ print_char_cursor#11 print_byte::$2 ] ( main:2::print_byte:29 [ main::i#12 print_line_cursor#1 print_char_cursor#11 print_byte::$2 ] main:2::print_word:15::print_byte:71 [ print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:19::print_byte:71 [ print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:23::print_byte:71 [ print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:34::print_byte:71 [ main::i#12 print_line_cursor#1 print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:39::print_byte:71 [ main::i#12 print_line_cursor#1 print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:44::print_byte:71 [ main::i#12 print_line_cursor#1 print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:52::print_byte:71 [ print_line_cursor#1 print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:56::print_byte:71 [ print_line_cursor#1 print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:60::print_byte:71 [ print_line_cursor#1 print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:15::print_byte:73 [ print_char_cursor#11 print_byte::$2 ] main:2::print_word:19::print_byte:73 [ print_char_cursor#11 print_byte::$2 ] main:2::print_word:23::print_byte:73 [ print_char_cursor#11 print_byte::$2 ] main:2::print_word:34::print_byte:73 [ main::i#12 print_line_cursor#1 print_char_cursor#11 print_byte::$2 ] main:2::print_word:39::print_byte:73 [ main::i#12 print_line_cursor#1 print_char_cursor#11 print_byte::$2 ] main:2::print_word:44::print_byte:73 [ main::i#12 print_line_cursor#1 print_char_cursor#11 print_byte::$2 ] main:2::print_word:52::print_byte:73 [ print_line_cursor#1 print_char_cursor#11 print_byte::$2 ] main:2::print_word:56::print_byte:73 [ print_line_cursor#1 print_char_cursor#11 print_byte::$2 ] main:2::print_word:60::print_byte:73 [ print_line_cursor#1 print_char_cursor#11 print_byte::$2 ] ) always clobbers reg byte a 
Statement [84] *((byte*) print_char_cursor#50) ← (byte) print_char::ch#2 [ print_char_cursor#50 ] ( main:2::print_byte:29::print_char:78 [ main::i#12 print_line_cursor#1 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:15::print_byte:71::print_char:78 [ print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:19::print_byte:71::print_char:78 [ print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:23::print_byte:71::print_char:78 [ print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:34::print_byte:71::print_char:78 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:39::print_byte:71::print_char:78 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:44::print_byte:71::print_char:78 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:52::print_byte:71::print_char:78 [ print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:56::print_byte:71::print_char:78 [ print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:60::print_byte:71::print_char:78 [ print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:15::print_byte:73::print_char:78 [ print_byte::b#3 print_char_cursor#50 ] main:2::print_word:19::print_byte:73::print_char:78 [ print_byte::b#3 print_char_cursor#50 ] main:2::print_word:23::print_byte:73::print_char:78 [ print_byte::b#3 print_char_cursor#50 ] main:2::print_word:34::print_byte:73::print_char:78 [ main::i#12 print_line_cursor#1 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:39::print_byte:73::print_char:78 [ main::i#12 print_line_cursor#1 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:44::print_byte:73::print_char:78 [ main::i#12 print_line_cursor#1 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:52::print_byte:73::print_char:78 [ print_line_cursor#1 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:56::print_byte:73::print_char:78 [ print_line_cursor#1 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:60::print_byte:73::print_char:78 [ print_line_cursor#1 print_byte::b#3 print_char_cursor#50 ] main:2::print_byte:29::print_char:81 [ main::i#12 print_line_cursor#1 print_char_cursor#50 ] main:2::print_word:15::print_byte:71::print_char:81 [ print_word::w#10 print_char_cursor#50 ] main:2::print_word:19::print_byte:71::print_char:81 [ print_word::w#10 print_char_cursor#50 ] main:2::print_word:23::print_byte:71::print_char:81 [ print_word::w#10 print_char_cursor#50 ] main:2::print_word:34::print_byte:71::print_char:81 [ main::i#12 print_line_cursor#1 print_word::w#10 print_char_cursor#50 ] main:2::print_word:39::print_byte:71::print_char:81 [ main::i#12 print_line_cursor#1 print_word::w#10 print_char_cursor#50 ] main:2::print_word:44::print_byte:71::print_char:81 [ main::i#12 print_line_cursor#1 print_word::w#10 print_char_cursor#50 ] main:2::print_word:52::print_byte:71::print_char:81 [ print_line_cursor#1 print_word::w#10 print_char_cursor#50 ] main:2::print_word:56::print_byte:71::print_char:81 [ print_line_cursor#1 print_word::w#10 print_char_cursor#50 ] main:2::print_word:60::print_byte:71::print_char:81 [ print_line_cursor#1 print_word::w#10 print_char_cursor#50 ] main:2::print_word:15::print_byte:73::print_char:81 [ print_char_cursor#50 ] main:2::print_word:19::print_byte:73::print_char:81 [ print_char_cursor#50 ] main:2::print_word:23::print_byte:73::print_char:81 [ print_char_cursor#50 ] main:2::print_word:34::print_byte:73::print_char:81 [ main::i#12 print_line_cursor#1 print_char_cursor#50 ] main:2::print_word:39::print_byte:73::print_char:81 [ main::i#12 print_line_cursor#1 print_char_cursor#50 ] main:2::print_word:44::print_byte:73::print_char:81 [ main::i#12 print_line_cursor#1 print_char_cursor#50 ] main:2::print_word:52::print_byte:73::print_char:81 [ print_line_cursor#1 print_char_cursor#50 ] main:2::print_word:56::print_byte:73::print_char:81 [ print_line_cursor#1 print_char_cursor#50 ] main:2::print_word:60::print_byte:73::print_char:81 [ print_line_cursor#1 print_char_cursor#50 ] ) always clobbers reg byte y 
Removing always clobbered register reg byte y as potential for zp ZP_BYTE:2 [ main::i#12 main::i#1 ]
Removing always clobbered register reg byte y as potential for zp ZP_BYTE:7 [ print_byte::b#3 print_byte::b#2 print_byte::b#0 print_byte::b#1 ]
Statement [89] if((byte) 0!=*((byte*) print_str::str#10)) goto print_str::@2 [ print_char_cursor#2 print_str::str#10 ] ( main:2::print_str:13 [ print_char_cursor#2 print_str::str#10 ] main:2::print_str:17 [ print_char_cursor#2 print_str::str#10 ] main:2::print_str:21 [ print_char_cursor#2 print_str::str#10 ] main:2::print_str:31 [ main::i#12 print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:36 [ main::i#12 print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:41 [ main::i#12 print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:50 [ print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:54 [ print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:58 [ print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] ) always clobbers reg byte a reg byte y 
Statement [91] *((byte*) print_char_cursor#2) ← *((byte*) print_str::str#10) [ print_char_cursor#2 print_str::str#10 ] ( main:2::print_str:13 [ print_char_cursor#2 print_str::str#10 ] main:2::print_str:17 [ print_char_cursor#2 print_str::str#10 ] main:2::print_str:21 [ print_char_cursor#2 print_str::str#10 ] main:2::print_str:31 [ main::i#12 print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:36 [ main::i#12 print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:41 [ main::i#12 print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:50 [ print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:54 [ print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:58 [ print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] ) always clobbers reg byte a reg byte y 
Statement [99] *((byte*) memset::dst#4) ← (const byte) memset::c#0 [ memset::dst#4 ] ( main:2::print_cls:11::memset:95 [ memset::dst#4 ] ) always clobbers reg byte a reg byte y 
Statement [101] if((byte*) memset::dst#1!=(const byte*) memset::end#0) goto memset::@2 [ memset::dst#1 ] ( main:2::print_cls:11::memset:95 [ memset::dst#1 ] ) always clobbers reg byte a 
Statement [104] (word) lin16u_gen::ampl#0 ← (word) lin16u_gen::max#3 - (word) lin16u_gen::min#3 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::ampl#0 ] ( main:2::lin16u_gen:5 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::ampl#0 ] main:2::lin16u_gen:7 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::ampl#0 ] main:2::lin16u_gen:9 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::ampl#0 ] ) always clobbers reg byte a 
Statement [105] (word) divr16u::dividend#1 ← (word) lin16u_gen::ampl#0 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::dividend#1 ] ( main:2::lin16u_gen:5 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::dividend#1 ] main:2::lin16u_gen:7 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::dividend#1 ] main:2::lin16u_gen:9 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::dividend#1 ] ) always clobbers reg byte a 
Statement [107] (word) divr16u::return#2 ← (word) divr16u::return#0 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::return#2 rem16u#1 ] ( main:2::lin16u_gen:5 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::return#2 rem16u#1 ] main:2::lin16u_gen:7 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::return#2 rem16u#1 ] main:2::lin16u_gen:9 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::return#2 rem16u#1 ] ) always clobbers reg byte a 
Statement [108] (word) lin16u_gen::stepi#0 ← (word) divr16u::return#2 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 rem16u#1 ] ( main:2::lin16u_gen:5 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 rem16u#1 ] main:2::lin16u_gen:7 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 rem16u#1 ] main:2::lin16u_gen:9 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 rem16u#1 ] ) always clobbers reg byte a 
Statement [109] (word) divr16u::rem#4 ← (word) rem16u#1 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::rem#4 ] ( main:2::lin16u_gen:5 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::rem#4 ] main:2::lin16u_gen:7 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::rem#4 ] main:2::lin16u_gen:9 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::rem#4 ] ) always clobbers reg byte a 
Statement [111] (word) divr16u::return#3 ← (word) divr16u::return#0 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::return#3 ] ( main:2::lin16u_gen:5 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::return#3 ] main:2::lin16u_gen:7 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::return#3 ] main:2::lin16u_gen:9 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::return#3 ] ) always clobbers reg byte a 
Statement [112] (word) lin16u_gen::stepf#0 ← (word) divr16u::return#3 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 lin16u_gen::stepf#0 ] ( main:2::lin16u_gen:5 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 lin16u_gen::stepf#0 ] main:2::lin16u_gen:7 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 lin16u_gen::stepf#0 ] main:2::lin16u_gen:9 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 lin16u_gen::stepf#0 ] ) always clobbers reg byte a 
Statement [113] (dword) lin16u_gen::step#0 ← (word) lin16u_gen::stepi#0 dw= (word) lin16u_gen::stepf#0 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::step#0 ] ( main:2::lin16u_gen:5 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::step#0 ] main:2::lin16u_gen:7 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::step#0 ] main:2::lin16u_gen:9 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::step#0 ] ) always clobbers reg byte a 
Statement [114] (dword) lin16u_gen::val#0 ← (word) lin16u_gen::min#3 dw= (word) 0 [ lin16u_gen::lintab#10 lin16u_gen::step#0 lin16u_gen::val#0 ] ( main:2::lin16u_gen:5 [ lin16u_gen::lintab#10 lin16u_gen::step#0 lin16u_gen::val#0 ] main:2::lin16u_gen:7 [ lin16u_gen::lintab#10 lin16u_gen::step#0 lin16u_gen::val#0 ] main:2::lin16u_gen:9 [ lin16u_gen::lintab#10 lin16u_gen::step#0 lin16u_gen::val#0 ] ) always clobbers reg byte a 
Statement [116] (word~) lin16u_gen::$6 ← > (dword) lin16u_gen::val#4 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#4 lin16u_gen::lintab#9 lin16u_gen::$6 ] ( main:2::lin16u_gen:5 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#4 lin16u_gen::lintab#9 lin16u_gen::$6 ] main:2::lin16u_gen:7 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#4 lin16u_gen::lintab#9 lin16u_gen::$6 ] main:2::lin16u_gen:9 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#4 lin16u_gen::lintab#9 lin16u_gen::$6 ] ) always clobbers reg byte a 
Statement [117] *((word*) lin16u_gen::lintab#9) ← (word~) lin16u_gen::$6 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#4 lin16u_gen::lintab#9 ] ( main:2::lin16u_gen:5 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#4 lin16u_gen::lintab#9 ] main:2::lin16u_gen:7 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#4 lin16u_gen::lintab#9 ] main:2::lin16u_gen:9 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#4 lin16u_gen::lintab#9 ] ) always clobbers reg byte a reg byte y 
Statement [118] (dword) lin16u_gen::val#1 ← (dword) lin16u_gen::val#4 + (dword) lin16u_gen::step#0 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::lintab#9 lin16u_gen::val#1 ] ( main:2::lin16u_gen:5 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::lintab#9 lin16u_gen::val#1 ] main:2::lin16u_gen:7 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::lintab#9 lin16u_gen::val#1 ] main:2::lin16u_gen:9 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::lintab#9 lin16u_gen::val#1 ] ) always clobbers reg byte a 
Statement [119] (word*) lin16u_gen::lintab#3 ← (word*) lin16u_gen::lintab#9 + (const byte) SIZEOF_WORD [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#1 lin16u_gen::lintab#3 ] ( main:2::lin16u_gen:5 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#1 lin16u_gen::lintab#3 ] main:2::lin16u_gen:7 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#1 lin16u_gen::lintab#3 ] main:2::lin16u_gen:9 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#1 lin16u_gen::lintab#3 ] ) always clobbers reg byte a 
Statement [121] if((word) lin16u_gen::i#1<(byte) $14) goto lin16u_gen::@2 [ lin16u_gen::step#0 lin16u_gen::i#1 lin16u_gen::val#1 lin16u_gen::lintab#3 ] ( main:2::lin16u_gen:5 [ lin16u_gen::step#0 lin16u_gen::i#1 lin16u_gen::val#1 lin16u_gen::lintab#3 ] main:2::lin16u_gen:7 [ lin16u_gen::step#0 lin16u_gen::i#1 lin16u_gen::val#1 lin16u_gen::lintab#3 ] main:2::lin16u_gen:9 [ lin16u_gen::step#0 lin16u_gen::i#1 lin16u_gen::val#1 lin16u_gen::lintab#3 ] ) always clobbers reg byte a 
Statement [126] (byte~) divr16u::$1 ← > (word) divr16u::dividend#3 [ divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] ( main:2::lin16u_gen:5::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] main:2::lin16u_gen:7::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] main:2::lin16u_gen:9::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] main:2::lin16u_gen:5::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] main:2::lin16u_gen:7::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] main:2::lin16u_gen:9::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] ) always clobbers reg byte a 
Removing always clobbered register reg byte a as potential for zp ZP_BYTE:35 [ divr16u::i#2 divr16u::i#1 ]
Statement [129] (word) divr16u::rem#1 ← (word) divr16u::rem#0 | (byte) 1 [ divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] ( main:2::lin16u_gen:5::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] main:2::lin16u_gen:7::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] main:2::lin16u_gen:9::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] main:2::lin16u_gen:5::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] main:2::lin16u_gen:7::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] main:2::lin16u_gen:9::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] ) always clobbers reg byte a 
Statement [133] if((word) divr16u::rem#6<(word) divr16u::divisor#6) goto divr16u::@3 [ divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] ( main:2::lin16u_gen:5::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] main:2::lin16u_gen:7::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] main:2::lin16u_gen:9::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] main:2::lin16u_gen:5::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] main:2::lin16u_gen:7::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] main:2::lin16u_gen:9::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] ) always clobbers reg byte a 
Statement [135] (word) divr16u::rem#2 ← (word) divr16u::rem#6 - (word) divr16u::divisor#6 [ divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] ( main:2::lin16u_gen:5::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] main:2::lin16u_gen:7::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] main:2::lin16u_gen:9::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] main:2::lin16u_gen:5::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] main:2::lin16u_gen:7::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] main:2::lin16u_gen:9::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] ) always clobbers reg byte a 
Statement [139] (word) rem16u#1 ← (word) divr16u::rem#11 [ divr16u::return#0 rem16u#1 ] ( main:2::lin16u_gen:5::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::return#0 rem16u#1 ] main:2::lin16u_gen:7::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::return#0 rem16u#1 ] main:2::lin16u_gen:9::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::return#0 rem16u#1 ] main:2::lin16u_gen:5::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::return#0 rem16u#1 ] main:2::lin16u_gen:7::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::return#0 rem16u#1 ] main:2::lin16u_gen:9::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::return#0 rem16u#1 ] ) always clobbers reg byte a 
Statement [28] (byte*~) print_char_cursor#102 ← (byte*) print_line_cursor#1 [ main::i#12 print_byte::b#2 print_char_cursor#102 print_line_cursor#1 ] ( main:2 [ main::i#12 print_byte::b#2 print_char_cursor#102 print_line_cursor#1 ] ) always clobbers reg byte a 
Statement [32] (byte~) main::$27 ← (byte) main::i#12 << (byte) 1 [ main::i#12 print_line_cursor#1 main::$27 print_char_cursor#2 ] ( main:2 [ main::i#12 print_line_cursor#1 main::$27 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [33] (word) print_word::w#3 ← *((const word[$14]) main::lintab1#0 + (byte~) main::$27) [ main::i#12 print_line_cursor#1 print_word::w#3 print_char_cursor#2 ] ( main:2 [ main::i#12 print_line_cursor#1 print_word::w#3 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [37] (byte~) main::$28 ← (byte) main::i#12 << (byte) 1 [ main::i#12 print_line_cursor#1 main::$28 print_char_cursor#2 ] ( main:2 [ main::i#12 print_line_cursor#1 main::$28 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [38] (word) print_word::w#4 ← *((const word[$14]) main::lintab2#0 + (byte~) main::$28) [ main::i#12 print_line_cursor#1 print_word::w#4 print_char_cursor#2 ] ( main:2 [ main::i#12 print_line_cursor#1 print_word::w#4 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [42] (byte~) main::$29 ← (byte) main::i#12 << (byte) 1 [ main::i#12 print_line_cursor#1 main::$29 print_char_cursor#2 ] ( main:2 [ main::i#12 print_line_cursor#1 main::$29 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [43] (word) print_word::w#5 ← *((const word[$14]) main::lintab3#0 + (byte~) main::$29) [ main::i#12 print_line_cursor#1 print_word::w#5 print_char_cursor#2 ] ( main:2 [ main::i#12 print_line_cursor#1 print_word::w#5 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [49] (byte*~) print_char_cursor#99 ← (byte*) print_line_cursor#1 [ print_line_cursor#1 print_char_cursor#99 ] ( main:2 [ print_line_cursor#1 print_char_cursor#99 ] ) always clobbers reg byte a 
Statement [66] (byte*) print_line_cursor#1 ← (byte*) print_line_cursor#11 + (byte) $28 [ print_line_cursor#1 print_char_cursor#11 ] ( main:2::print_ln:25 [ print_line_cursor#1 print_char_cursor#11 ] main:2::print_ln:46 [ main::i#12 print_line_cursor#1 print_char_cursor#11 ] main:2::print_ln:62 [ print_line_cursor#1 print_char_cursor#11 ] ) always clobbers reg byte a 
Statement [67] if((byte*) print_line_cursor#1<(byte*) print_char_cursor#11) goto print_ln::@1 [ print_line_cursor#1 print_char_cursor#11 ] ( main:2::print_ln:25 [ print_line_cursor#1 print_char_cursor#11 ] main:2::print_ln:46 [ main::i#12 print_line_cursor#1 print_char_cursor#11 ] main:2::print_ln:62 [ print_line_cursor#1 print_char_cursor#11 ] ) always clobbers reg byte a 
Statement [70] (byte) print_byte::b#0 ← > (word) print_word::w#10 [ print_word::w#10 print_byte::b#0 print_char_cursor#2 ] ( main:2::print_word:15 [ print_word::w#10 print_byte::b#0 print_char_cursor#2 ] main:2::print_word:19 [ print_word::w#10 print_byte::b#0 print_char_cursor#2 ] main:2::print_word:23 [ print_word::w#10 print_byte::b#0 print_char_cursor#2 ] main:2::print_word:34 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#0 print_char_cursor#2 ] main:2::print_word:39 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#0 print_char_cursor#2 ] main:2::print_word:44 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#0 print_char_cursor#2 ] main:2::print_word:52 [ print_line_cursor#1 print_word::w#10 print_byte::b#0 print_char_cursor#2 ] main:2::print_word:56 [ print_line_cursor#1 print_word::w#10 print_byte::b#0 print_char_cursor#2 ] main:2::print_word:60 [ print_line_cursor#1 print_word::w#10 print_byte::b#0 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [72] (byte) print_byte::b#1 ← < (word) print_word::w#10 [ print_char_cursor#11 print_byte::b#1 ] ( main:2::print_word:15 [ print_char_cursor#11 print_byte::b#1 ] main:2::print_word:19 [ print_char_cursor#11 print_byte::b#1 ] main:2::print_word:23 [ print_char_cursor#11 print_byte::b#1 ] main:2::print_word:34 [ main::i#12 print_line_cursor#1 print_char_cursor#11 print_byte::b#1 ] main:2::print_word:39 [ main::i#12 print_line_cursor#1 print_char_cursor#11 print_byte::b#1 ] main:2::print_word:44 [ main::i#12 print_line_cursor#1 print_char_cursor#11 print_byte::b#1 ] main:2::print_word:52 [ print_line_cursor#1 print_char_cursor#11 print_byte::b#1 ] main:2::print_word:56 [ print_line_cursor#1 print_char_cursor#11 print_byte::b#1 ] main:2::print_word:60 [ print_line_cursor#1 print_char_cursor#11 print_byte::b#1 ] ) always clobbers reg byte a 
Statement [76] (byte~) print_byte::$0 ← (byte) print_byte::b#3 >> (byte) 4 [ print_byte::b#3 print_char_cursor#81 print_byte::$0 ] ( main:2::print_byte:29 [ main::i#12 print_line_cursor#1 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:15::print_byte:71 [ print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:19::print_byte:71 [ print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:23::print_byte:71 [ print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:34::print_byte:71 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:39::print_byte:71 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:44::print_byte:71 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:52::print_byte:71 [ print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:56::print_byte:71 [ print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:60::print_byte:71 [ print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:15::print_byte:73 [ print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:19::print_byte:73 [ print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:23::print_byte:73 [ print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:34::print_byte:73 [ main::i#12 print_line_cursor#1 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:39::print_byte:73 [ main::i#12 print_line_cursor#1 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:44::print_byte:73 [ main::i#12 print_line_cursor#1 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:52::print_byte:73 [ print_line_cursor#1 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:56::print_byte:73 [ print_line_cursor#1 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] main:2::print_word:60::print_byte:73 [ print_line_cursor#1 print_byte::b#3 print_char_cursor#81 print_byte::$0 ] ) always clobbers reg byte a 
Statement [79] (byte~) print_byte::$2 ← (byte) print_byte::b#3 & (byte) $f [ print_char_cursor#11 print_byte::$2 ] ( main:2::print_byte:29 [ main::i#12 print_line_cursor#1 print_char_cursor#11 print_byte::$2 ] main:2::print_word:15::print_byte:71 [ print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:19::print_byte:71 [ print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:23::print_byte:71 [ print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:34::print_byte:71 [ main::i#12 print_line_cursor#1 print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:39::print_byte:71 [ main::i#12 print_line_cursor#1 print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:44::print_byte:71 [ main::i#12 print_line_cursor#1 print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:52::print_byte:71 [ print_line_cursor#1 print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:56::print_byte:71 [ print_line_cursor#1 print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:60::print_byte:71 [ print_line_cursor#1 print_word::w#10 print_char_cursor#11 print_byte::$2 ] main:2::print_word:15::print_byte:73 [ print_char_cursor#11 print_byte::$2 ] main:2::print_word:19::print_byte:73 [ print_char_cursor#11 print_byte::$2 ] main:2::print_word:23::print_byte:73 [ print_char_cursor#11 print_byte::$2 ] main:2::print_word:34::print_byte:73 [ main::i#12 print_line_cursor#1 print_char_cursor#11 print_byte::$2 ] main:2::print_word:39::print_byte:73 [ main::i#12 print_line_cursor#1 print_char_cursor#11 print_byte::$2 ] main:2::print_word:44::print_byte:73 [ main::i#12 print_line_cursor#1 print_char_cursor#11 print_byte::$2 ] main:2::print_word:52::print_byte:73 [ print_line_cursor#1 print_char_cursor#11 print_byte::$2 ] main:2::print_word:56::print_byte:73 [ print_line_cursor#1 print_char_cursor#11 print_byte::$2 ] main:2::print_word:60::print_byte:73 [ print_line_cursor#1 print_char_cursor#11 print_byte::$2 ] ) always clobbers reg byte a 
Statement [84] *((byte*) print_char_cursor#50) ← (byte) print_char::ch#2 [ print_char_cursor#50 ] ( main:2::print_byte:29::print_char:78 [ main::i#12 print_line_cursor#1 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:15::print_byte:71::print_char:78 [ print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:19::print_byte:71::print_char:78 [ print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:23::print_byte:71::print_char:78 [ print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:34::print_byte:71::print_char:78 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:39::print_byte:71::print_char:78 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:44::print_byte:71::print_char:78 [ main::i#12 print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:52::print_byte:71::print_char:78 [ print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:56::print_byte:71::print_char:78 [ print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:60::print_byte:71::print_char:78 [ print_line_cursor#1 print_word::w#10 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:15::print_byte:73::print_char:78 [ print_byte::b#3 print_char_cursor#50 ] main:2::print_word:19::print_byte:73::print_char:78 [ print_byte::b#3 print_char_cursor#50 ] main:2::print_word:23::print_byte:73::print_char:78 [ print_byte::b#3 print_char_cursor#50 ] main:2::print_word:34::print_byte:73::print_char:78 [ main::i#12 print_line_cursor#1 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:39::print_byte:73::print_char:78 [ main::i#12 print_line_cursor#1 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:44::print_byte:73::print_char:78 [ main::i#12 print_line_cursor#1 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:52::print_byte:73::print_char:78 [ print_line_cursor#1 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:56::print_byte:73::print_char:78 [ print_line_cursor#1 print_byte::b#3 print_char_cursor#50 ] main:2::print_word:60::print_byte:73::print_char:78 [ print_line_cursor#1 print_byte::b#3 print_char_cursor#50 ] main:2::print_byte:29::print_char:81 [ main::i#12 print_line_cursor#1 print_char_cursor#50 ] main:2::print_word:15::print_byte:71::print_char:81 [ print_word::w#10 print_char_cursor#50 ] main:2::print_word:19::print_byte:71::print_char:81 [ print_word::w#10 print_char_cursor#50 ] main:2::print_word:23::print_byte:71::print_char:81 [ print_word::w#10 print_char_cursor#50 ] main:2::print_word:34::print_byte:71::print_char:81 [ main::i#12 print_line_cursor#1 print_word::w#10 print_char_cursor#50 ] main:2::print_word:39::print_byte:71::print_char:81 [ main::i#12 print_line_cursor#1 print_word::w#10 print_char_cursor#50 ] main:2::print_word:44::print_byte:71::print_char:81 [ main::i#12 print_line_cursor#1 print_word::w#10 print_char_cursor#50 ] main:2::print_word:52::print_byte:71::print_char:81 [ print_line_cursor#1 print_word::w#10 print_char_cursor#50 ] main:2::print_word:56::print_byte:71::print_char:81 [ print_line_cursor#1 print_word::w#10 print_char_cursor#50 ] main:2::print_word:60::print_byte:71::print_char:81 [ print_line_cursor#1 print_word::w#10 print_char_cursor#50 ] main:2::print_word:15::print_byte:73::print_char:81 [ print_char_cursor#50 ] main:2::print_word:19::print_byte:73::print_char:81 [ print_char_cursor#50 ] main:2::print_word:23::print_byte:73::print_char:81 [ print_char_cursor#50 ] main:2::print_word:34::print_byte:73::print_char:81 [ main::i#12 print_line_cursor#1 print_char_cursor#50 ] main:2::print_word:39::print_byte:73::print_char:81 [ main::i#12 print_line_cursor#1 print_char_cursor#50 ] main:2::print_word:44::print_byte:73::print_char:81 [ main::i#12 print_line_cursor#1 print_char_cursor#50 ] main:2::print_word:52::print_byte:73::print_char:81 [ print_line_cursor#1 print_char_cursor#50 ] main:2::print_word:56::print_byte:73::print_char:81 [ print_line_cursor#1 print_char_cursor#50 ] main:2::print_word:60::print_byte:73::print_char:81 [ print_line_cursor#1 print_char_cursor#50 ] ) always clobbers reg byte y 
Statement [89] if((byte) 0!=*((byte*) print_str::str#10)) goto print_str::@2 [ print_char_cursor#2 print_str::str#10 ] ( main:2::print_str:13 [ print_char_cursor#2 print_str::str#10 ] main:2::print_str:17 [ print_char_cursor#2 print_str::str#10 ] main:2::print_str:21 [ print_char_cursor#2 print_str::str#10 ] main:2::print_str:31 [ main::i#12 print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:36 [ main::i#12 print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:41 [ main::i#12 print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:50 [ print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:54 [ print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:58 [ print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] ) always clobbers reg byte a reg byte y 
Statement [91] *((byte*) print_char_cursor#2) ← *((byte*) print_str::str#10) [ print_char_cursor#2 print_str::str#10 ] ( main:2::print_str:13 [ print_char_cursor#2 print_str::str#10 ] main:2::print_str:17 [ print_char_cursor#2 print_str::str#10 ] main:2::print_str:21 [ print_char_cursor#2 print_str::str#10 ] main:2::print_str:31 [ main::i#12 print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:36 [ main::i#12 print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:41 [ main::i#12 print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:50 [ print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:54 [ print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] main:2::print_str:58 [ print_line_cursor#1 print_char_cursor#2 print_str::str#10 ] ) always clobbers reg byte a reg byte y 
Statement [99] *((byte*) memset::dst#4) ← (const byte) memset::c#0 [ memset::dst#4 ] ( main:2::print_cls:11::memset:95 [ memset::dst#4 ] ) always clobbers reg byte a reg byte y 
Statement [101] if((byte*) memset::dst#1!=(const byte*) memset::end#0) goto memset::@2 [ memset::dst#1 ] ( main:2::print_cls:11::memset:95 [ memset::dst#1 ] ) always clobbers reg byte a 
Statement [104] (word) lin16u_gen::ampl#0 ← (word) lin16u_gen::max#3 - (word) lin16u_gen::min#3 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::ampl#0 ] ( main:2::lin16u_gen:5 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::ampl#0 ] main:2::lin16u_gen:7 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::ampl#0 ] main:2::lin16u_gen:9 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::ampl#0 ] ) always clobbers reg byte a 
Statement [105] (word) divr16u::dividend#1 ← (word) lin16u_gen::ampl#0 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::dividend#1 ] ( main:2::lin16u_gen:5 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::dividend#1 ] main:2::lin16u_gen:7 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::dividend#1 ] main:2::lin16u_gen:9 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::dividend#1 ] ) always clobbers reg byte a 
Statement [107] (word) divr16u::return#2 ← (word) divr16u::return#0 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::return#2 rem16u#1 ] ( main:2::lin16u_gen:5 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::return#2 rem16u#1 ] main:2::lin16u_gen:7 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::return#2 rem16u#1 ] main:2::lin16u_gen:9 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::return#2 rem16u#1 ] ) always clobbers reg byte a 
Statement [108] (word) lin16u_gen::stepi#0 ← (word) divr16u::return#2 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 rem16u#1 ] ( main:2::lin16u_gen:5 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 rem16u#1 ] main:2::lin16u_gen:7 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 rem16u#1 ] main:2::lin16u_gen:9 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 rem16u#1 ] ) always clobbers reg byte a 
Statement [109] (word) divr16u::rem#4 ← (word) rem16u#1 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::rem#4 ] ( main:2::lin16u_gen:5 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::rem#4 ] main:2::lin16u_gen:7 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::rem#4 ] main:2::lin16u_gen:9 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::rem#4 ] ) always clobbers reg byte a 
Statement [111] (word) divr16u::return#3 ← (word) divr16u::return#0 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::return#3 ] ( main:2::lin16u_gen:5 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::return#3 ] main:2::lin16u_gen:7 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::return#3 ] main:2::lin16u_gen:9 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::return#3 ] ) always clobbers reg byte a 
Statement [112] (word) lin16u_gen::stepf#0 ← (word) divr16u::return#3 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 lin16u_gen::stepf#0 ] ( main:2::lin16u_gen:5 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 lin16u_gen::stepf#0 ] main:2::lin16u_gen:7 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 lin16u_gen::stepf#0 ] main:2::lin16u_gen:9 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 lin16u_gen::stepf#0 ] ) always clobbers reg byte a 
Statement [113] (dword) lin16u_gen::step#0 ← (word) lin16u_gen::stepi#0 dw= (word) lin16u_gen::stepf#0 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::step#0 ] ( main:2::lin16u_gen:5 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::step#0 ] main:2::lin16u_gen:7 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::step#0 ] main:2::lin16u_gen:9 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::step#0 ] ) always clobbers reg byte a 
Statement [114] (dword) lin16u_gen::val#0 ← (word) lin16u_gen::min#3 dw= (word) 0 [ lin16u_gen::lintab#10 lin16u_gen::step#0 lin16u_gen::val#0 ] ( main:2::lin16u_gen:5 [ lin16u_gen::lintab#10 lin16u_gen::step#0 lin16u_gen::val#0 ] main:2::lin16u_gen:7 [ lin16u_gen::lintab#10 lin16u_gen::step#0 lin16u_gen::val#0 ] main:2::lin16u_gen:9 [ lin16u_gen::lintab#10 lin16u_gen::step#0 lin16u_gen::val#0 ] ) always clobbers reg byte a 
Statement [116] (word~) lin16u_gen::$6 ← > (dword) lin16u_gen::val#4 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#4 lin16u_gen::lintab#9 lin16u_gen::$6 ] ( main:2::lin16u_gen:5 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#4 lin16u_gen::lintab#9 lin16u_gen::$6 ] main:2::lin16u_gen:7 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#4 lin16u_gen::lintab#9 lin16u_gen::$6 ] main:2::lin16u_gen:9 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#4 lin16u_gen::lintab#9 lin16u_gen::$6 ] ) always clobbers reg byte a 
Statement [117] *((word*) lin16u_gen::lintab#9) ← (word~) lin16u_gen::$6 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#4 lin16u_gen::lintab#9 ] ( main:2::lin16u_gen:5 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#4 lin16u_gen::lintab#9 ] main:2::lin16u_gen:7 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#4 lin16u_gen::lintab#9 ] main:2::lin16u_gen:9 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#4 lin16u_gen::lintab#9 ] ) always clobbers reg byte a reg byte y 
Statement [118] (dword) lin16u_gen::val#1 ← (dword) lin16u_gen::val#4 + (dword) lin16u_gen::step#0 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::lintab#9 lin16u_gen::val#1 ] ( main:2::lin16u_gen:5 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::lintab#9 lin16u_gen::val#1 ] main:2::lin16u_gen:7 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::lintab#9 lin16u_gen::val#1 ] main:2::lin16u_gen:9 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::lintab#9 lin16u_gen::val#1 ] ) always clobbers reg byte a 
Statement [119] (word*) lin16u_gen::lintab#3 ← (word*) lin16u_gen::lintab#9 + (const byte) SIZEOF_WORD [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#1 lin16u_gen::lintab#3 ] ( main:2::lin16u_gen:5 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#1 lin16u_gen::lintab#3 ] main:2::lin16u_gen:7 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#1 lin16u_gen::lintab#3 ] main:2::lin16u_gen:9 [ lin16u_gen::step#0 lin16u_gen::i#4 lin16u_gen::val#1 lin16u_gen::lintab#3 ] ) always clobbers reg byte a 
Statement [121] if((word) lin16u_gen::i#1<(byte) $14) goto lin16u_gen::@2 [ lin16u_gen::step#0 lin16u_gen::i#1 lin16u_gen::val#1 lin16u_gen::lintab#3 ] ( main:2::lin16u_gen:5 [ lin16u_gen::step#0 lin16u_gen::i#1 lin16u_gen::val#1 lin16u_gen::lintab#3 ] main:2::lin16u_gen:7 [ lin16u_gen::step#0 lin16u_gen::i#1 lin16u_gen::val#1 lin16u_gen::lintab#3 ] main:2::lin16u_gen:9 [ lin16u_gen::step#0 lin16u_gen::i#1 lin16u_gen::val#1 lin16u_gen::lintab#3 ] ) always clobbers reg byte a 
Statement [126] (byte~) divr16u::$1 ← > (word) divr16u::dividend#3 [ divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] ( main:2::lin16u_gen:5::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] main:2::lin16u_gen:7::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] main:2::lin16u_gen:9::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] main:2::lin16u_gen:5::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] main:2::lin16u_gen:7::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] main:2::lin16u_gen:9::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] ) always clobbers reg byte a 
Statement [129] (word) divr16u::rem#1 ← (word) divr16u::rem#0 | (byte) 1 [ divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] ( main:2::lin16u_gen:5::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] main:2::lin16u_gen:7::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] main:2::lin16u_gen:9::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] main:2::lin16u_gen:5::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] main:2::lin16u_gen:7::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] main:2::lin16u_gen:9::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] ) always clobbers reg byte a 
Statement [133] if((word) divr16u::rem#6<(word) divr16u::divisor#6) goto divr16u::@3 [ divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] ( main:2::lin16u_gen:5::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] main:2::lin16u_gen:7::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] main:2::lin16u_gen:9::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] main:2::lin16u_gen:5::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] main:2::lin16u_gen:7::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] main:2::lin16u_gen:9::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] ) always clobbers reg byte a 
Statement [135] (word) divr16u::rem#2 ← (word) divr16u::rem#6 - (word) divr16u::divisor#6 [ divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] ( main:2::lin16u_gen:5::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] main:2::lin16u_gen:7::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] main:2::lin16u_gen:9::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] main:2::lin16u_gen:5::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] main:2::lin16u_gen:7::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] main:2::lin16u_gen:9::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::divisor#6 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] ) always clobbers reg byte a 
Statement [139] (word) rem16u#1 ← (word) divr16u::rem#11 [ divr16u::return#0 rem16u#1 ] ( main:2::lin16u_gen:5::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::return#0 rem16u#1 ] main:2::lin16u_gen:7::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::return#0 rem16u#1 ] main:2::lin16u_gen:9::divr16u:106 [ lin16u_gen::min#3 lin16u_gen::lintab#10 divr16u::return#0 rem16u#1 ] main:2::lin16u_gen:5::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::return#0 rem16u#1 ] main:2::lin16u_gen:7::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::return#0 rem16u#1 ] main:2::lin16u_gen:9::divr16u:110 [ lin16u_gen::min#3 lin16u_gen::lintab#10 lin16u_gen::stepi#0 divr16u::return#0 rem16u#1 ] ) always clobbers reg byte a 
Potential registers zp ZP_BYTE:2 [ main::i#12 main::i#1 ] : zp ZP_BYTE:2 , reg byte x , 
Potential registers zp ZP_WORD:3 [ print_line_cursor#11 print_line_cursor#21 print_line_cursor#1 ] : zp ZP_WORD:3 , 
Potential registers zp ZP_WORD:5 [ print_word::w#10 print_word::w#3 print_word::w#4 print_word::w#5 ] : zp ZP_WORD:5 , 
Potential registers zp ZP_BYTE:7 [ print_byte::b#3 print_byte::b#2 print_byte::b#0 print_byte::b#1 ] : zp ZP_BYTE:7 , reg byte x , 
Potential registers zp ZP_BYTE:8 [ print_char::ch#2 print_char::ch#0 print_char::ch#1 ] : zp ZP_BYTE:8 , reg byte a , reg byte x , reg byte y , 
Potential registers zp ZP_WORD:9 [ print_char_cursor#86 print_char_cursor#50 print_char_cursor#81 print_char_cursor#102 print_char_cursor#2 print_char_cursor#11 print_char_cursor#99 print_char_cursor#1 ] : zp ZP_WORD:9 , 
Potential registers zp ZP_WORD:11 [ print_str::str#10 print_str::str#12 print_str::str#0 ] : zp ZP_WORD:11 , 
Potential registers zp ZP_WORD:13 [ memset::dst#4 memset::dst#1 ] : zp ZP_WORD:13 , 
Potential registers zp ZP_WORD:15 [ lin16u_gen::max#3 ] : zp ZP_WORD:15 , 
Potential registers zp ZP_WORD:17 [ lin16u_gen::min#3 ] : zp ZP_WORD:17 , 
Potential registers zp ZP_WORD:19 [ lin16u_gen::i#4 lin16u_gen::i#1 ] : zp ZP_WORD:19 , 
Potential registers zp ZP_DWORD:21 [ lin16u_gen::val#4 lin16u_gen::val#1 lin16u_gen::val#0 ] : zp ZP_DWORD:21 , 
Potential registers zp ZP_WORD:25 [ lin16u_gen::lintab#9 lin16u_gen::lintab#3 lin16u_gen::lintab#10 ] : zp ZP_WORD:25 , 
Potential registers zp ZP_WORD:27 [ divr16u::divisor#6 ] : zp ZP_WORD:27 , 
Potential registers zp ZP_WORD:29 [ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 ] : zp ZP_WORD:29 , 
Potential registers zp ZP_WORD:31 [ divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#1 divr16u::dividend#0 ] : zp ZP_WORD:31 , 
Potential registers zp ZP_WORD:33 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 ] : zp ZP_WORD:33 , 
Potential registers zp ZP_BYTE:35 [ divr16u::i#2 divr16u::i#1 ] : zp ZP_BYTE:35 , reg byte x , reg byte y , 
Potential registers zp ZP_BYTE:36 [ main::$27 ] : zp ZP_BYTE:36 , reg byte a , reg byte x , reg byte y , 
Potential registers zp ZP_BYTE:37 [ main::$28 ] : zp ZP_BYTE:37 , reg byte a , reg byte x , reg byte y , 
Potential registers zp ZP_BYTE:38 [ main::$29 ] : zp ZP_BYTE:38 , reg byte a , reg byte x , reg byte y , 
Potential registers zp ZP_BYTE:39 [ print_byte::$0 ] : zp ZP_BYTE:39 , reg byte a , reg byte x , reg byte y , 
Potential registers zp ZP_BYTE:40 [ print_byte::$2 ] : zp ZP_BYTE:40 , reg byte a , reg byte x , reg byte y , 
Potential registers zp ZP_WORD:41 [ lin16u_gen::ampl#0 ] : zp ZP_WORD:41 , 
Potential registers zp ZP_WORD:43 [ divr16u::return#2 ] : zp ZP_WORD:43 , 
Potential registers zp ZP_WORD:45 [ lin16u_gen::stepi#0 ] : zp ZP_WORD:45 , 
Potential registers zp ZP_WORD:47 [ divr16u::return#3 ] : zp ZP_WORD:47 , 
Potential registers zp ZP_WORD:49 [ lin16u_gen::stepf#0 ] : zp ZP_WORD:49 , 
Potential registers zp ZP_DWORD:51 [ lin16u_gen::step#0 ] : zp ZP_DWORD:51 , 
Potential registers zp ZP_WORD:55 [ lin16u_gen::$6 ] : zp ZP_WORD:55 , 
Potential registers zp ZP_BYTE:57 [ divr16u::$1 ] : zp ZP_BYTE:57 , reg byte a , reg byte x , reg byte y , 
Potential registers zp ZP_BYTE:58 [ divr16u::$2 ] : zp ZP_BYTE:58 , reg byte a , reg byte x , reg byte y , 
Potential registers zp ZP_WORD:59 [ rem16u#1 ] : zp ZP_WORD:59 , 

REGISTER UPLIFT SCOPES
Uplift Scope [] 227.22: zp ZP_WORD:3 [ print_line_cursor#11 print_line_cursor#21 print_line_cursor#1 ] 197.27: zp ZP_WORD:9 [ print_char_cursor#86 print_char_cursor#50 print_char_cursor#81 print_char_cursor#102 print_char_cursor#2 print_char_cursor#11 print_char_cursor#99 print_char_cursor#1 ] 0.8: zp ZP_WORD:59 [ rem16u#1 ] 
Uplift Scope [print_str] 305.5: zp ZP_WORD:11 [ print_str::str#10 print_str::str#12 print_str::str#0 ] 
Uplift Scope [divr16u] 106.92: zp ZP_WORD:29 [ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 ] 35.54: zp ZP_WORD:33 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 ] 22: zp ZP_BYTE:57 [ divr16u::$1 ] 22: zp ZP_BYTE:58 [ divr16u::$2 ] 18.19: zp ZP_BYTE:35 [ divr16u::i#2 divr16u::i#1 ] 15.75: zp ZP_WORD:31 [ divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#1 divr16u::dividend#0 ] 4: zp ZP_WORD:43 [ divr16u::return#2 ] 4: zp ZP_WORD:47 [ divr16u::return#3 ] 1.38: zp ZP_WORD:27 [ divr16u::divisor#6 ] 
Uplift Scope [lin16u_gen] 22: zp ZP_WORD:55 [ lin16u_gen::$6 ] 21.17: zp ZP_DWORD:21 [ lin16u_gen::val#4 lin16u_gen::val#1 lin16u_gen::val#0 ] 20.9: zp ZP_WORD:19 [ lin16u_gen::i#4 lin16u_gen::i#1 ] 16.25: zp ZP_WORD:25 [ lin16u_gen::lintab#9 lin16u_gen::lintab#3 lin16u_gen::lintab#10 ] 4: zp ZP_WORD:41 [ lin16u_gen::ampl#0 ] 4: zp ZP_WORD:49 [ lin16u_gen::stepf#0 ] 2: zp ZP_WORD:15 [ lin16u_gen::max#3 ] 1.44: zp ZP_DWORD:51 [ lin16u_gen::step#0 ] 0.8: zp ZP_WORD:45 [ lin16u_gen::stepi#0 ] 0.36: zp ZP_WORD:17 [ lin16u_gen::min#3 ] 
Uplift Scope [main] 22: zp ZP_BYTE:36 [ main::$27 ] 22: zp ZP_BYTE:37 [ main::$28 ] 22: zp ZP_BYTE:38 [ main::$29 ] 19.64: zp ZP_BYTE:2 [ main::i#12 main::i#1 ] 
Uplift Scope [print_word] 78.33: zp ZP_WORD:5 [ print_word::w#10 print_word::w#3 print_word::w#4 print_word::w#5 ] 
Uplift Scope [memset] 33: zp ZP_WORD:13 [ memset::dst#4 memset::dst#1 ] 
Uplift Scope [print_byte] 23.75: zp ZP_BYTE:7 [ print_byte::b#3 print_byte::b#2 print_byte::b#0 print_byte::b#1 ] 4: zp ZP_BYTE:39 [ print_byte::$0 ] 4: zp ZP_BYTE:40 [ print_byte::$2 ] 
Uplift Scope [print_char] 14: zp ZP_BYTE:8 [ print_char::ch#2 print_char::ch#0 print_char::ch#1 ] 
Uplift Scope [RADIX] 
Uplift Scope [print_ln] 
Uplift Scope [print_cls] 

Uplifting [] best 16334 combination zp ZP_WORD:3 [ print_line_cursor#11 print_line_cursor#21 print_line_cursor#1 ] zp ZP_WORD:9 [ print_char_cursor#86 print_char_cursor#50 print_char_cursor#81 print_char_cursor#102 print_char_cursor#2 print_char_cursor#11 print_char_cursor#99 print_char_cursor#1 ] zp ZP_WORD:59 [ rem16u#1 ] 
Uplifting [print_str] best 16334 combination zp ZP_WORD:11 [ print_str::str#10 print_str::str#12 print_str::str#0 ] 
Uplifting [divr16u] best 16124 combination zp ZP_WORD:29 [ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 ] zp ZP_WORD:33 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 ] reg byte a [ divr16u::$1 ] reg byte a [ divr16u::$2 ] reg byte x [ divr16u::i#2 divr16u::i#1 ] zp ZP_WORD:31 [ divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#1 divr16u::dividend#0 ] zp ZP_WORD:43 [ divr16u::return#2 ] zp ZP_WORD:47 [ divr16u::return#3 ] zp ZP_WORD:27 [ divr16u::divisor#6 ] 
Uplifting [lin16u_gen] best 16124 combination zp ZP_WORD:55 [ lin16u_gen::$6 ] zp ZP_DWORD:21 [ lin16u_gen::val#4 lin16u_gen::val#1 lin16u_gen::val#0 ] zp ZP_WORD:19 [ lin16u_gen::i#4 lin16u_gen::i#1 ] zp ZP_WORD:25 [ lin16u_gen::lintab#9 lin16u_gen::lintab#3 lin16u_gen::lintab#10 ] zp ZP_WORD:41 [ lin16u_gen::ampl#0 ] zp ZP_WORD:49 [ lin16u_gen::stepf#0 ] zp ZP_WORD:15 [ lin16u_gen::max#3 ] zp ZP_DWORD:51 [ lin16u_gen::step#0 ] zp ZP_WORD:45 [ lin16u_gen::stepi#0 ] zp ZP_WORD:17 [ lin16u_gen::min#3 ] 
Uplifting [main] best 15854 combination reg byte a [ main::$27 ] reg byte a [ main::$28 ] reg byte a [ main::$29 ] reg byte x [ main::i#12 main::i#1 ] 
Limited combination testing to 100 combinations of 128 possible.
Uplifting [print_word] best 15854 combination zp ZP_WORD:5 [ print_word::w#10 print_word::w#3 print_word::w#4 print_word::w#5 ] 
Uplifting [memset] best 15854 combination zp ZP_WORD:13 [ memset::dst#4 memset::dst#1 ] 
Uplifting [print_byte] best 15846 combination zp ZP_BYTE:7 [ print_byte::b#3 print_byte::b#2 print_byte::b#0 print_byte::b#1 ] reg byte a [ print_byte::$0 ] reg byte a [ print_byte::$2 ] 
Uplifting [print_char] best 15837 combination reg byte a [ print_char::ch#2 print_char::ch#0 print_char::ch#1 ] 
Uplifting [RADIX] best 15837 combination 
Uplifting [print_ln] best 15837 combination 
Uplifting [print_cls] best 15837 combination 
Attempting to uplift remaining variables inzp ZP_BYTE:7 [ print_byte::b#3 print_byte::b#2 print_byte::b#0 print_byte::b#1 ]
Uplifting [print_byte] best 15837 combination zp ZP_BYTE:7 [ print_byte::b#3 print_byte::b#2 print_byte::b#0 print_byte::b#1 ] 
Coalescing zero page register [ zp ZP_WORD:29 [ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 ] ] with [ zp ZP_WORD:59 [ rem16u#1 ] ] - score: 2
Coalescing zero page register [ zp ZP_WORD:15 [ lin16u_gen::max#3 ] ] with [ zp ZP_WORD:41 [ lin16u_gen::ampl#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:33 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 ] ] with [ zp ZP_WORD:43 [ divr16u::return#2 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:33 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 divr16u::return#2 ] ] with [ zp ZP_WORD:47 [ divr16u::return#3 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:15 [ lin16u_gen::max#3 lin16u_gen::ampl#0 ] ] with [ zp ZP_WORD:31 [ divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#1 divr16u::dividend#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:33 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 divr16u::return#2 divr16u::return#3 ] ] with [ zp ZP_WORD:49 [ lin16u_gen::stepf#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:11 [ print_str::str#10 print_str::str#12 print_str::str#0 ] ] with [ zp ZP_WORD:5 [ print_word::w#10 print_word::w#3 print_word::w#4 print_word::w#5 ] ]
Coalescing zero page register [ zp ZP_WORD:13 [ memset::dst#4 memset::dst#1 ] ] with [ zp ZP_WORD:3 [ print_line_cursor#11 print_line_cursor#21 print_line_cursor#1 ] ]
Coalescing zero page register [ zp ZP_WORD:15 [ lin16u_gen::max#3 lin16u_gen::ampl#0 divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#1 divr16u::dividend#0 ] ] with [ zp ZP_WORD:9 [ print_char_cursor#86 print_char_cursor#50 print_char_cursor#81 print_char_cursor#102 print_char_cursor#2 print_char_cursor#11 print_char_cursor#99 print_char_cursor#1 ] ]
Coalescing zero page register [ zp ZP_WORD:27 [ divr16u::divisor#6 ] ] with [ zp ZP_WORD:19 [ lin16u_gen::i#4 lin16u_gen::i#1 ] ]
Coalescing zero page register [ zp ZP_WORD:55 [ lin16u_gen::$6 ] ] with [ zp ZP_WORD:29 [ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 rem16u#1 ] ]
Coalescing zero page register [ zp ZP_WORD:17 [ lin16u_gen::min#3 ] ] with [ zp ZP_WORD:11 [ print_str::str#10 print_str::str#12 print_str::str#0 print_word::w#10 print_word::w#3 print_word::w#4 print_word::w#5 ] ]
Coalescing zero page register [ zp ZP_WORD:25 [ lin16u_gen::lintab#9 lin16u_gen::lintab#3 lin16u_gen::lintab#10 ] ] with [ zp ZP_WORD:13 [ memset::dst#4 memset::dst#1 print_line_cursor#11 print_line_cursor#21 print_line_cursor#1 ] ]
Allocated (was zp ZP_BYTE:7) zp ZP_BYTE:2 [ print_byte::b#3 print_byte::b#2 print_byte::b#0 print_byte::b#1 ]
Allocated (was zp ZP_WORD:15) zp ZP_WORD:3 [ lin16u_gen::max#3 lin16u_gen::ampl#0 divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#1 divr16u::dividend#0 print_char_cursor#86 print_char_cursor#50 print_char_cursor#81 print_char_cursor#102 print_char_cursor#2 print_char_cursor#11 print_char_cursor#99 print_char_cursor#1 ]
Allocated (was zp ZP_WORD:17) zp ZP_WORD:5 [ lin16u_gen::min#3 print_str::str#10 print_str::str#12 print_str::str#0 print_word::w#10 print_word::w#3 print_word::w#4 print_word::w#5 ]
Allocated (was zp ZP_DWORD:21) zp ZP_DWORD:7 [ lin16u_gen::val#4 lin16u_gen::val#1 lin16u_gen::val#0 ]
Allocated (was zp ZP_WORD:25) zp ZP_WORD:11 [ lin16u_gen::lintab#9 lin16u_gen::lintab#3 lin16u_gen::lintab#10 memset::dst#4 memset::dst#1 print_line_cursor#11 print_line_cursor#21 print_line_cursor#1 ]
Allocated (was zp ZP_WORD:27) zp ZP_WORD:13 [ divr16u::divisor#6 lin16u_gen::i#4 lin16u_gen::i#1 ]
Allocated (was zp ZP_WORD:33) zp ZP_WORD:15 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 divr16u::return#2 divr16u::return#3 lin16u_gen::stepf#0 ]
Allocated (was zp ZP_WORD:45) zp ZP_WORD:17 [ lin16u_gen::stepi#0 ]
Allocated (was zp ZP_DWORD:51) zp ZP_DWORD:19 [ lin16u_gen::step#0 ]
Allocated (was zp ZP_WORD:55) zp ZP_WORD:23 [ lin16u_gen::$6 divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 rem16u#1 ]

ASSEMBLER BEFORE OPTIMIZATION
  // File Comments
// Linear table generator
// Work in progress towards a sinus generator
  // Upstart
.pc = $801 "Basic"
:BasicUpstart(bbegin)
.pc = $80d "Program"
  // Global Constants & labels
  .const SIZEOF_WORD = 2
  .label rem16u = $17
  .label print_char_cursor = 3
  .label print_line_cursor = $b
  // @begin
bbegin:
  // [1] phi from @begin to @1 [phi:@begin->@1]
b1_from_bbegin:
  jmp b1
  // @1
b1:
  // [2] call main 
  // [4] phi from @1 to main [phi:@1->main]
main_from_b1:
  jsr main
  // [3] phi from @1 to @end [phi:@1->@end]
bend_from_b1:
  jmp bend
  // @end
bend:
  // main
main: {
    // [5] call lin16u_gen 
    // [103] phi from main to lin16u_gen [phi:main->lin16u_gen]
  lin16u_gen_from_main:
    // [103] phi (word*) lin16u_gen::lintab#10 = (const word[$14]) main::lintab1#0 [phi:main->lin16u_gen#0] -- pwuz1=pwuc1 
    lda #<lintab1
    sta.z lin16u_gen.lintab
    lda #>lintab1
    sta.z lin16u_gen.lintab+1
    // [103] phi (word) lin16u_gen::min#3 = (word) $22d [phi:main->lin16u_gen#1] -- vwuz1=vwuc1 
    lda #<$22d
    sta.z lin16u_gen.min
    lda #>$22d
    sta.z lin16u_gen.min+1
    // [103] phi (word) lin16u_gen::max#3 = (word) $7461 [phi:main->lin16u_gen#2] -- vwuz1=vwuc1 
    lda #<$7461
    sta.z lin16u_gen.max
    lda #>$7461
    sta.z lin16u_gen.max+1
    jsr lin16u_gen
    // [6] phi from main to main::@4 [phi:main->main::@4]
  b4_from_main:
    jmp b4
    // main::@4
  b4:
    // [7] call lin16u_gen 
    // [103] phi from main::@4 to lin16u_gen [phi:main::@4->lin16u_gen]
  lin16u_gen_from_b4:
    // [103] phi (word*) lin16u_gen::lintab#10 = (const word[$14]) main::lintab2#0 [phi:main::@4->lin16u_gen#0] -- pwuz1=pwuc1 
    lda #<lintab2
    sta.z lin16u_gen.lintab
    lda #>lintab2
    sta.z lin16u_gen.lintab+1
    // [103] phi (word) lin16u_gen::min#3 = (word) $79cb [phi:main::@4->lin16u_gen#1] -- vwuz1=vwuc1 
    lda #<$79cb
    sta.z lin16u_gen.min
    lda #>$79cb
    sta.z lin16u_gen.min+1
    // [103] phi (word) lin16u_gen::max#3 = (word) $f781 [phi:main::@4->lin16u_gen#2] -- vwuz1=vwuc1 
    lda #<$f781
    sta.z lin16u_gen.max
    lda #>$f781
    sta.z lin16u_gen.max+1
    jsr lin16u_gen
    // [8] phi from main::@4 to main::@5 [phi:main::@4->main::@5]
  b5_from_b4:
    jmp b5
    // main::@5
  b5:
    // [9] call lin16u_gen 
    // [103] phi from main::@5 to lin16u_gen [phi:main::@5->lin16u_gen]
  lin16u_gen_from_b5:
    // [103] phi (word*) lin16u_gen::lintab#10 = (const word[$14]) main::lintab3#0 [phi:main::@5->lin16u_gen#0] -- pwuz1=pwuc1 
    lda #<lintab3
    sta.z lin16u_gen.lintab
    lda #>lintab3
    sta.z lin16u_gen.lintab+1
    // [103] phi (word) lin16u_gen::min#3 = (byte) 0 [phi:main::@5->lin16u_gen#1] -- vwuz1=vbuc1 
    lda #<0
    sta.z lin16u_gen.min
    lda #>0
    sta.z lin16u_gen.min+1
    // [103] phi (word) lin16u_gen::max#3 = (word) $6488 [phi:main::@5->lin16u_gen#2] -- vwuz1=vwuc1 
    lda #<$6488
    sta.z lin16u_gen.max
    lda #>$6488
    sta.z lin16u_gen.max+1
    jsr lin16u_gen
    // [10] phi from main::@5 to main::@6 [phi:main::@5->main::@6]
  b6_from_b5:
    jmp b6
    // main::@6
  b6:
    // [11] call print_cls 
    // [94] phi from main::@6 to print_cls [phi:main::@6->print_cls]
  print_cls_from_b6:
    jsr print_cls
    // [12] phi from main::@6 to main::@7 [phi:main::@6->main::@7]
  b7_from_b6:
    jmp b7
    // main::@7
  b7:
    // [13] call print_str 
    // [87] phi from main::@7 to print_str [phi:main::@7->print_str]
  print_str_from_b7:
    // [87] phi (byte*) print_char_cursor#86 = (byte*) 1024 [phi:main::@7->print_str#0] -- pbuz1=pbuc1 
    lda #<$400
    sta.z print_char_cursor
    lda #>$400
    sta.z print_char_cursor+1
    // [87] phi (byte*) print_str::str#12 = (const string) main::str [phi:main::@7->print_str#1] -- pbuz1=pbuc1 
    lda #<str
    sta.z print_str.str
    lda #>str
    sta.z print_str.str+1
    jsr print_str
    // [14] phi from main::@7 to main::@8 [phi:main::@7->main::@8]
  b8_from_b7:
    jmp b8
    // main::@8
  b8:
    // [15] call print_word 
    // [69] phi from main::@8 to print_word [phi:main::@8->print_word]
  print_word_from_b8:
    // [69] phi (word) print_word::w#10 = (word) $22d [phi:main::@8->print_word#0] -- vwuz1=vwuc1 
    lda #<$22d
    sta.z print_word.w
    lda #>$22d
    sta.z print_word.w+1
    jsr print_word
    // [16] phi from main::@8 to main::@9 [phi:main::@8->main::@9]
  b9_from_b8:
    jmp b9
    // main::@9
  b9:
    // [17] call print_str 
    // [87] phi from main::@9 to print_str [phi:main::@9->print_str]
  print_str_from_b9:
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@9->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@9->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // [18] phi from main::@9 to main::@10 [phi:main::@9->main::@10]
  b10_from_b9:
    jmp b10
    // main::@10
  b10:
    // [19] call print_word 
    // [69] phi from main::@10 to print_word [phi:main::@10->print_word]
  print_word_from_b10:
    // [69] phi (word) print_word::w#10 = (word) $79cb [phi:main::@10->print_word#0] -- vwuz1=vwuc1 
    lda #<$79cb
    sta.z print_word.w
    lda #>$79cb
    sta.z print_word.w+1
    jsr print_word
    // [20] phi from main::@10 to main::@11 [phi:main::@10->main::@11]
  b11_from_b10:
    jmp b11
    // main::@11
  b11:
    // [21] call print_str 
    // [87] phi from main::@11 to print_str [phi:main::@11->print_str]
  print_str_from_b11:
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@11->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@11->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // [22] phi from main::@11 to main::@12 [phi:main::@11->main::@12]
  b12_from_b11:
    jmp b12
    // main::@12
  b12:
    // [23] call print_word 
    // [69] phi from main::@12 to print_word [phi:main::@12->print_word]
  print_word_from_b12:
    // [69] phi (word) print_word::w#10 = (byte) 0 [phi:main::@12->print_word#0] -- vwuz1=vbuc1 
    lda #<0
    sta.z print_word.w
    lda #>0
    sta.z print_word.w+1
    jsr print_word
    // [24] phi from main::@12 to main::@13 [phi:main::@12->main::@13]
  b13_from_b12:
    jmp b13
    // main::@13
  b13:
    // [25] call print_ln 
    // [64] phi from main::@13 to print_ln [phi:main::@13->print_ln]
  print_ln_from_b13:
    // [64] phi (byte*) print_line_cursor#21 = (byte*) 1024 [phi:main::@13->print_ln#0] -- pbuz1=pbuc1 
    lda #<$400
    sta.z print_line_cursor
    lda #>$400
    sta.z print_line_cursor+1
    jsr print_ln
    // [26] phi from main::@13 to main::@2 [phi:main::@13->main::@2]
  b2_from_b13:
    // [26] phi (byte) main::i#12 = (byte) 0 [phi:main::@13->main::@2#0] -- vbuxx=vbuc1 
    ldx #0
    jmp b2
    // [26] phi from main::@1 to main::@2 [phi:main::@1->main::@2]
  b2_from_b1:
    // [26] phi (byte) main::i#12 = (byte) main::i#1 [phi:main::@1->main::@2#0] -- register_copy 
    jmp b2
    // main::@2
  b2:
    // [27] (byte) print_byte::b#2 ← (byte) main::i#12 -- vbuz1=vbuxx 
    stx.z print_byte.b
    // [28] (byte*~) print_char_cursor#102 ← (byte*) print_line_cursor#1 -- pbuz1=pbuz2 
    lda.z print_line_cursor
    sta.z print_char_cursor
    lda.z print_line_cursor+1
    sta.z print_char_cursor+1
    // [29] call print_byte 
    // [75] phi from main::@2 to print_byte [phi:main::@2->print_byte]
  print_byte_from_b2:
    // [75] phi (byte*) print_char_cursor#81 = (byte*~) print_char_cursor#102 [phi:main::@2->print_byte#0] -- register_copy 
    // [75] phi (byte) print_byte::b#3 = (byte) print_byte::b#2 [phi:main::@2->print_byte#1] -- register_copy 
    jsr print_byte
    // [30] phi from main::@2 to main::@14 [phi:main::@2->main::@14]
  b14_from_b2:
    jmp b14
    // main::@14
  b14:
    // [31] call print_str 
    // [87] phi from main::@14 to print_str [phi:main::@14->print_str]
  print_str_from_b14:
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@14->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@14->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    jmp b15
    // main::@15
  b15:
    // [32] (byte~) main::$27 ← (byte) main::i#12 << (byte) 1 -- vbuaa=vbuxx_rol_1 
    txa
    asl
    // [33] (word) print_word::w#3 ← *((const word[$14]) main::lintab1#0 + (byte~) main::$27) -- vwuz1=pwuc1_derefidx_vbuaa 
    tay
    lda lintab1,y
    sta.z print_word.w
    lda lintab1+1,y
    sta.z print_word.w+1
    // [34] call print_word 
    // [69] phi from main::@15 to print_word [phi:main::@15->print_word]
  print_word_from_b15:
    // [69] phi (word) print_word::w#10 = (word) print_word::w#3 [phi:main::@15->print_word#0] -- register_copy 
    jsr print_word
    // [35] phi from main::@15 to main::@16 [phi:main::@15->main::@16]
  b16_from_b15:
    jmp b16
    // main::@16
  b16:
    // [36] call print_str 
    // [87] phi from main::@16 to print_str [phi:main::@16->print_str]
  print_str_from_b16:
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@16->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@16->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    jmp b17
    // main::@17
  b17:
    // [37] (byte~) main::$28 ← (byte) main::i#12 << (byte) 1 -- vbuaa=vbuxx_rol_1 
    txa
    asl
    // [38] (word) print_word::w#4 ← *((const word[$14]) main::lintab2#0 + (byte~) main::$28) -- vwuz1=pwuc1_derefidx_vbuaa 
    tay
    lda lintab2,y
    sta.z print_word.w
    lda lintab2+1,y
    sta.z print_word.w+1
    // [39] call print_word 
    // [69] phi from main::@17 to print_word [phi:main::@17->print_word]
  print_word_from_b17:
    // [69] phi (word) print_word::w#10 = (word) print_word::w#4 [phi:main::@17->print_word#0] -- register_copy 
    jsr print_word
    // [40] phi from main::@17 to main::@18 [phi:main::@17->main::@18]
  b18_from_b17:
    jmp b18
    // main::@18
  b18:
    // [41] call print_str 
    // [87] phi from main::@18 to print_str [phi:main::@18->print_str]
  print_str_from_b18:
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@18->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@18->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    jmp b19
    // main::@19
  b19:
    // [42] (byte~) main::$29 ← (byte) main::i#12 << (byte) 1 -- vbuaa=vbuxx_rol_1 
    txa
    asl
    // [43] (word) print_word::w#5 ← *((const word[$14]) main::lintab3#0 + (byte~) main::$29) -- vwuz1=pwuc1_derefidx_vbuaa 
    tay
    lda lintab3,y
    sta.z print_word.w
    lda lintab3+1,y
    sta.z print_word.w+1
    // [44] call print_word 
    // [69] phi from main::@19 to print_word [phi:main::@19->print_word]
  print_word_from_b19:
    // [69] phi (word) print_word::w#10 = (word) print_word::w#5 [phi:main::@19->print_word#0] -- register_copy 
    jsr print_word
    // [45] phi from main::@19 to main::@20 [phi:main::@19->main::@20]
  b20_from_b19:
    jmp b20
    // main::@20
  b20:
    // [46] call print_ln 
    // [64] phi from main::@20 to print_ln [phi:main::@20->print_ln]
  print_ln_from_b20:
    // [64] phi (byte*) print_line_cursor#21 = (byte*) print_line_cursor#1 [phi:main::@20->print_ln#0] -- register_copy 
    jsr print_ln
    jmp b21
    // main::@21
  b21:
    // [47] (byte) main::i#1 ← ++ (byte) main::i#12 -- vbuxx=_inc_vbuxx 
    inx
    jmp b1
    // main::@1
  b1:
    // [48] if((byte) main::i#1<(byte) $14) goto main::@2 -- vbuxx_lt_vbuc1_then_la1 
    cpx #$14
    bcc b2_from_b1
    jmp b3
    // main::@3
  b3:
    // [49] (byte*~) print_char_cursor#99 ← (byte*) print_line_cursor#1 -- pbuz1=pbuz2 
    lda.z print_line_cursor
    sta.z print_char_cursor
    lda.z print_line_cursor+1
    sta.z print_char_cursor+1
    // [50] call print_str 
    // [87] phi from main::@3 to print_str [phi:main::@3->print_str]
  print_str_from_b3:
    // [87] phi (byte*) print_char_cursor#86 = (byte*~) print_char_cursor#99 [phi:main::@3->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str [phi:main::@3->print_str#1] -- pbuz1=pbuc1 
    lda #<str
    sta.z print_str.str
    lda #>str
    sta.z print_str.str+1
    jsr print_str
    // [51] phi from main::@3 to main::@22 [phi:main::@3->main::@22]
  b22_from_b3:
    jmp b22
    // main::@22
  b22:
    // [52] call print_word 
    // [69] phi from main::@22 to print_word [phi:main::@22->print_word]
  print_word_from_b22:
    // [69] phi (word) print_word::w#10 = (word) $7461 [phi:main::@22->print_word#0] -- vwuz1=vwuc1 
    lda #<$7461
    sta.z print_word.w
    lda #>$7461
    sta.z print_word.w+1
    jsr print_word
    // [53] phi from main::@22 to main::@23 [phi:main::@22->main::@23]
  b23_from_b22:
    jmp b23
    // main::@23
  b23:
    // [54] call print_str 
    // [87] phi from main::@23 to print_str [phi:main::@23->print_str]
  print_str_from_b23:
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@23->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@23->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // [55] phi from main::@23 to main::@24 [phi:main::@23->main::@24]
  b24_from_b23:
    jmp b24
    // main::@24
  b24:
    // [56] call print_word 
    // [69] phi from main::@24 to print_word [phi:main::@24->print_word]
  print_word_from_b24:
    // [69] phi (word) print_word::w#10 = (word) $f781 [phi:main::@24->print_word#0] -- vwuz1=vwuc1 
    lda #<$f781
    sta.z print_word.w
    lda #>$f781
    sta.z print_word.w+1
    jsr print_word
    // [57] phi from main::@24 to main::@25 [phi:main::@24->main::@25]
  b25_from_b24:
    jmp b25
    // main::@25
  b25:
    // [58] call print_str 
    // [87] phi from main::@25 to print_str [phi:main::@25->print_str]
  print_str_from_b25:
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@25->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@25->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // [59] phi from main::@25 to main::@26 [phi:main::@25->main::@26]
  b26_from_b25:
    jmp b26
    // main::@26
  b26:
    // [60] call print_word 
    // [69] phi from main::@26 to print_word [phi:main::@26->print_word]
  print_word_from_b26:
    // [69] phi (word) print_word::w#10 = (word) $6488 [phi:main::@26->print_word#0] -- vwuz1=vwuc1 
    lda #<$6488
    sta.z print_word.w
    lda #>$6488
    sta.z print_word.w+1
    jsr print_word
    // [61] phi from main::@26 to main::@27 [phi:main::@26->main::@27]
  b27_from_b26:
    jmp b27
    // main::@27
  b27:
    // [62] call print_ln 
    // [64] phi from main::@27 to print_ln [phi:main::@27->print_ln]
  print_ln_from_b27:
    // [64] phi (byte*) print_line_cursor#21 = (byte*) print_line_cursor#1 [phi:main::@27->print_ln#0] -- register_copy 
    jsr print_ln
    jmp breturn
    // main::@return
  breturn:
    // [63] return 
    rts
    str: .text "   "
    .byte 0
    str1: .text " "
    .byte 0
    lintab1: .fill 2*$14, 0
    lintab2: .fill 2*$14, 0
    lintab3: .fill 2*$14, 0
}
  // print_ln
// Print a newline
print_ln: {
    // [65] phi from print_ln print_ln::@1 to print_ln::@1 [phi:print_ln/print_ln::@1->print_ln::@1]
  b1_from_print_ln:
  b1_from_b1:
    // [65] phi (byte*) print_line_cursor#11 = (byte*) print_line_cursor#21 [phi:print_ln/print_ln::@1->print_ln::@1#0] -- register_copy 
    jmp b1
    // print_ln::@1
  b1:
    // [66] (byte*) print_line_cursor#1 ← (byte*) print_line_cursor#11 + (byte) $28 -- pbuz1=pbuz1_plus_vbuc1 
    lda #$28
    clc
    adc.z print_line_cursor
    sta.z print_line_cursor
    bcc !+
    inc.z print_line_cursor+1
  !:
    // [67] if((byte*) print_line_cursor#1<(byte*) print_char_cursor#11) goto print_ln::@1 -- pbuz1_lt_pbuz2_then_la1 
    lda.z print_line_cursor+1
    cmp.z print_char_cursor+1
    bcc b1_from_b1
    bne !+
    lda.z print_line_cursor
    cmp.z print_char_cursor
    bcc b1_from_b1
  !:
    jmp breturn
    // print_ln::@return
  breturn:
    // [68] return 
    rts
}
  // print_word
// Print a word as HEX
// print_word(word zeropage(5) w)
print_word: {
    .label w = 5
    // [70] (byte) print_byte::b#0 ← > (word) print_word::w#10 -- vbuz1=_hi_vwuz2 
    lda.z w+1
    sta.z print_byte.b
    // [71] call print_byte 
    // [75] phi from print_word to print_byte [phi:print_word->print_byte]
  print_byte_from_print_word:
    // [75] phi (byte*) print_char_cursor#81 = (byte*) print_char_cursor#2 [phi:print_word->print_byte#0] -- register_copy 
    // [75] phi (byte) print_byte::b#3 = (byte) print_byte::b#0 [phi:print_word->print_byte#1] -- register_copy 
    jsr print_byte
    jmp b1
    // print_word::@1
  b1:
    // [72] (byte) print_byte::b#1 ← < (word) print_word::w#10 -- vbuz1=_lo_vwuz2 
    lda.z w
    sta.z print_byte.b
    // [73] call print_byte 
    // [75] phi from print_word::@1 to print_byte [phi:print_word::@1->print_byte]
  print_byte_from_b1:
    // [75] phi (byte*) print_char_cursor#81 = (byte*) print_char_cursor#11 [phi:print_word::@1->print_byte#0] -- register_copy 
    // [75] phi (byte) print_byte::b#3 = (byte) print_byte::b#1 [phi:print_word::@1->print_byte#1] -- register_copy 
    jsr print_byte
    jmp breturn
    // print_word::@return
  breturn:
    // [74] return 
    rts
}
  // print_byte
// Print a byte as HEX
// print_byte(byte zeropage(2) b)
print_byte: {
    .label b = 2
    // [76] (byte~) print_byte::$0 ← (byte) print_byte::b#3 >> (byte) 4 -- vbuaa=vbuz1_ror_4 
    lda.z b
    lsr
    lsr
    lsr
    lsr
    // [77] (byte) print_char::ch#0 ← *((const byte[]) print_hextab#0 + (byte~) print_byte::$0) -- vbuaa=pbuc1_derefidx_vbuaa 
    tay
    lda print_hextab,y
    // [78] call print_char 
    // [83] phi from print_byte to print_char [phi:print_byte->print_char]
  print_char_from_print_byte:
    // [83] phi (byte*) print_char_cursor#50 = (byte*) print_char_cursor#81 [phi:print_byte->print_char#0] -- register_copy 
    // [83] phi (byte) print_char::ch#2 = (byte) print_char::ch#0 [phi:print_byte->print_char#1] -- register_copy 
    jsr print_char
    jmp b1
    // print_byte::@1
  b1:
    // [79] (byte~) print_byte::$2 ← (byte) print_byte::b#3 & (byte) $f -- vbuaa=vbuz1_band_vbuc1 
    lda #$f
    and.z b
    // [80] (byte) print_char::ch#1 ← *((const byte[]) print_hextab#0 + (byte~) print_byte::$2) -- vbuaa=pbuc1_derefidx_vbuaa 
    tay
    lda print_hextab,y
    // [81] call print_char 
    // [83] phi from print_byte::@1 to print_char [phi:print_byte::@1->print_char]
  print_char_from_b1:
    // [83] phi (byte*) print_char_cursor#50 = (byte*) print_char_cursor#11 [phi:print_byte::@1->print_char#0] -- register_copy 
    // [83] phi (byte) print_char::ch#2 = (byte) print_char::ch#1 [phi:print_byte::@1->print_char#1] -- register_copy 
    jsr print_char
    jmp breturn
    // print_byte::@return
  breturn:
    // [82] return 
    rts
}
  // print_char
// Print a single char
// print_char(byte register(A) ch)
print_char: {
    // [84] *((byte*) print_char_cursor#50) ← (byte) print_char::ch#2 -- _deref_pbuz1=vbuaa 
    ldy #0
    sta (print_char_cursor),y
    // [85] (byte*) print_char_cursor#11 ← ++ (byte*) print_char_cursor#50 -- pbuz1=_inc_pbuz1 
    inc.z print_char_cursor
    bne !+
    inc.z print_char_cursor+1
  !:
    jmp breturn
    // print_char::@return
  breturn:
    // [86] return 
    rts
}
  // print_str
// Print a zero-terminated string
// print_str(byte* zeropage(5) str)
print_str: {
    .label str = 5
    // [88] phi from print_str print_str::@2 to print_str::@1 [phi:print_str/print_str::@2->print_str::@1]
  b1_from_print_str:
  b1_from_b2:
    // [88] phi (byte*) print_char_cursor#2 = (byte*) print_char_cursor#86 [phi:print_str/print_str::@2->print_str::@1#0] -- register_copy 
    // [88] phi (byte*) print_str::str#10 = (byte*) print_str::str#12 [phi:print_str/print_str::@2->print_str::@1#1] -- register_copy 
    jmp b1
    // print_str::@1
  b1:
    // [89] if((byte) 0!=*((byte*) print_str::str#10)) goto print_str::@2 -- vbuc1_neq__deref_pbuz1_then_la1 
    ldy #0
    lda (str),y
    cmp #0
    bne b2
    jmp breturn
    // print_str::@return
  breturn:
    // [90] return 
    rts
    // print_str::@2
  b2:
    // [91] *((byte*) print_char_cursor#2) ← *((byte*) print_str::str#10) -- _deref_pbuz1=_deref_pbuz2 
    ldy #0
    lda (str),y
    ldy #0
    sta (print_char_cursor),y
    // [92] (byte*) print_char_cursor#1 ← ++ (byte*) print_char_cursor#2 -- pbuz1=_inc_pbuz1 
    inc.z print_char_cursor
    bne !+
    inc.z print_char_cursor+1
  !:
    // [93] (byte*) print_str::str#0 ← ++ (byte*) print_str::str#10 -- pbuz1=_inc_pbuz1 
    inc.z str
    bne !+
    inc.z str+1
  !:
    jmp b1_from_b2
}
  // print_cls
// Clear the screen. Also resets current line/char cursor.
print_cls: {
    // [95] call memset 
    // [97] phi from print_cls to memset [phi:print_cls->memset]
  memset_from_print_cls:
    jsr memset
    jmp breturn
    // print_cls::@return
  breturn:
    // [96] return 
    rts
}
  // memset
// Copies the character c (an unsigned char) to the first num characters of the object pointed to by the argument str.
memset: {
    .const c = ' '
    .const num = $3e8
    .label str = $400
    .label end = str+num
    .label dst = $b
    // [98] phi from memset to memset::@2 [phi:memset->memset::@2]
  b2_from_memset:
    // [98] phi (byte*) memset::dst#4 = (byte*)(const void*) memset::str#0 [phi:memset->memset::@2#0] -- pbuz1=pbuc1 
    lda #<str
    sta.z dst
    lda #>str
    sta.z dst+1
    jmp b2
    // [98] phi from memset::@1 to memset::@2 [phi:memset::@1->memset::@2]
  b2_from_b1:
    // [98] phi (byte*) memset::dst#4 = (byte*) memset::dst#1 [phi:memset::@1->memset::@2#0] -- register_copy 
    jmp b2
    // memset::@2
  b2:
    // [99] *((byte*) memset::dst#4) ← (const byte) memset::c#0 -- _deref_pbuz1=vbuc1 
    lda #c
    ldy #0
    sta (dst),y
    // [100] (byte*) memset::dst#1 ← ++ (byte*) memset::dst#4 -- pbuz1=_inc_pbuz1 
    inc.z dst
    bne !+
    inc.z dst+1
  !:
    jmp b1
    // memset::@1
  b1:
    // [101] if((byte*) memset::dst#1!=(const byte*) memset::end#0) goto memset::@2 -- pbuz1_neq_pbuc1_then_la1 
    lda.z dst+1
    cmp #>end
    bne b2_from_b1
    lda.z dst
    cmp #<end
    bne b2_from_b1
    jmp breturn
    // memset::@return
  breturn:
    // [102] return 
    rts
}
  // lin16u_gen
// Generate word linear table
// lintab - the table to generate into
// length - the number of points in a total sinus wavelength (the size of the table)
// lin16u_gen(word zeropage(5) min, word zeropage(3) max, word* zeropage($b) lintab)
lin16u_gen: {
    .label _6 = $17
    .label ampl = 3
    .label stepi = $11
    .label stepf = $f
    .label step = $13
    .label val = 7
    .label lintab = $b
    .label i = $d
    .label max = 3
    .label min = 5
    // [104] (word) lin16u_gen::ampl#0 ← (word) lin16u_gen::max#3 - (word) lin16u_gen::min#3 -- vwuz1=vwuz1_minus_vwuz2 
    lda.z ampl
    sec
    sbc.z min
    sta.z ampl
    lda.z ampl+1
    sbc.z min+1
    sta.z ampl+1
    // [105] (word) divr16u::dividend#1 ← (word) lin16u_gen::ampl#0
    // [106] call divr16u 
    // [123] phi from lin16u_gen to divr16u [phi:lin16u_gen->divr16u]
  divr16u_from_lin16u_gen:
    // [123] phi (word) divr16u::divisor#6 = (byte) $14-(byte) 1 [phi:lin16u_gen->divr16u#0] -- vwuz1=vbuc1 
    lda #<$14-1
    sta.z divr16u.divisor
    lda #>$14-1
    sta.z divr16u.divisor+1
    // [123] phi (word) divr16u::dividend#5 = (word) divr16u::dividend#1 [phi:lin16u_gen->divr16u#1] -- register_copy 
    // [123] phi (word) divr16u::rem#10 = (byte) 0 [phi:lin16u_gen->divr16u#2] -- vwuz1=vbuc1 
    lda #<0
    sta.z divr16u.rem
    lda #>0
    sta.z divr16u.rem+1
    jsr divr16u
    // [107] (word) divr16u::return#2 ← (word) divr16u::return#0
    jmp b3
    // lin16u_gen::@3
  b3:
    // [108] (word) lin16u_gen::stepi#0 ← (word) divr16u::return#2 -- vwuz1=vwuz2 
    lda.z divr16u.return
    sta.z stepi
    lda.z divr16u.return+1
    sta.z stepi+1
    // [109] (word) divr16u::rem#4 ← (word) rem16u#1
    // [110] call divr16u 
    // [123] phi from lin16u_gen::@3 to divr16u [phi:lin16u_gen::@3->divr16u]
  divr16u_from_b3:
    // [123] phi (word) divr16u::divisor#6 = (byte) $14-(byte) 1 [phi:lin16u_gen::@3->divr16u#0] -- vwuz1=vbuc1 
    lda #<$14-1
    sta.z divr16u.divisor
    lda #>$14-1
    sta.z divr16u.divisor+1
    // [123] phi (word) divr16u::dividend#5 = (byte) 0 [phi:lin16u_gen::@3->divr16u#1] -- vwuz1=vbuc1 
    lda #<0
    sta.z divr16u.dividend
    lda #>0
    sta.z divr16u.dividend+1
    // [123] phi (word) divr16u::rem#10 = (word) divr16u::rem#4 [phi:lin16u_gen::@3->divr16u#2] -- register_copy 
    jsr divr16u
    // [111] (word) divr16u::return#3 ← (word) divr16u::return#0
    jmp b4
    // lin16u_gen::@4
  b4:
    // [112] (word) lin16u_gen::stepf#0 ← (word) divr16u::return#3
    // [113] (dword) lin16u_gen::step#0 ← (word) lin16u_gen::stepi#0 dw= (word) lin16u_gen::stepf#0 -- vduz1=vwuz2_dword_vwuz3 
    lda.z stepi
    sta.z step+2
    lda.z stepi+1
    sta.z step+3
    lda.z stepf
    sta.z step
    lda.z stepf+1
    sta.z step+1
    // [114] (dword) lin16u_gen::val#0 ← (word) lin16u_gen::min#3 dw= (word) 0 -- vduz1=vwuz2_dword_vwuc1 
    lda #<0
    sta.z val
    lda #>0
    sta.z val+1
    lda.z min
    sta.z val+2
    lda.z min+1
    sta.z val+3
    // [115] phi from lin16u_gen::@4 to lin16u_gen::@2 [phi:lin16u_gen::@4->lin16u_gen::@2]
  b2_from_b4:
    // [115] phi (word*) lin16u_gen::lintab#9 = (word*) lin16u_gen::lintab#10 [phi:lin16u_gen::@4->lin16u_gen::@2#0] -- register_copy 
    // [115] phi (dword) lin16u_gen::val#4 = (dword) lin16u_gen::val#0 [phi:lin16u_gen::@4->lin16u_gen::@2#1] -- register_copy 
    // [115] phi (word) lin16u_gen::i#4 = (byte) 0 [phi:lin16u_gen::@4->lin16u_gen::@2#2] -- vwuz1=vbuc1 
    lda #<0
    sta.z i
    lda #>0
    sta.z i+1
    jmp b2
    // [115] phi from lin16u_gen::@1 to lin16u_gen::@2 [phi:lin16u_gen::@1->lin16u_gen::@2]
  b2_from_b1:
    // [115] phi (word*) lin16u_gen::lintab#9 = (word*) lin16u_gen::lintab#3 [phi:lin16u_gen::@1->lin16u_gen::@2#0] -- register_copy 
    // [115] phi (dword) lin16u_gen::val#4 = (dword) lin16u_gen::val#1 [phi:lin16u_gen::@1->lin16u_gen::@2#1] -- register_copy 
    // [115] phi (word) lin16u_gen::i#4 = (word) lin16u_gen::i#1 [phi:lin16u_gen::@1->lin16u_gen::@2#2] -- register_copy 
    jmp b2
    // lin16u_gen::@2
  b2:
    // [116] (word~) lin16u_gen::$6 ← > (dword) lin16u_gen::val#4 -- vwuz1=_hi_vduz2 
    lda.z val+2
    sta.z _6
    lda.z val+3
    sta.z _6+1
    // [117] *((word*) lin16u_gen::lintab#9) ← (word~) lin16u_gen::$6 -- _deref_pwuz1=vwuz2 
    ldy #0
    lda.z _6
    sta (lintab),y
    iny
    lda.z _6+1
    sta (lintab),y
    // [118] (dword) lin16u_gen::val#1 ← (dword) lin16u_gen::val#4 + (dword) lin16u_gen::step#0 -- vduz1=vduz1_plus_vduz2 
    lda.z val
    clc
    adc.z step
    sta.z val
    lda.z val+1
    adc.z step+1
    sta.z val+1
    lda.z val+2
    adc.z step+2
    sta.z val+2
    lda.z val+3
    adc.z step+3
    sta.z val+3
    // [119] (word*) lin16u_gen::lintab#3 ← (word*) lin16u_gen::lintab#9 + (const byte) SIZEOF_WORD -- pwuz1=pwuz1_plus_vbuc1 
    lda #SIZEOF_WORD
    clc
    adc.z lintab
    sta.z lintab
    bcc !+
    inc.z lintab+1
  !:
    // [120] (word) lin16u_gen::i#1 ← ++ (word) lin16u_gen::i#4 -- vwuz1=_inc_vwuz1 
    inc.z i
    bne !+
    inc.z i+1
  !:
    jmp b1
    // lin16u_gen::@1
  b1:
    // [121] if((word) lin16u_gen::i#1<(byte) $14) goto lin16u_gen::@2 -- vwuz1_lt_vbuc1_then_la1 
    lda.z i+1
    cmp #>$14
    bcc b2_from_b1
    bne !+
    lda.z i
    cmp #<$14
    bcc b2_from_b1
  !:
    jmp breturn
    // lin16u_gen::@return
  breturn:
    // [122] return 
    rts
}
  // divr16u
// Performs division on two 16 bit unsigned words and an initial remainder
// Returns the quotient dividend/divisor.
// The final remainder will be set into the global variable rem16u
// Implemented using simple binary division
// divr16u(word zeropage(3) dividend, word zeropage($d) divisor, word zeropage($17) rem)
divr16u: {
    .label rem = $17
    .label dividend = 3
    .label quotient = $f
    .label return = $f
    .label divisor = $d
    // [124] phi from divr16u to divr16u::@1 [phi:divr16u->divr16u::@1]
  b1_from_divr16u:
    // [124] phi (byte) divr16u::i#2 = (byte) 0 [phi:divr16u->divr16u::@1#0] -- vbuxx=vbuc1 
    ldx #0
    // [124] phi (word) divr16u::quotient#3 = (byte) 0 [phi:divr16u->divr16u::@1#1] -- vwuz1=vbuc1 
    lda #<0
    sta.z quotient
    lda #>0
    sta.z quotient+1
    // [124] phi (word) divr16u::dividend#3 = (word) divr16u::dividend#5 [phi:divr16u->divr16u::@1#2] -- register_copy 
    // [124] phi (word) divr16u::rem#5 = (word) divr16u::rem#10 [phi:divr16u->divr16u::@1#3] -- register_copy 
    jmp b1
    // [124] phi from divr16u::@3 to divr16u::@1 [phi:divr16u::@3->divr16u::@1]
  b1_from_b3:
    // [124] phi (byte) divr16u::i#2 = (byte) divr16u::i#1 [phi:divr16u::@3->divr16u::@1#0] -- register_copy 
    // [124] phi (word) divr16u::quotient#3 = (word) divr16u::return#0 [phi:divr16u::@3->divr16u::@1#1] -- register_copy 
    // [124] phi (word) divr16u::dividend#3 = (word) divr16u::dividend#0 [phi:divr16u::@3->divr16u::@1#2] -- register_copy 
    // [124] phi (word) divr16u::rem#5 = (word) divr16u::rem#11 [phi:divr16u::@3->divr16u::@1#3] -- register_copy 
    jmp b1
    // divr16u::@1
  b1:
    // [125] (word) divr16u::rem#0 ← (word) divr16u::rem#5 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z rem
    rol.z rem+1
    // [126] (byte~) divr16u::$1 ← > (word) divr16u::dividend#3 -- vbuaa=_hi_vwuz1 
    lda.z dividend+1
    // [127] (byte~) divr16u::$2 ← (byte~) divr16u::$1 & (byte) $80 -- vbuaa=vbuaa_band_vbuc1 
    and #$80
    // [128] if((byte~) divr16u::$2==(byte) 0) goto divr16u::@2 -- vbuaa_eq_0_then_la1 
    cmp #0
    beq b2_from_b1
    jmp b4
    // divr16u::@4
  b4:
    // [129] (word) divr16u::rem#1 ← (word) divr16u::rem#0 | (byte) 1 -- vwuz1=vwuz1_bor_vbuc1 
    lda #1
    ora.z rem
    sta.z rem
    // [130] phi from divr16u::@1 divr16u::@4 to divr16u::@2 [phi:divr16u::@1/divr16u::@4->divr16u::@2]
  b2_from_b1:
  b2_from_b4:
    // [130] phi (word) divr16u::rem#6 = (word) divr16u::rem#0 [phi:divr16u::@1/divr16u::@4->divr16u::@2#0] -- register_copy 
    jmp b2
    // divr16u::@2
  b2:
    // [131] (word) divr16u::dividend#0 ← (word) divr16u::dividend#3 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z dividend
    rol.z dividend+1
    // [132] (word) divr16u::quotient#1 ← (word) divr16u::quotient#3 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z quotient
    rol.z quotient+1
    // [133] if((word) divr16u::rem#6<(word) divr16u::divisor#6) goto divr16u::@3 -- vwuz1_lt_vwuz2_then_la1 
    lda.z rem+1
    cmp.z divisor+1
    bcc b3_from_b2
    bne !+
    lda.z rem
    cmp.z divisor
    bcc b3_from_b2
  !:
    jmp b5
    // divr16u::@5
  b5:
    // [134] (word) divr16u::quotient#2 ← ++ (word) divr16u::quotient#1 -- vwuz1=_inc_vwuz1 
    inc.z quotient
    bne !+
    inc.z quotient+1
  !:
    // [135] (word) divr16u::rem#2 ← (word) divr16u::rem#6 - (word) divr16u::divisor#6 -- vwuz1=vwuz1_minus_vwuz2 
    lda.z rem
    sec
    sbc.z divisor
    sta.z rem
    lda.z rem+1
    sbc.z divisor+1
    sta.z rem+1
    // [136] phi from divr16u::@2 divr16u::@5 to divr16u::@3 [phi:divr16u::@2/divr16u::@5->divr16u::@3]
  b3_from_b2:
  b3_from_b5:
    // [136] phi (word) divr16u::return#0 = (word) divr16u::quotient#1 [phi:divr16u::@2/divr16u::@5->divr16u::@3#0] -- register_copy 
    // [136] phi (word) divr16u::rem#11 = (word) divr16u::rem#6 [phi:divr16u::@2/divr16u::@5->divr16u::@3#1] -- register_copy 
    jmp b3
    // divr16u::@3
  b3:
    // [137] (byte) divr16u::i#1 ← ++ (byte) divr16u::i#2 -- vbuxx=_inc_vbuxx 
    inx
    // [138] if((byte) divr16u::i#1!=(byte) $10) goto divr16u::@1 -- vbuxx_neq_vbuc1_then_la1 
    cpx #$10
    bne b1_from_b3
    jmp b6
    // divr16u::@6
  b6:
    // [139] (word) rem16u#1 ← (word) divr16u::rem#11
    jmp breturn
    // divr16u::@return
  breturn:
    // [140] return 
    rts
}
  // File Data
  print_hextab: .text "0123456789abcdef"

ASSEMBLER OPTIMIZATIONS
Removing instruction jmp b1
Removing instruction jmp bend
Removing instruction jmp b4
Removing instruction jmp b5
Removing instruction jmp b6
Removing instruction jmp b7
Removing instruction jmp b8
Removing instruction jmp b9
Removing instruction jmp b10
Removing instruction jmp b11
Removing instruction jmp b12
Removing instruction jmp b13
Removing instruction jmp b2
Removing instruction jmp b14
Removing instruction jmp b15
Removing instruction jmp b16
Removing instruction jmp b17
Removing instruction jmp b18
Removing instruction jmp b19
Removing instruction jmp b20
Removing instruction jmp b21
Removing instruction jmp b1
Removing instruction jmp b3
Removing instruction jmp b22
Removing instruction jmp b23
Removing instruction jmp b24
Removing instruction jmp b25
Removing instruction jmp b26
Removing instruction jmp b27
Removing instruction jmp breturn
Removing instruction jmp b1
Removing instruction jmp breturn
Removing instruction jmp b1
Removing instruction jmp breturn
Removing instruction jmp b1
Removing instruction jmp breturn
Removing instruction jmp breturn
Removing instruction jmp b1
Removing instruction jmp breturn
Removing instruction jmp breturn
Removing instruction jmp b2
Removing instruction jmp b1
Removing instruction jmp breturn
Removing instruction jmp b3
Removing instruction jmp b4
Removing instruction jmp b2
Removing instruction jmp b1
Removing instruction jmp breturn
Removing instruction jmp b1
Removing instruction jmp b4
Removing instruction jmp b2
Removing instruction jmp b5
Removing instruction jmp b3
Removing instruction jmp b6
Removing instruction jmp breturn
Succesful ASM optimization Pass5NextJumpElimination
Removing instruction lda #>0
Removing instruction lda #>0
Removing instruction ldy #0
Removing instruction lda #>0
Removing instruction lda #>0
Removing instruction lda #>0
Removing instruction lda #>0
Replacing instruction lda #<0 with TXA
Removing instruction lda #>0
Succesful ASM optimization Pass5UnnecesaryLoadElimination
Replacing label b2_from_b1 with b2
Replacing label b1_from_b1 with b1
Replacing label b1_from_b1 with b1
Replacing label b1_from_b2 with b1
Replacing label b2_from_b1 with b2
Replacing label b2_from_b1 with b2
Replacing label b2_from_b1 with b2
Replacing label b2_from_b1 with b2
Replacing label b2_from_b1 with b2
Replacing label b3_from_b2 with b3
Replacing label b3_from_b2 with b3
Replacing label b1_from_b3 with b1
Removing instruction b1_from_bbegin:
Removing instruction b1:
Removing instruction main_from_b1:
Removing instruction bend_from_b1:
Removing instruction b4_from_main:
Removing instruction lin16u_gen_from_b4:
Removing instruction b5_from_b4:
Removing instruction lin16u_gen_from_b5:
Removing instruction b6_from_b5:
Removing instruction print_cls_from_b6:
Removing instruction b7_from_b6:
Removing instruction print_str_from_b7:
Removing instruction b8_from_b7:
Removing instruction print_word_from_b8:
Removing instruction b9_from_b8:
Removing instruction print_str_from_b9:
Removing instruction b10_from_b9:
Removing instruction print_word_from_b10:
Removing instruction b11_from_b10:
Removing instruction print_str_from_b11:
Removing instruction b12_from_b11:
Removing instruction print_word_from_b12:
Removing instruction b13_from_b12:
Removing instruction print_ln_from_b13:
Removing instruction b2_from_b1:
Removing instruction b14_from_b2:
Removing instruction print_str_from_b14:
Removing instruction b16_from_b15:
Removing instruction print_str_from_b16:
Removing instruction b18_from_b17:
Removing instruction print_str_from_b18:
Removing instruction b20_from_b19:
Removing instruction print_ln_from_b20:
Removing instruction b22_from_b3:
Removing instruction print_word_from_b22:
Removing instruction b23_from_b22:
Removing instruction print_str_from_b23:
Removing instruction b24_from_b23:
Removing instruction print_word_from_b24:
Removing instruction b25_from_b24:
Removing instruction print_str_from_b25:
Removing instruction b26_from_b25:
Removing instruction print_word_from_b26:
Removing instruction b27_from_b26:
Removing instruction print_ln_from_b27:
Removing instruction b1_from_print_ln:
Removing instruction b1_from_b1:
Removing instruction b1_from_print_str:
Removing instruction b1_from_b2:
Removing instruction b2_from_b1:
Removing instruction b2_from_b1:
Removing instruction b1_from_b3:
Removing instruction b2_from_b1:
Removing instruction b2_from_b4:
Removing instruction b3_from_b2:
Removing instruction b3_from_b5:
Removing instruction breturn:
Succesful ASM optimization Pass5RedundantLabelElimination
Removing instruction bend:
Removing instruction lin16u_gen_from_main:
Removing instruction b4:
Removing instruction b5:
Removing instruction b6:
Removing instruction b7:
Removing instruction b8:
Removing instruction b9:
Removing instruction b10:
Removing instruction b11:
Removing instruction b12:
Removing instruction b13:
Removing instruction b2_from_b13:
Removing instruction print_byte_from_b2:
Removing instruction b14:
Removing instruction b15:
Removing instruction print_word_from_b15:
Removing instruction b16:
Removing instruction b17:
Removing instruction print_word_from_b17:
Removing instruction b18:
Removing instruction b19:
Removing instruction print_word_from_b19:
Removing instruction b20:
Removing instruction b21:
Removing instruction b1:
Removing instruction b3:
Removing instruction print_str_from_b3:
Removing instruction b22:
Removing instruction b23:
Removing instruction b24:
Removing instruction b25:
Removing instruction b26:
Removing instruction b27:
Removing instruction breturn:
Removing instruction breturn:
Removing instruction print_byte_from_print_word:
Removing instruction b1:
Removing instruction print_byte_from_b1:
Removing instruction breturn:
Removing instruction print_char_from_print_byte:
Removing instruction b1:
Removing instruction print_char_from_b1:
Removing instruction breturn:
Removing instruction breturn:
Removing instruction breturn:
Removing instruction memset_from_print_cls:
Removing instruction breturn:
Removing instruction b2_from_memset:
Removing instruction b1:
Removing instruction breturn:
Removing instruction divr16u_from_lin16u_gen:
Removing instruction b3:
Removing instruction divr16u_from_b3:
Removing instruction b4:
Removing instruction b2_from_b4:
Removing instruction b1:
Removing instruction breturn:
Removing instruction b1_from_divr16u:
Removing instruction b4:
Removing instruction b5:
Removing instruction b6:
Succesful ASM optimization Pass5UnusedLabelElimination
Updating BasicUpstart to call main directly
Removing instruction jsr main
Succesful ASM optimization Pass5SkipBegin
Removing instruction jmp b2
Removing instruction jmp b2
Removing instruction jmp b2
Removing instruction jmp b1
Succesful ASM optimization Pass5NextJumpElimination
Removing instruction bbegin:
Succesful ASM optimization Pass5UnusedLabelElimination

FINAL SYMBOL TABLE
(label) @1
(label) @begin
(label) @end
(const byte) RADIX::BINARY BINARY = (number) 2
(const byte) RADIX::DECIMAL DECIMAL = (number) $a
(const byte) RADIX::HEXADECIMAL HEXADECIMAL = (number) $10
(const byte) RADIX::OCTAL OCTAL = (number) 8
(const byte) SIZEOF_WORD SIZEOF_WORD = (byte) 2
(word()) divr16u((word) divr16u::dividend , (word) divr16u::divisor , (word) divr16u::rem)
(byte~) divr16u::$1 reg byte a 22.0
(byte~) divr16u::$2 reg byte a 22.0
(label) divr16u::@1
(label) divr16u::@2
(label) divr16u::@3
(label) divr16u::@4
(label) divr16u::@5
(label) divr16u::@6
(label) divr16u::@return
(word) divr16u::dividend
(word) divr16u::dividend#0 dividend zp ZP_WORD:3 2.75
(word) divr16u::dividend#1 dividend zp ZP_WORD:3 4.0
(word) divr16u::dividend#3 dividend zp ZP_WORD:3 5.0
(word) divr16u::dividend#5 dividend zp ZP_WORD:3 4.0
(word) divr16u::divisor
(word) divr16u::divisor#6 divisor zp ZP_WORD:13 1.375
(byte) divr16u::i
(byte) divr16u::i#1 reg byte x 16.5
(byte) divr16u::i#2 reg byte x 1.6923076923076923
(word) divr16u::quotient
(word) divr16u::quotient#1 quotient zp ZP_WORD:15 16.5
(word) divr16u::quotient#2 quotient zp ZP_WORD:15 11.0
(word) divr16u::quotient#3 quotient zp ZP_WORD:15 2.75
(word) divr16u::rem
(word) divr16u::rem#0 rem zp ZP_WORD:23 8.25
(word) divr16u::rem#1 rem zp ZP_WORD:23 22.0
(word) divr16u::rem#10 rem zp ZP_WORD:23 4.0
(word) divr16u::rem#11 rem zp ZP_WORD:23 11.666666666666666
(word) divr16u::rem#2 rem zp ZP_WORD:23 22.0
(word) divr16u::rem#4 rem zp ZP_WORD:23 4.0
(word) divr16u::rem#5 rem zp ZP_WORD:23 24.0
(word) divr16u::rem#6 rem zp ZP_WORD:23 11.0
(word) divr16u::return
(word) divr16u::return#0 return zp ZP_WORD:15 5.285714285714286
(word) divr16u::return#2 return zp ZP_WORD:15 4.0
(word) divr16u::return#3 return zp ZP_WORD:15 4.0
(void()) lin16u_gen((word) lin16u_gen::min , (word) lin16u_gen::max , (word*) lin16u_gen::lintab , (word) lin16u_gen::length)
(word~) lin16u_gen::$6 $6 zp ZP_WORD:23 22.0
(label) lin16u_gen::@1
(label) lin16u_gen::@2
(label) lin16u_gen::@3
(label) lin16u_gen::@4
(label) lin16u_gen::@return
(word) lin16u_gen::ampl
(word) lin16u_gen::ampl#0 ampl zp ZP_WORD:3 4.0
(word) lin16u_gen::i
(word) lin16u_gen::i#1 i zp ZP_WORD:13 16.5
(word) lin16u_gen::i#4 i zp ZP_WORD:13 4.4
(word) lin16u_gen::length
(word*) lin16u_gen::lintab
(word*) lin16u_gen::lintab#10 lintab zp ZP_WORD:11 0.16666666666666666
(word*) lin16u_gen::lintab#3 lintab zp ZP_WORD:11 7.333333333333333
(word*) lin16u_gen::lintab#9 lintab zp ZP_WORD:11 8.75
(word) lin16u_gen::max
(word) lin16u_gen::max#3 max zp ZP_WORD:3 2.0
(word) lin16u_gen::min
(word) lin16u_gen::min#3 min zp ZP_WORD:5 0.36363636363636365
(dword) lin16u_gen::step
(dword) lin16u_gen::step#0 step zp ZP_DWORD:19 1.4444444444444446
(word) lin16u_gen::stepf
(word) lin16u_gen::stepf#0 stepf zp ZP_WORD:15 4.0
(word) lin16u_gen::stepi
(word) lin16u_gen::stepi#0 stepi zp ZP_WORD:17 0.8
(dword) lin16u_gen::val
(dword) lin16u_gen::val#0 val zp ZP_DWORD:7 4.0
(dword) lin16u_gen::val#1 val zp ZP_DWORD:7 5.5
(dword) lin16u_gen::val#4 val zp ZP_DWORD:7 11.666666666666666
(void()) main()
(byte~) main::$27 reg byte a 22.0
(byte~) main::$28 reg byte a 22.0
(byte~) main::$29 reg byte a 22.0
(label) main::@1
(label) main::@10
(label) main::@11
(label) main::@12
(label) main::@13
(label) main::@14
(label) main::@15
(label) main::@16
(label) main::@17
(label) main::@18
(label) main::@19
(label) main::@2
(label) main::@20
(label) main::@21
(label) main::@22
(label) main::@23
(label) main::@24
(label) main::@25
(label) main::@26
(label) main::@27
(label) main::@3
(label) main::@4
(label) main::@5
(label) main::@6
(label) main::@7
(label) main::@8
(label) main::@9
(label) main::@return
(byte) main::i
(byte) main::i#1 reg byte x 16.5
(byte) main::i#12 reg byte x 3.142857142857143
(word[$14]) main::lintab1
(const word[$14]) main::lintab1#0 lintab1 = { fill( $14, 0) }
(word[$14]) main::lintab2
(const word[$14]) main::lintab2#0 lintab2 = { fill( $14, 0) }
(word[$14]) main::lintab3
(const word[$14]) main::lintab3#0 lintab3 = { fill( $14, 0) }
(const string) main::str str = (string) "   "
(const string) main::str1 str1 = (string) " "
(void*()) memset((void*) memset::str , (byte) memset::c , (word) memset::num)
(label) memset::@1
(label) memset::@2
(label) memset::@return
(byte) memset::c
(const byte) memset::c#0 c = (byte) ' '
(byte*) memset::dst
(byte*) memset::dst#1 dst zp ZP_WORD:11 16.5
(byte*) memset::dst#4 dst zp ZP_WORD:11 16.5
(byte*) memset::end
(const byte*) memset::end#0 end = (byte*)(const void*) memset::str#0+(const word) memset::num#0
(word) memset::num
(const word) memset::num#0 num = (word) $3e8
(void*) memset::return
(void*) memset::str
(const void*) memset::str#0 str = (void*)(byte*) 1024
(void()) print_byte((byte) print_byte::b)
(byte~) print_byte::$0 reg byte a 4.0
(byte~) print_byte::$2 reg byte a 4.0
(label) print_byte::@1
(label) print_byte::@return
(byte) print_byte::b
(byte) print_byte::b#0 b zp ZP_BYTE:2 4.0
(byte) print_byte::b#1 b zp ZP_BYTE:2 4.0
(byte) print_byte::b#2 b zp ZP_BYTE:2 11.0
(byte) print_byte::b#3 b zp ZP_BYTE:2 4.75
(void()) print_char((byte) print_char::ch)
(label) print_char::@return
(byte) print_char::ch
(byte) print_char::ch#0 reg byte a 4.0
(byte) print_char::ch#1 reg byte a 4.0
(byte) print_char::ch#2 reg byte a 6.0
(byte*) print_char_cursor
(byte*) print_char_cursor#1 print_char_cursor zp ZP_WORD:3 101.0
(byte*~) print_char_cursor#102 print_char_cursor zp ZP_WORD:3 22.0
(byte*) print_char_cursor#11 print_char_cursor zp ZP_WORD:3 4.228571428571427
(byte*) print_char_cursor#2 print_char_cursor zp ZP_WORD:3 11.37037037037037
(byte*) print_char_cursor#50 print_char_cursor zp ZP_WORD:3 4.0
(byte*) print_char_cursor#81 print_char_cursor zp ZP_WORD:3 5.666666666666667
(byte*) print_char_cursor#86 print_char_cursor zp ZP_WORD:3 45.0
(byte*~) print_char_cursor#99 print_char_cursor zp ZP_WORD:3 4.0
(void()) print_cls()
(label) print_cls::@return
(byte[]) print_hextab
(const byte[]) print_hextab#0 print_hextab = (string) "0123456789abcdef"z
(byte*) print_line_cursor
(byte*) print_line_cursor#1 print_line_cursor zp ZP_WORD:11 8.225
(byte*) print_line_cursor#11 print_line_cursor zp ZP_WORD:11 204.0
(byte*) print_line_cursor#21 print_line_cursor zp ZP_WORD:11 15.0
(void()) print_ln()
(label) print_ln::@1
(label) print_ln::@return
(byte*) print_screen
(void()) print_str((byte*) print_str::str)
(label) print_str::@1
(label) print_str::@2
(label) print_str::@return
(byte*) print_str::str
(byte*) print_str::str#0 str zp ZP_WORD:5 202.0
(byte*) print_str::str#10 str zp ZP_WORD:5 101.5
(byte*) print_str::str#12 str zp ZP_WORD:5 2.0
(void()) print_word((word) print_word::w)
(label) print_word::@1
(label) print_word::@return
(word) print_word::w
(word) print_word::w#10 w zp ZP_WORD:5 12.333333333333332
(word) print_word::w#3 w zp ZP_WORD:5 22.0
(word) print_word::w#4 w zp ZP_WORD:5 22.0
(word) print_word::w#5 w zp ZP_WORD:5 22.0
(word) rem16u
(word) rem16u#1 rem16u zp ZP_WORD:23 0.8

reg byte x [ main::i#12 main::i#1 ]
zp ZP_BYTE:2 [ print_byte::b#3 print_byte::b#2 print_byte::b#0 print_byte::b#1 ]
reg byte a [ print_char::ch#2 print_char::ch#0 print_char::ch#1 ]
zp ZP_WORD:3 [ lin16u_gen::max#3 lin16u_gen::ampl#0 divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#1 divr16u::dividend#0 print_char_cursor#86 print_char_cursor#50 print_char_cursor#81 print_char_cursor#102 print_char_cursor#2 print_char_cursor#11 print_char_cursor#99 print_char_cursor#1 ]
zp ZP_WORD:5 [ lin16u_gen::min#3 print_str::str#10 print_str::str#12 print_str::str#0 print_word::w#10 print_word::w#3 print_word::w#4 print_word::w#5 ]
zp ZP_DWORD:7 [ lin16u_gen::val#4 lin16u_gen::val#1 lin16u_gen::val#0 ]
zp ZP_WORD:11 [ lin16u_gen::lintab#9 lin16u_gen::lintab#3 lin16u_gen::lintab#10 memset::dst#4 memset::dst#1 print_line_cursor#11 print_line_cursor#21 print_line_cursor#1 ]
zp ZP_WORD:13 [ divr16u::divisor#6 lin16u_gen::i#4 lin16u_gen::i#1 ]
zp ZP_WORD:15 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 divr16u::return#2 divr16u::return#3 lin16u_gen::stepf#0 ]
reg byte x [ divr16u::i#2 divr16u::i#1 ]
reg byte a [ main::$27 ]
reg byte a [ main::$28 ]
reg byte a [ main::$29 ]
reg byte a [ print_byte::$0 ]
reg byte a [ print_byte::$2 ]
zp ZP_WORD:17 [ lin16u_gen::stepi#0 ]
zp ZP_DWORD:19 [ lin16u_gen::step#0 ]
zp ZP_WORD:23 [ lin16u_gen::$6 divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 rem16u#1 ]
reg byte a [ divr16u::$1 ]
reg byte a [ divr16u::$2 ]


FINAL ASSEMBLER
Score: 13523

  // File Comments
// Linear table generator
// Work in progress towards a sinus generator
  // Upstart
.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $80d "Program"
  // Global Constants & labels
  .const SIZEOF_WORD = 2
  .label rem16u = $17
  .label print_char_cursor = 3
  .label print_line_cursor = $b
  // @begin
  // [1] phi from @begin to @1 [phi:@begin->@1]
  // @1
  // [2] call main 
  // [4] phi from @1 to main [phi:@1->main]
  // [3] phi from @1 to @end [phi:@1->@end]
  // @end
  // main
main: {
    // lin16u_gen(557, 29793, lintab1, 20)
    // [5] call lin16u_gen 
    // [103] phi from main to lin16u_gen [phi:main->lin16u_gen]
    // [103] phi (word*) lin16u_gen::lintab#10 = (const word[$14]) main::lintab1#0 [phi:main->lin16u_gen#0] -- pwuz1=pwuc1 
    lda #<lintab1
    sta.z lin16u_gen.lintab
    lda #>lintab1
    sta.z lin16u_gen.lintab+1
    // [103] phi (word) lin16u_gen::min#3 = (word) $22d [phi:main->lin16u_gen#1] -- vwuz1=vwuc1 
    lda #<$22d
    sta.z lin16u_gen.min
    lda #>$22d
    sta.z lin16u_gen.min+1
    // [103] phi (word) lin16u_gen::max#3 = (word) $7461 [phi:main->lin16u_gen#2] -- vwuz1=vwuc1 
    lda #<$7461
    sta.z lin16u_gen.max
    lda #>$7461
    sta.z lin16u_gen.max+1
    jsr lin16u_gen
    // [6] phi from main to main::@4 [phi:main->main::@4]
    // main::@4
    // lin16u_gen(31179, 63361, lintab2, 20)
    // [7] call lin16u_gen 
    // [103] phi from main::@4 to lin16u_gen [phi:main::@4->lin16u_gen]
    // [103] phi (word*) lin16u_gen::lintab#10 = (const word[$14]) main::lintab2#0 [phi:main::@4->lin16u_gen#0] -- pwuz1=pwuc1 
    lda #<lintab2
    sta.z lin16u_gen.lintab
    lda #>lintab2
    sta.z lin16u_gen.lintab+1
    // [103] phi (word) lin16u_gen::min#3 = (word) $79cb [phi:main::@4->lin16u_gen#1] -- vwuz1=vwuc1 
    lda #<$79cb
    sta.z lin16u_gen.min
    lda #>$79cb
    sta.z lin16u_gen.min+1
    // [103] phi (word) lin16u_gen::max#3 = (word) $f781 [phi:main::@4->lin16u_gen#2] -- vwuz1=vwuc1 
    lda #<$f781
    sta.z lin16u_gen.max
    lda #>$f781
    sta.z lin16u_gen.max+1
    jsr lin16u_gen
    // [8] phi from main::@4 to main::@5 [phi:main::@4->main::@5]
    // main::@5
    // lin16u_gen(0, $6488, lintab3, 20)
    // [9] call lin16u_gen 
    // [103] phi from main::@5 to lin16u_gen [phi:main::@5->lin16u_gen]
    // [103] phi (word*) lin16u_gen::lintab#10 = (const word[$14]) main::lintab3#0 [phi:main::@5->lin16u_gen#0] -- pwuz1=pwuc1 
    lda #<lintab3
    sta.z lin16u_gen.lintab
    lda #>lintab3
    sta.z lin16u_gen.lintab+1
    // [103] phi (word) lin16u_gen::min#3 = (byte) 0 [phi:main::@5->lin16u_gen#1] -- vwuz1=vbuc1 
    lda #<0
    sta.z lin16u_gen.min
    sta.z lin16u_gen.min+1
    // [103] phi (word) lin16u_gen::max#3 = (word) $6488 [phi:main::@5->lin16u_gen#2] -- vwuz1=vwuc1 
    lda #<$6488
    sta.z lin16u_gen.max
    lda #>$6488
    sta.z lin16u_gen.max+1
    jsr lin16u_gen
    // [10] phi from main::@5 to main::@6 [phi:main::@5->main::@6]
    // main::@6
    // print_cls()
    // [11] call print_cls 
    // [94] phi from main::@6 to print_cls [phi:main::@6->print_cls]
    jsr print_cls
    // [12] phi from main::@6 to main::@7 [phi:main::@6->main::@7]
    // main::@7
    // print_str("   ")
    // [13] call print_str 
    // [87] phi from main::@7 to print_str [phi:main::@7->print_str]
    // [87] phi (byte*) print_char_cursor#86 = (byte*) 1024 [phi:main::@7->print_str#0] -- pbuz1=pbuc1 
    lda #<$400
    sta.z print_char_cursor
    lda #>$400
    sta.z print_char_cursor+1
    // [87] phi (byte*) print_str::str#12 = (const string) main::str [phi:main::@7->print_str#1] -- pbuz1=pbuc1 
    lda #<str
    sta.z print_str.str
    lda #>str
    sta.z print_str.str+1
    jsr print_str
    // [14] phi from main::@7 to main::@8 [phi:main::@7->main::@8]
    // main::@8
    // print_word(557)
    // [15] call print_word 
    // [69] phi from main::@8 to print_word [phi:main::@8->print_word]
    // [69] phi (word) print_word::w#10 = (word) $22d [phi:main::@8->print_word#0] -- vwuz1=vwuc1 
    lda #<$22d
    sta.z print_word.w
    lda #>$22d
    sta.z print_word.w+1
    jsr print_word
    // [16] phi from main::@8 to main::@9 [phi:main::@8->main::@9]
    // main::@9
    // print_str(" ")
    // [17] call print_str 
    // [87] phi from main::@9 to print_str [phi:main::@9->print_str]
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@9->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@9->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // [18] phi from main::@9 to main::@10 [phi:main::@9->main::@10]
    // main::@10
    // print_word(31179)
    // [19] call print_word 
    // [69] phi from main::@10 to print_word [phi:main::@10->print_word]
    // [69] phi (word) print_word::w#10 = (word) $79cb [phi:main::@10->print_word#0] -- vwuz1=vwuc1 
    lda #<$79cb
    sta.z print_word.w
    lda #>$79cb
    sta.z print_word.w+1
    jsr print_word
    // [20] phi from main::@10 to main::@11 [phi:main::@10->main::@11]
    // main::@11
    // print_str(" ")
    // [21] call print_str 
    // [87] phi from main::@11 to print_str [phi:main::@11->print_str]
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@11->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@11->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // [22] phi from main::@11 to main::@12 [phi:main::@11->main::@12]
    // main::@12
    // print_word(0)
    // [23] call print_word 
    // [69] phi from main::@12 to print_word [phi:main::@12->print_word]
    // [69] phi (word) print_word::w#10 = (byte) 0 [phi:main::@12->print_word#0] -- vwuz1=vbuc1 
    lda #<0
    sta.z print_word.w
    sta.z print_word.w+1
    jsr print_word
    // [24] phi from main::@12 to main::@13 [phi:main::@12->main::@13]
    // main::@13
    // print_ln()
    // [25] call print_ln 
    // [64] phi from main::@13 to print_ln [phi:main::@13->print_ln]
    // [64] phi (byte*) print_line_cursor#21 = (byte*) 1024 [phi:main::@13->print_ln#0] -- pbuz1=pbuc1 
    lda #<$400
    sta.z print_line_cursor
    lda #>$400
    sta.z print_line_cursor+1
    jsr print_ln
    // [26] phi from main::@13 to main::@2 [phi:main::@13->main::@2]
    // [26] phi (byte) main::i#12 = (byte) 0 [phi:main::@13->main::@2#0] -- vbuxx=vbuc1 
    ldx #0
    // [26] phi from main::@1 to main::@2 [phi:main::@1->main::@2]
    // [26] phi (byte) main::i#12 = (byte) main::i#1 [phi:main::@1->main::@2#0] -- register_copy 
    // main::@2
  b2:
    // print_byte(i)
    // [27] (byte) print_byte::b#2 ← (byte) main::i#12 -- vbuz1=vbuxx 
    stx.z print_byte.b
    // [28] (byte*~) print_char_cursor#102 ← (byte*) print_line_cursor#1 -- pbuz1=pbuz2 
    lda.z print_line_cursor
    sta.z print_char_cursor
    lda.z print_line_cursor+1
    sta.z print_char_cursor+1
    // print_byte(i)
    // [29] call print_byte 
    // [75] phi from main::@2 to print_byte [phi:main::@2->print_byte]
    // [75] phi (byte*) print_char_cursor#81 = (byte*~) print_char_cursor#102 [phi:main::@2->print_byte#0] -- register_copy 
    // [75] phi (byte) print_byte::b#3 = (byte) print_byte::b#2 [phi:main::@2->print_byte#1] -- register_copy 
    jsr print_byte
    // [30] phi from main::@2 to main::@14 [phi:main::@2->main::@14]
    // main::@14
    // print_str(" ")
    // [31] call print_str 
    // [87] phi from main::@14 to print_str [phi:main::@14->print_str]
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@14->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@14->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // main::@15
    // print_word(lintab1[i])
    // [32] (byte~) main::$27 ← (byte) main::i#12 << (byte) 1 -- vbuaa=vbuxx_rol_1 
    txa
    asl
    // [33] (word) print_word::w#3 ← *((const word[$14]) main::lintab1#0 + (byte~) main::$27) -- vwuz1=pwuc1_derefidx_vbuaa 
    tay
    lda lintab1,y
    sta.z print_word.w
    lda lintab1+1,y
    sta.z print_word.w+1
    // [34] call print_word 
    // [69] phi from main::@15 to print_word [phi:main::@15->print_word]
    // [69] phi (word) print_word::w#10 = (word) print_word::w#3 [phi:main::@15->print_word#0] -- register_copy 
    jsr print_word
    // [35] phi from main::@15 to main::@16 [phi:main::@15->main::@16]
    // main::@16
    // print_str(" ")
    // [36] call print_str 
    // [87] phi from main::@16 to print_str [phi:main::@16->print_str]
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@16->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@16->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // main::@17
    // print_word(lintab2[i])
    // [37] (byte~) main::$28 ← (byte) main::i#12 << (byte) 1 -- vbuaa=vbuxx_rol_1 
    txa
    asl
    // [38] (word) print_word::w#4 ← *((const word[$14]) main::lintab2#0 + (byte~) main::$28) -- vwuz1=pwuc1_derefidx_vbuaa 
    tay
    lda lintab2,y
    sta.z print_word.w
    lda lintab2+1,y
    sta.z print_word.w+1
    // [39] call print_word 
    // [69] phi from main::@17 to print_word [phi:main::@17->print_word]
    // [69] phi (word) print_word::w#10 = (word) print_word::w#4 [phi:main::@17->print_word#0] -- register_copy 
    jsr print_word
    // [40] phi from main::@17 to main::@18 [phi:main::@17->main::@18]
    // main::@18
    // print_str(" ")
    // [41] call print_str 
    // [87] phi from main::@18 to print_str [phi:main::@18->print_str]
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@18->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@18->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // main::@19
    // print_word(lintab3[i])
    // [42] (byte~) main::$29 ← (byte) main::i#12 << (byte) 1 -- vbuaa=vbuxx_rol_1 
    txa
    asl
    // [43] (word) print_word::w#5 ← *((const word[$14]) main::lintab3#0 + (byte~) main::$29) -- vwuz1=pwuc1_derefidx_vbuaa 
    tay
    lda lintab3,y
    sta.z print_word.w
    lda lintab3+1,y
    sta.z print_word.w+1
    // [44] call print_word 
    // [69] phi from main::@19 to print_word [phi:main::@19->print_word]
    // [69] phi (word) print_word::w#10 = (word) print_word::w#5 [phi:main::@19->print_word#0] -- register_copy 
    jsr print_word
    // [45] phi from main::@19 to main::@20 [phi:main::@19->main::@20]
    // main::@20
    // print_ln()
    // [46] call print_ln 
    // [64] phi from main::@20 to print_ln [phi:main::@20->print_ln]
    // [64] phi (byte*) print_line_cursor#21 = (byte*) print_line_cursor#1 [phi:main::@20->print_ln#0] -- register_copy 
    jsr print_ln
    // main::@21
    // for(byte i=0; i<20; i++)
    // [47] (byte) main::i#1 ← ++ (byte) main::i#12 -- vbuxx=_inc_vbuxx 
    inx
    // main::@1
    // [48] if((byte) main::i#1<(byte) $14) goto main::@2 -- vbuxx_lt_vbuc1_then_la1 
    cpx #$14
    bcc b2
    // main::@3
    // [49] (byte*~) print_char_cursor#99 ← (byte*) print_line_cursor#1 -- pbuz1=pbuz2 
    lda.z print_line_cursor
    sta.z print_char_cursor
    lda.z print_line_cursor+1
    sta.z print_char_cursor+1
    // print_str("   ")
    // [50] call print_str 
    // [87] phi from main::@3 to print_str [phi:main::@3->print_str]
    // [87] phi (byte*) print_char_cursor#86 = (byte*~) print_char_cursor#99 [phi:main::@3->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str [phi:main::@3->print_str#1] -- pbuz1=pbuc1 
    lda #<str
    sta.z print_str.str
    lda #>str
    sta.z print_str.str+1
    jsr print_str
    // [51] phi from main::@3 to main::@22 [phi:main::@3->main::@22]
    // main::@22
    // print_word(29793)
    // [52] call print_word 
    // [69] phi from main::@22 to print_word [phi:main::@22->print_word]
    // [69] phi (word) print_word::w#10 = (word) $7461 [phi:main::@22->print_word#0] -- vwuz1=vwuc1 
    lda #<$7461
    sta.z print_word.w
    lda #>$7461
    sta.z print_word.w+1
    jsr print_word
    // [53] phi from main::@22 to main::@23 [phi:main::@22->main::@23]
    // main::@23
    // print_str(" ")
    // [54] call print_str 
    // [87] phi from main::@23 to print_str [phi:main::@23->print_str]
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@23->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@23->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // [55] phi from main::@23 to main::@24 [phi:main::@23->main::@24]
    // main::@24
    // print_word(63361)
    // [56] call print_word 
    // [69] phi from main::@24 to print_word [phi:main::@24->print_word]
    // [69] phi (word) print_word::w#10 = (word) $f781 [phi:main::@24->print_word#0] -- vwuz1=vwuc1 
    lda #<$f781
    sta.z print_word.w
    lda #>$f781
    sta.z print_word.w+1
    jsr print_word
    // [57] phi from main::@24 to main::@25 [phi:main::@24->main::@25]
    // main::@25
    // print_str(" ")
    // [58] call print_str 
    // [87] phi from main::@25 to print_str [phi:main::@25->print_str]
    // [87] phi (byte*) print_char_cursor#86 = (byte*) print_char_cursor#11 [phi:main::@25->print_str#0] -- register_copy 
    // [87] phi (byte*) print_str::str#12 = (const string) main::str1 [phi:main::@25->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // [59] phi from main::@25 to main::@26 [phi:main::@25->main::@26]
    // main::@26
    // print_word($6488)
    // [60] call print_word 
    // [69] phi from main::@26 to print_word [phi:main::@26->print_word]
    // [69] phi (word) print_word::w#10 = (word) $6488 [phi:main::@26->print_word#0] -- vwuz1=vwuc1 
    lda #<$6488
    sta.z print_word.w
    lda #>$6488
    sta.z print_word.w+1
    jsr print_word
    // [61] phi from main::@26 to main::@27 [phi:main::@26->main::@27]
    // main::@27
    // print_ln()
    // [62] call print_ln 
    // [64] phi from main::@27 to print_ln [phi:main::@27->print_ln]
    // [64] phi (byte*) print_line_cursor#21 = (byte*) print_line_cursor#1 [phi:main::@27->print_ln#0] -- register_copy 
    jsr print_ln
    // main::@return
    // }
    // [63] return 
    rts
    str: .text "   "
    .byte 0
    str1: .text " "
    .byte 0
    lintab1: .fill 2*$14, 0
    lintab2: .fill 2*$14, 0
    lintab3: .fill 2*$14, 0
}
  // print_ln
// Print a newline
print_ln: {
    // [65] phi from print_ln print_ln::@1 to print_ln::@1 [phi:print_ln/print_ln::@1->print_ln::@1]
    // [65] phi (byte*) print_line_cursor#11 = (byte*) print_line_cursor#21 [phi:print_ln/print_ln::@1->print_ln::@1#0] -- register_copy 
    // print_ln::@1
  b1:
    // print_line_cursor + $28
    // [66] (byte*) print_line_cursor#1 ← (byte*) print_line_cursor#11 + (byte) $28 -- pbuz1=pbuz1_plus_vbuc1 
    lda #$28
    clc
    adc.z print_line_cursor
    sta.z print_line_cursor
    bcc !+
    inc.z print_line_cursor+1
  !:
    // while (print_line_cursor<print_char_cursor)
    // [67] if((byte*) print_line_cursor#1<(byte*) print_char_cursor#11) goto print_ln::@1 -- pbuz1_lt_pbuz2_then_la1 
    lda.z print_line_cursor+1
    cmp.z print_char_cursor+1
    bcc b1
    bne !+
    lda.z print_line_cursor
    cmp.z print_char_cursor
    bcc b1
  !:
    // print_ln::@return
    // }
    // [68] return 
    rts
}
  // print_word
// Print a word as HEX
// print_word(word zeropage(5) w)
print_word: {
    .label w = 5
    // print_byte(>w)
    // [70] (byte) print_byte::b#0 ← > (word) print_word::w#10 -- vbuz1=_hi_vwuz2 
    lda.z w+1
    sta.z print_byte.b
    // [71] call print_byte 
    // [75] phi from print_word to print_byte [phi:print_word->print_byte]
    // [75] phi (byte*) print_char_cursor#81 = (byte*) print_char_cursor#2 [phi:print_word->print_byte#0] -- register_copy 
    // [75] phi (byte) print_byte::b#3 = (byte) print_byte::b#0 [phi:print_word->print_byte#1] -- register_copy 
    jsr print_byte
    // print_word::@1
    // print_byte(<w)
    // [72] (byte) print_byte::b#1 ← < (word) print_word::w#10 -- vbuz1=_lo_vwuz2 
    lda.z w
    sta.z print_byte.b
    // [73] call print_byte 
    // [75] phi from print_word::@1 to print_byte [phi:print_word::@1->print_byte]
    // [75] phi (byte*) print_char_cursor#81 = (byte*) print_char_cursor#11 [phi:print_word::@1->print_byte#0] -- register_copy 
    // [75] phi (byte) print_byte::b#3 = (byte) print_byte::b#1 [phi:print_word::@1->print_byte#1] -- register_copy 
    jsr print_byte
    // print_word::@return
    // }
    // [74] return 
    rts
}
  // print_byte
// Print a byte as HEX
// print_byte(byte zeropage(2) b)
print_byte: {
    .label b = 2
    // b>>4
    // [76] (byte~) print_byte::$0 ← (byte) print_byte::b#3 >> (byte) 4 -- vbuaa=vbuz1_ror_4 
    lda.z b
    lsr
    lsr
    lsr
    lsr
    // print_char(print_hextab[b>>4])
    // [77] (byte) print_char::ch#0 ← *((const byte[]) print_hextab#0 + (byte~) print_byte::$0) -- vbuaa=pbuc1_derefidx_vbuaa 
    tay
    lda print_hextab,y
    // [78] call print_char 
    // [83] phi from print_byte to print_char [phi:print_byte->print_char]
    // [83] phi (byte*) print_char_cursor#50 = (byte*) print_char_cursor#81 [phi:print_byte->print_char#0] -- register_copy 
    // [83] phi (byte) print_char::ch#2 = (byte) print_char::ch#0 [phi:print_byte->print_char#1] -- register_copy 
    jsr print_char
    // print_byte::@1
    // b&$f
    // [79] (byte~) print_byte::$2 ← (byte) print_byte::b#3 & (byte) $f -- vbuaa=vbuz1_band_vbuc1 
    lda #$f
    and.z b
    // print_char(print_hextab[b&$f])
    // [80] (byte) print_char::ch#1 ← *((const byte[]) print_hextab#0 + (byte~) print_byte::$2) -- vbuaa=pbuc1_derefidx_vbuaa 
    tay
    lda print_hextab,y
    // [81] call print_char 
    // [83] phi from print_byte::@1 to print_char [phi:print_byte::@1->print_char]
    // [83] phi (byte*) print_char_cursor#50 = (byte*) print_char_cursor#11 [phi:print_byte::@1->print_char#0] -- register_copy 
    // [83] phi (byte) print_char::ch#2 = (byte) print_char::ch#1 [phi:print_byte::@1->print_char#1] -- register_copy 
    jsr print_char
    // print_byte::@return
    // }
    // [82] return 
    rts
}
  // print_char
// Print a single char
// print_char(byte register(A) ch)
print_char: {
    // *(print_char_cursor++) = ch
    // [84] *((byte*) print_char_cursor#50) ← (byte) print_char::ch#2 -- _deref_pbuz1=vbuaa 
    ldy #0
    sta (print_char_cursor),y
    // *(print_char_cursor++) = ch;
    // [85] (byte*) print_char_cursor#11 ← ++ (byte*) print_char_cursor#50 -- pbuz1=_inc_pbuz1 
    inc.z print_char_cursor
    bne !+
    inc.z print_char_cursor+1
  !:
    // print_char::@return
    // }
    // [86] return 
    rts
}
  // print_str
// Print a zero-terminated string
// print_str(byte* zeropage(5) str)
print_str: {
    .label str = 5
    // [88] phi from print_str print_str::@2 to print_str::@1 [phi:print_str/print_str::@2->print_str::@1]
    // [88] phi (byte*) print_char_cursor#2 = (byte*) print_char_cursor#86 [phi:print_str/print_str::@2->print_str::@1#0] -- register_copy 
    // [88] phi (byte*) print_str::str#10 = (byte*) print_str::str#12 [phi:print_str/print_str::@2->print_str::@1#1] -- register_copy 
    // print_str::@1
  b1:
    // while(*str)
    // [89] if((byte) 0!=*((byte*) print_str::str#10)) goto print_str::@2 -- vbuc1_neq__deref_pbuz1_then_la1 
    ldy #0
    lda (str),y
    cmp #0
    bne b2
    // print_str::@return
    // }
    // [90] return 
    rts
    // print_str::@2
  b2:
    // *(print_char_cursor++) = *(str++)
    // [91] *((byte*) print_char_cursor#2) ← *((byte*) print_str::str#10) -- _deref_pbuz1=_deref_pbuz2 
    ldy #0
    lda (str),y
    sta (print_char_cursor),y
    // *(print_char_cursor++) = *(str++);
    // [92] (byte*) print_char_cursor#1 ← ++ (byte*) print_char_cursor#2 -- pbuz1=_inc_pbuz1 
    inc.z print_char_cursor
    bne !+
    inc.z print_char_cursor+1
  !:
    // [93] (byte*) print_str::str#0 ← ++ (byte*) print_str::str#10 -- pbuz1=_inc_pbuz1 
    inc.z str
    bne !+
    inc.z str+1
  !:
    jmp b1
}
  // print_cls
// Clear the screen. Also resets current line/char cursor.
print_cls: {
    // memset(print_screen, ' ', 1000)
    // [95] call memset 
    // [97] phi from print_cls to memset [phi:print_cls->memset]
    jsr memset
    // print_cls::@return
    // }
    // [96] return 
    rts
}
  // memset
// Copies the character c (an unsigned char) to the first num characters of the object pointed to by the argument str.
memset: {
    .const c = ' '
    .const num = $3e8
    .label str = $400
    .label end = str+num
    .label dst = $b
    // [98] phi from memset to memset::@2 [phi:memset->memset::@2]
    // [98] phi (byte*) memset::dst#4 = (byte*)(const void*) memset::str#0 [phi:memset->memset::@2#0] -- pbuz1=pbuc1 
    lda #<str
    sta.z dst
    lda #>str
    sta.z dst+1
    // [98] phi from memset::@1 to memset::@2 [phi:memset::@1->memset::@2]
    // [98] phi (byte*) memset::dst#4 = (byte*) memset::dst#1 [phi:memset::@1->memset::@2#0] -- register_copy 
    // memset::@2
  b2:
    // *dst = c
    // [99] *((byte*) memset::dst#4) ← (const byte) memset::c#0 -- _deref_pbuz1=vbuc1 
    lda #c
    ldy #0
    sta (dst),y
    // for(char* dst = str; dst!=end; dst++)
    // [100] (byte*) memset::dst#1 ← ++ (byte*) memset::dst#4 -- pbuz1=_inc_pbuz1 
    inc.z dst
    bne !+
    inc.z dst+1
  !:
    // memset::@1
    // [101] if((byte*) memset::dst#1!=(const byte*) memset::end#0) goto memset::@2 -- pbuz1_neq_pbuc1_then_la1 
    lda.z dst+1
    cmp #>end
    bne b2
    lda.z dst
    cmp #<end
    bne b2
    // memset::@return
    // }
    // [102] return 
    rts
}
  // lin16u_gen
// Generate word linear table
// lintab - the table to generate into
// length - the number of points in a total sinus wavelength (the size of the table)
// lin16u_gen(word zeropage(5) min, word zeropage(3) max, word* zeropage($b) lintab)
lin16u_gen: {
    .label _6 = $17
    .label ampl = 3
    .label stepi = $11
    .label stepf = $f
    .label step = $13
    .label val = 7
    .label lintab = $b
    .label i = $d
    .label max = 3
    .label min = 5
    // ampl = max-min
    // [104] (word) lin16u_gen::ampl#0 ← (word) lin16u_gen::max#3 - (word) lin16u_gen::min#3 -- vwuz1=vwuz1_minus_vwuz2 
    lda.z ampl
    sec
    sbc.z min
    sta.z ampl
    lda.z ampl+1
    sbc.z min+1
    sta.z ampl+1
    // divr16u(ampl, length-1, 0)
    // [105] (word) divr16u::dividend#1 ← (word) lin16u_gen::ampl#0
    // [106] call divr16u 
    // [123] phi from lin16u_gen to divr16u [phi:lin16u_gen->divr16u]
    // [123] phi (word) divr16u::divisor#6 = (byte) $14-(byte) 1 [phi:lin16u_gen->divr16u#0] -- vwuz1=vbuc1 
    lda #<$14-1
    sta.z divr16u.divisor
    lda #>$14-1
    sta.z divr16u.divisor+1
    // [123] phi (word) divr16u::dividend#5 = (word) divr16u::dividend#1 [phi:lin16u_gen->divr16u#1] -- register_copy 
    // [123] phi (word) divr16u::rem#10 = (byte) 0 [phi:lin16u_gen->divr16u#2] -- vwuz1=vbuc1 
    lda #<0
    sta.z divr16u.rem
    sta.z divr16u.rem+1
    jsr divr16u
    // divr16u(ampl, length-1, 0)
    // [107] (word) divr16u::return#2 ← (word) divr16u::return#0
    // lin16u_gen::@3
    // stepi = divr16u(ampl, length-1, 0)
    // [108] (word) lin16u_gen::stepi#0 ← (word) divr16u::return#2 -- vwuz1=vwuz2 
    lda.z divr16u.return
    sta.z stepi
    lda.z divr16u.return+1
    sta.z stepi+1
    // divr16u(0, length-1, rem16u)
    // [109] (word) divr16u::rem#4 ← (word) rem16u#1
    // [110] call divr16u 
    // [123] phi from lin16u_gen::@3 to divr16u [phi:lin16u_gen::@3->divr16u]
    // [123] phi (word) divr16u::divisor#6 = (byte) $14-(byte) 1 [phi:lin16u_gen::@3->divr16u#0] -- vwuz1=vbuc1 
    lda #<$14-1
    sta.z divr16u.divisor
    lda #>$14-1
    sta.z divr16u.divisor+1
    // [123] phi (word) divr16u::dividend#5 = (byte) 0 [phi:lin16u_gen::@3->divr16u#1] -- vwuz1=vbuc1 
    lda #<0
    sta.z divr16u.dividend
    sta.z divr16u.dividend+1
    // [123] phi (word) divr16u::rem#10 = (word) divr16u::rem#4 [phi:lin16u_gen::@3->divr16u#2] -- register_copy 
    jsr divr16u
    // divr16u(0, length-1, rem16u)
    // [111] (word) divr16u::return#3 ← (word) divr16u::return#0
    // lin16u_gen::@4
    // stepf = divr16u(0, length-1, rem16u)
    // [112] (word) lin16u_gen::stepf#0 ← (word) divr16u::return#3
    // step = { stepi, stepf }
    // [113] (dword) lin16u_gen::step#0 ← (word) lin16u_gen::stepi#0 dw= (word) lin16u_gen::stepf#0 -- vduz1=vwuz2_dword_vwuz3 
    lda.z stepi
    sta.z step+2
    lda.z stepi+1
    sta.z step+3
    lda.z stepf
    sta.z step
    lda.z stepf+1
    sta.z step+1
    // val = { min, 0 }
    // [114] (dword) lin16u_gen::val#0 ← (word) lin16u_gen::min#3 dw= (word) 0 -- vduz1=vwuz2_dword_vwuc1 
    lda #<0
    sta.z val
    sta.z val+1
    lda.z min
    sta.z val+2
    lda.z min+1
    sta.z val+3
    // [115] phi from lin16u_gen::@4 to lin16u_gen::@2 [phi:lin16u_gen::@4->lin16u_gen::@2]
    // [115] phi (word*) lin16u_gen::lintab#9 = (word*) lin16u_gen::lintab#10 [phi:lin16u_gen::@4->lin16u_gen::@2#0] -- register_copy 
    // [115] phi (dword) lin16u_gen::val#4 = (dword) lin16u_gen::val#0 [phi:lin16u_gen::@4->lin16u_gen::@2#1] -- register_copy 
    // [115] phi (word) lin16u_gen::i#4 = (byte) 0 [phi:lin16u_gen::@4->lin16u_gen::@2#2] -- vwuz1=vbuc1 
    lda #<0
    sta.z i
    sta.z i+1
    // [115] phi from lin16u_gen::@1 to lin16u_gen::@2 [phi:lin16u_gen::@1->lin16u_gen::@2]
    // [115] phi (word*) lin16u_gen::lintab#9 = (word*) lin16u_gen::lintab#3 [phi:lin16u_gen::@1->lin16u_gen::@2#0] -- register_copy 
    // [115] phi (dword) lin16u_gen::val#4 = (dword) lin16u_gen::val#1 [phi:lin16u_gen::@1->lin16u_gen::@2#1] -- register_copy 
    // [115] phi (word) lin16u_gen::i#4 = (word) lin16u_gen::i#1 [phi:lin16u_gen::@1->lin16u_gen::@2#2] -- register_copy 
    // lin16u_gen::@2
  b2:
    // >val
    // [116] (word~) lin16u_gen::$6 ← > (dword) lin16u_gen::val#4 -- vwuz1=_hi_vduz2 
    lda.z val+2
    sta.z _6
    lda.z val+3
    sta.z _6+1
    // *lintab = >val
    // [117] *((word*) lin16u_gen::lintab#9) ← (word~) lin16u_gen::$6 -- _deref_pwuz1=vwuz2 
    ldy #0
    lda.z _6
    sta (lintab),y
    iny
    lda.z _6+1
    sta (lintab),y
    // val = val + step
    // [118] (dword) lin16u_gen::val#1 ← (dword) lin16u_gen::val#4 + (dword) lin16u_gen::step#0 -- vduz1=vduz1_plus_vduz2 
    lda.z val
    clc
    adc.z step
    sta.z val
    lda.z val+1
    adc.z step+1
    sta.z val+1
    lda.z val+2
    adc.z step+2
    sta.z val+2
    lda.z val+3
    adc.z step+3
    sta.z val+3
    // lintab++;
    // [119] (word*) lin16u_gen::lintab#3 ← (word*) lin16u_gen::lintab#9 + (const byte) SIZEOF_WORD -- pwuz1=pwuz1_plus_vbuc1 
    lda #SIZEOF_WORD
    clc
    adc.z lintab
    sta.z lintab
    bcc !+
    inc.z lintab+1
  !:
    // for(word i=0; i<length; i++)
    // [120] (word) lin16u_gen::i#1 ← ++ (word) lin16u_gen::i#4 -- vwuz1=_inc_vwuz1 
    inc.z i
    bne !+
    inc.z i+1
  !:
    // lin16u_gen::@1
    // [121] if((word) lin16u_gen::i#1<(byte) $14) goto lin16u_gen::@2 -- vwuz1_lt_vbuc1_then_la1 
    lda.z i+1
    cmp #>$14
    bcc b2
    bne !+
    lda.z i
    cmp #<$14
    bcc b2
  !:
    // lin16u_gen::@return
    // }
    // [122] return 
    rts
}
  // divr16u
// Performs division on two 16 bit unsigned words and an initial remainder
// Returns the quotient dividend/divisor.
// The final remainder will be set into the global variable rem16u
// Implemented using simple binary division
// divr16u(word zeropage(3) dividend, word zeropage($d) divisor, word zeropage($17) rem)
divr16u: {
    .label rem = $17
    .label dividend = 3
    .label quotient = $f
    .label return = $f
    .label divisor = $d
    // [124] phi from divr16u to divr16u::@1 [phi:divr16u->divr16u::@1]
    // [124] phi (byte) divr16u::i#2 = (byte) 0 [phi:divr16u->divr16u::@1#0] -- vbuxx=vbuc1 
    ldx #0
    // [124] phi (word) divr16u::quotient#3 = (byte) 0 [phi:divr16u->divr16u::@1#1] -- vwuz1=vbuc1 
    txa
    sta.z quotient
    sta.z quotient+1
    // [124] phi (word) divr16u::dividend#3 = (word) divr16u::dividend#5 [phi:divr16u->divr16u::@1#2] -- register_copy 
    // [124] phi (word) divr16u::rem#5 = (word) divr16u::rem#10 [phi:divr16u->divr16u::@1#3] -- register_copy 
    // [124] phi from divr16u::@3 to divr16u::@1 [phi:divr16u::@3->divr16u::@1]
    // [124] phi (byte) divr16u::i#2 = (byte) divr16u::i#1 [phi:divr16u::@3->divr16u::@1#0] -- register_copy 
    // [124] phi (word) divr16u::quotient#3 = (word) divr16u::return#0 [phi:divr16u::@3->divr16u::@1#1] -- register_copy 
    // [124] phi (word) divr16u::dividend#3 = (word) divr16u::dividend#0 [phi:divr16u::@3->divr16u::@1#2] -- register_copy 
    // [124] phi (word) divr16u::rem#5 = (word) divr16u::rem#11 [phi:divr16u::@3->divr16u::@1#3] -- register_copy 
    // divr16u::@1
  b1:
    // rem = rem << 1
    // [125] (word) divr16u::rem#0 ← (word) divr16u::rem#5 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z rem
    rol.z rem+1
    // >dividend
    // [126] (byte~) divr16u::$1 ← > (word) divr16u::dividend#3 -- vbuaa=_hi_vwuz1 
    lda.z dividend+1
    // >dividend & $80
    // [127] (byte~) divr16u::$2 ← (byte~) divr16u::$1 & (byte) $80 -- vbuaa=vbuaa_band_vbuc1 
    and #$80
    // if( (>dividend & $80) != 0 )
    // [128] if((byte~) divr16u::$2==(byte) 0) goto divr16u::@2 -- vbuaa_eq_0_then_la1 
    cmp #0
    beq b2
    // divr16u::@4
    // rem = rem | 1
    // [129] (word) divr16u::rem#1 ← (word) divr16u::rem#0 | (byte) 1 -- vwuz1=vwuz1_bor_vbuc1 
    lda #1
    ora.z rem
    sta.z rem
    // [130] phi from divr16u::@1 divr16u::@4 to divr16u::@2 [phi:divr16u::@1/divr16u::@4->divr16u::@2]
    // [130] phi (word) divr16u::rem#6 = (word) divr16u::rem#0 [phi:divr16u::@1/divr16u::@4->divr16u::@2#0] -- register_copy 
    // divr16u::@2
  b2:
    // dividend = dividend << 1
    // [131] (word) divr16u::dividend#0 ← (word) divr16u::dividend#3 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z dividend
    rol.z dividend+1
    // quotient = quotient << 1
    // [132] (word) divr16u::quotient#1 ← (word) divr16u::quotient#3 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z quotient
    rol.z quotient+1
    // if(rem>=divisor)
    // [133] if((word) divr16u::rem#6<(word) divr16u::divisor#6) goto divr16u::@3 -- vwuz1_lt_vwuz2_then_la1 
    lda.z rem+1
    cmp.z divisor+1
    bcc b3
    bne !+
    lda.z rem
    cmp.z divisor
    bcc b3
  !:
    // divr16u::@5
    // quotient++;
    // [134] (word) divr16u::quotient#2 ← ++ (word) divr16u::quotient#1 -- vwuz1=_inc_vwuz1 
    inc.z quotient
    bne !+
    inc.z quotient+1
  !:
    // rem = rem - divisor
    // [135] (word) divr16u::rem#2 ← (word) divr16u::rem#6 - (word) divr16u::divisor#6 -- vwuz1=vwuz1_minus_vwuz2 
    lda.z rem
    sec
    sbc.z divisor
    sta.z rem
    lda.z rem+1
    sbc.z divisor+1
    sta.z rem+1
    // [136] phi from divr16u::@2 divr16u::@5 to divr16u::@3 [phi:divr16u::@2/divr16u::@5->divr16u::@3]
    // [136] phi (word) divr16u::return#0 = (word) divr16u::quotient#1 [phi:divr16u::@2/divr16u::@5->divr16u::@3#0] -- register_copy 
    // [136] phi (word) divr16u::rem#11 = (word) divr16u::rem#6 [phi:divr16u::@2/divr16u::@5->divr16u::@3#1] -- register_copy 
    // divr16u::@3
  b3:
    // for( byte i : 0..15)
    // [137] (byte) divr16u::i#1 ← ++ (byte) divr16u::i#2 -- vbuxx=_inc_vbuxx 
    inx
    // [138] if((byte) divr16u::i#1!=(byte) $10) goto divr16u::@1 -- vbuxx_neq_vbuc1_then_la1 
    cpx #$10
    bne b1
    // divr16u::@6
    // rem16u = rem
    // [139] (word) rem16u#1 ← (word) divr16u::rem#11
    // divr16u::@return
    // }
    // [140] return 
    rts
}
  // File Data
  print_hextab: .text "0123456789abcdef"

