
void main()
main: scope:[main]  from
  [0] fgetc::channel = 7
  [1] call fgetc
  [2] fgetc::return#0 = fgetc::return#2
  to:main::@1
main::@1: scope:[main]  from main
  [3] main::x#0 = fgetc::return#0
  [4] *main::SCREEN = main::x#0
  to:main::@return
main::@return: scope:[main]  from main::@1
  [5] return 
  to:@return

char fgetc(volatile char channel)
fgetc: scope:[fgetc]  from main
  [6] fgetc::ret = 0
  asm { ldxchannel jsrCHKIN jsrGETIN staret jsrCLRCHN  }
  [8] fgetc::return#1 = fgetc::ret
  to:fgetc::@return
fgetc::@return: scope:[fgetc]  from fgetc
  [9] fgetc::return#2 = fgetc::return#1
  [10] return 
  to:@return
