1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-20 02:32:36 +00:00
kickc/src/test/ref/initializer-1.cfg
2019-09-29 20:57:28 +02:00

31 lines
1.0 KiB
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::@1
[5] (byte) main::idx#3 ← phi( main/(byte) 0 main::@1/(byte) main::idx#2 )
[5] (byte) main::i#2 ← phi( main/(byte) 0 main::@1/(byte) main::i#1 )
[6] (byte~) main::$4 ← (byte) main::i#2 << (byte) 1
[7] (byte~) main::$0 ← < *((const word[]) words + (byte~) main::$4)
[8] *((const byte*) main::SCREEN + (byte) main::idx#3) ← (byte~) main::$0
[9] (byte) main::idx#1 ← ++ (byte) main::idx#3
[10] (byte~) main::$1 ← > *((const word[]) words + (byte~) main::$4)
[11] *((const byte*) main::SCREEN + (byte) main::idx#1) ← (byte~) main::$1
[12] (byte) main::idx#2 ← ++ (byte) main::idx#1
[13] (byte) main::i#1 ← ++ (byte) main::i#2
[14] if((byte) main::i#1!=(byte) 3) goto main::@1
to:main::@return
main::@return: scope:[main] from main::@1
[15] return
to:@return