1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-16 21:07:56 +00:00
kickc/src/test/ref/fillscreen-2.cfg

27 lines
684 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::@2
[5] (word) main::i#2 ← phi( main/(word) 0 main::@2/(word) main::i#1 )
[6] if((word) main::i#2<(word) $3e8) goto main::@2
to:main::@return
main::@return: scope:[main] from main::@1
[7] return
to:@return
main::@2: scope:[main] from main::@1
[8] (byte*~) main::$1 ← (const byte*) SCREEN + (word) main::i#2
[9] *((byte*~) main::$1) ← (byte) ' '
[10] (word) main::i#1 ← ++ (word) main::i#2
to:main::@1