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

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

void main()
main: scope:[main]  from __start::@1
  [16] *((char *) 53272) = $17
  [17] call clrscr
  to:main::@1
main::@1: scope:[main]  from main main::@4
  [18] main::c#2 = phi( main/0, main::@4/main::c#1 )
  [19] cputc::c#0 = main::c#2
  [20] call cputc
  to:main::@4
main::@4: scope:[main]  from main::@1
  [21] main::c#1 = ++ main::c#2
  [22] if(main::c#1!=0) goto main::@1
  to:main::wherey1
main::wherey1: scope:[main]  from main::@4
  [23] main::wherey1_return#0 = conio_cursor_y
  to:main::@3
main::@3: scope:[main]  from main::wherey1
  [24] gotoxy::y#3 = main::wherey1_return#0 + 2
  [25] call gotoxy
  to:main::@2
main::@2: scope:[main]  from main::@3 main::@6
  [26] main::c1#2 = phi( main::@3/0, main::@6/main::c1#1 )
  [27] toupper::ch#0 = main::c1#2
  [28] call toupper
  [29] toupper::return#3 = toupper::return#2
  to:main::@5
main::@5: scope:[main]  from main::@2
  [30] cputc::c#1 = toupper::return#3
  [31] call cputc
  to:main::@6
main::@6: scope:[main]  from main::@5
  [32] main::c1#1 = ++ main::c1#2
  [33] if(main::c1#1!=0) goto main::@2
  to:main::@return
main::@return: scope:[main]  from main::@6
  [34] return 
  to:@return

void gotoxy(char x , char y)
gotoxy: scope:[gotoxy]  from conio_c64_init::@1 main::@3
  [35] gotoxy::y#4 = phi( conio_c64_init::@1/gotoxy::y#2, main::@3/gotoxy::y#3 )
  [36] if(gotoxy::y#4<$19+1) goto gotoxy::@3
  to:gotoxy::@1
gotoxy::@3: scope:[gotoxy]  from gotoxy
  [37] phi()
  to:gotoxy::@1
gotoxy::@1: scope:[gotoxy]  from gotoxy gotoxy::@3
  [38] gotoxy::y#5 = phi( gotoxy::@3/gotoxy::y#4, gotoxy/0 )
  to:gotoxy::@2
gotoxy::@2: scope:[gotoxy]  from gotoxy::@1
  [39] conio_cursor_x = 0
  [40] conio_cursor_y = gotoxy::y#5
  [41] gotoxy::$7 = (unsigned int)gotoxy::y#5
  [42] gotoxy::$8 = gotoxy::$7 << 2
  [43] gotoxy::$9 = gotoxy::$8 + gotoxy::$7
  [44] gotoxy::line_offset#0 = gotoxy::$9 << 3
  [45] gotoxy::$5 = DEFAULT_SCREEN + gotoxy::line_offset#0
  [46] conio_line_text = gotoxy::$5
  [47] gotoxy::$6 = COLORRAM + gotoxy::line_offset#0
  [48] conio_line_color = gotoxy::$6
  to:gotoxy::@return
gotoxy::@return: scope:[gotoxy]  from gotoxy::@2
  [49] return 
  to:@return

void clrscr()
clrscr: scope:[clrscr]  from main
  [50] phi()
  to:clrscr::@1
clrscr::@1: scope:[clrscr]  from clrscr clrscr::@5
  [51] clrscr::line_cols#5 = phi( clrscr/COLORRAM, clrscr::@5/clrscr::line_cols#1 )
  [51] clrscr::line_text#5 = phi( clrscr/DEFAULT_SCREEN, clrscr::@5/clrscr::line_text#1 )
  [51] clrscr::l#2 = phi( clrscr/0, clrscr::@5/clrscr::l#1 )
  [52] if(clrscr::l#2<$19) goto clrscr::@3
  to:clrscr::@2
clrscr::@2: scope:[clrscr]  from clrscr::@1
  [53] conio_cursor_x = 0
  [54] conio_cursor_y = 0
  [55] conio_line_text = DEFAULT_SCREEN
  [56] conio_line_color = COLORRAM
  to:clrscr::@return
clrscr::@return: scope:[clrscr]  from clrscr::@2
  [57] return 
  to:@return
clrscr::@3: scope:[clrscr]  from clrscr::@1 clrscr::@4
  [58] clrscr::c#2 = phi( clrscr::@1/0, clrscr::@4/clrscr::c#1 )
  [59] if(clrscr::c#2<$28) goto clrscr::@4
  to:clrscr::@5
clrscr::@5: scope:[clrscr]  from clrscr::@3
  [60] clrscr::line_text#1 = clrscr::line_text#5 + $28
  [61] clrscr::line_cols#1 = clrscr::line_cols#5 + $28
  [62] clrscr::l#1 = ++ clrscr::l#2
  to:clrscr::@1
clrscr::@4: scope:[clrscr]  from clrscr::@3
  [63] clrscr::line_text#5[clrscr::c#2] = ' '
  [64] clrscr::line_cols#5[clrscr::c#2] = LIGHT_BLUE
  [65] clrscr::c#1 = ++ clrscr::c#2
  to:clrscr::@3

void cputc(char c)
cputc: scope:[cputc]  from main::@1 main::@5
  [66] cputc::c#2 = phi( main::@1/cputc::c#0, main::@5/cputc::c#1 )
  [67] if(cputc::c#2=='
') goto cputc::@1
  to:cputc::@2
cputc::@2: scope:[cputc]  from cputc
  [68] conio_line_text[conio_cursor_x] = cputc::c#2
  [69] conio_line_color[conio_cursor_x] = LIGHT_BLUE
  [70] conio_cursor_x = ++ conio_cursor_x
  [71] if(conio_cursor_x!=$28) goto cputc::@return
  to:cputc::@3
cputc::@3: scope:[cputc]  from cputc::@2
  [72] phi()
  [73] call cputln
  to:cputc::@return
cputc::@return: scope:[cputc]  from cputc::@1 cputc::@2 cputc::@3
  [74] return 
  to:@return
cputc::@1: scope:[cputc]  from cputc
  [75] phi()
  [76] call cputln
  to:cputc::@return

char toupper(char ch)
toupper: scope:[toupper]  from main::@2
  [77] if(toupper::ch#0<'a') goto toupper::@return
  to:toupper::@2
toupper::@2: scope:[toupper]  from toupper
  [78] if(toupper::ch#0<='z') goto toupper::@1
  to:toupper::@return
toupper::@1: scope:[toupper]  from toupper::@2
  [79] toupper::return#0 = toupper::ch#0 + 'A'-'a'
  to:toupper::@return
toupper::@return: scope:[toupper]  from toupper toupper::@1 toupper::@2
  [80] toupper::return#2 = phi( toupper::@1/toupper::return#0, toupper/toupper::ch#0, toupper::@2/toupper::ch#0 )
  [81] return 
  to:@return

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

void cscroll()
cscroll: scope:[cscroll]  from cputln
  [88] if(conio_cursor_y!=$19) goto cscroll::@return
  to:cscroll::@1
cscroll::@1: scope:[cscroll]  from cscroll
  [89] phi()
  [90] call memcpy
  to:cscroll::@2
cscroll::@2: scope:[cscroll]  from cscroll::@1
  [91] phi()
  [92] call memcpy
  to:cscroll::@3
cscroll::@3: scope:[cscroll]  from cscroll::@2
  [93] phi()
  [94] call memset
  to:cscroll::@4
cscroll::@4: scope:[cscroll]  from cscroll::@3
  [95] phi()
  [96] call memset
  to:cscroll::@5
cscroll::@5: scope:[cscroll]  from cscroll::@4
  [97] conio_line_text = conio_line_text - $28
  [98] conio_line_color = conio_line_color - $28
  [99] conio_cursor_y = -- conio_cursor_y
  to:cscroll::@return
cscroll::@return: scope:[cscroll]  from cscroll cscroll::@5
  [100] return 
  to:@return

void * memcpy(void *destination , void *source , unsigned int num)
memcpy: scope:[memcpy]  from cscroll::@1 cscroll::@2
  [101] memcpy::destination#2 = phi( cscroll::@1/(void *)DEFAULT_SCREEN, cscroll::@2/(void *)COLORRAM )
  [101] memcpy::source#2 = phi( cscroll::@1/(void *)DEFAULT_SCREEN+$28, cscroll::@2/(void *)COLORRAM+$28 )
  [102] memcpy::src_end#0 = (char *)memcpy::source#2 + (unsigned int)$19*$28-$28
  [103] memcpy::src#4 = (char *)memcpy::source#2
  [104] memcpy::dst#4 = (char *)memcpy::destination#2
  to:memcpy::@1
memcpy::@1: scope:[memcpy]  from memcpy memcpy::@2
  [105] memcpy::dst#2 = phi( memcpy/memcpy::dst#4, memcpy::@2/memcpy::dst#1 )
  [105] memcpy::src#2 = phi( memcpy/memcpy::src#4, memcpy::@2/memcpy::src#1 )
  [106] if(memcpy::src#2!=memcpy::src_end#0) goto memcpy::@2
  to:memcpy::@return
memcpy::@return: scope:[memcpy]  from memcpy::@1
  [107] return 
  to:@return
memcpy::@2: scope:[memcpy]  from memcpy::@1
  [108] *memcpy::dst#2 = *memcpy::src#2
  [109] memcpy::dst#1 = ++ memcpy::dst#2
  [110] memcpy::src#1 = ++ memcpy::src#2
  to:memcpy::@1

void * memset(void *str , char c , unsigned int num)
memset: scope:[memset]  from cscroll::@3 cscroll::@4
  [111] memset::c#4 = phi( cscroll::@3/' ', cscroll::@4/LIGHT_BLUE )
  [111] memset::str#3 = phi( cscroll::@3/(void *)DEFAULT_SCREEN+(unsigned int)$19*$28-$28, cscroll::@4/(void *)COLORRAM+(unsigned int)$19*$28-$28 )
  to:memset::@1
memset::@1: scope:[memset]  from memset
  [112] memset::end#0 = (char *)memset::str#3 + $28
  [113] memset::dst#4 = (char *)memset::str#3
  to:memset::@2
memset::@2: scope:[memset]  from memset::@1 memset::@3
  [114] memset::dst#2 = phi( memset::@1/memset::dst#4, memset::@3/memset::dst#1 )
  [115] if(memset::dst#2!=memset::end#0) goto memset::@3
  to:memset::@return
memset::@return: scope:[memset]  from memset::@2
  [116] return 
  to:@return
memset::@3: scope:[memset]  from memset::@2
  [117] *memset::dst#2 = memset::c#4
  [118] memset::dst#1 = ++ memset::dst#2
  to:memset::@2
