1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-20 02:32:36 +00:00
kickc/src/test/ref/simple-loop.cfg

23 lines
620 B
INI
Raw Normal View History

@begin: scope:[] from
[0] phi()
to:@1
@1: scope:[] from @begin
[1] phi()
[2] call main
to:@end
@end: scope:[] from @1
[3] phi()
main: scope:[main] from @1
[4] phi()
to:main::@1
main::@1: scope:[main] from main main::@1
2019-05-30 20:29:04 +00:00
[5] (byte) main::i#2 ← phi( main/(byte) 0 main::@1/(byte) main::i#1 )
[6] *((const byte*) main::SCREEN#0 + (byte) main::i#2) ← (byte) 'a'
2019-05-30 20:29:04 +00:00
[7] *((byte*) 53280) ← (byte) 0
[8] (byte) main::i#1 ← (byte) main::i#2 + (byte) 2
[9] if((byte) main::i#1<(byte) $80) goto main::@1
to:main::@return
main::@return: scope:[main] from main::@1
[10] return
to:@return