1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-09 08:54:40 +00:00
kickc/src/test/ref/tetris-npe.cfg

30 lines
895 B
INI

@begin: scope:[] from
[0] phi()
to:@1
@1: scope:[] from @begin
[1] phi()
[2] call main
to:@end
@end: scope:[] from @1
[3] phi()
(void()) main()
main: scope:[main] from @1
[4] phi()
to:main::@1
main::@1: scope:[main] from main main::@3 main::@4
[5] (byte) ypos#2 ← phi( main/(byte) 0 main::@3/(byte) ypos#2 main::@4/(byte) ypos#1 )
[5] (byte) counter#3 ← phi( main/(const byte) RATE main::@3/(byte) counter#1 main::@4/(const byte) RATE )
to:main::@2
main::@2: scope:[main] from main::@1 main::@2
[6] if(*((const byte*) RASTER)!=(byte) $ff) goto main::@2
to:main::@3
main::@3: scope:[main] from main::@2
[7] (byte) counter#1 ← -- (byte) counter#3
[8] if((byte) counter#1!=(byte) 0) goto main::@1
to:main::@4
main::@4: scope:[main] from main::@3
[9] (byte) ypos#1 ← ++ (byte) ypos#2
[10] *((const byte*) SCREEN) ← (byte) ypos#1
to:main::@1