1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-29 03:56:15 +00:00
kickc/src/test/ref/test-kasm-pc.cfg
2020-05-02 11:38:51 +02:00

23 lines
582 B
INI

@begin: scope:[] from
[0] phi()
to:@1
@1: scope:[] from @begin
kickasm(location (const byte*) TABLE) {{ .byte 1, 2, 3
}}
[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] (byte) main::i#2 ← phi( main/(byte) 0 main::@2/(byte) main::i#1 )
to:main::@2
main::@2: scope:[main] from main::@1
[6] *((const byte*) main::BORDER_COLOR) ← *((const byte*) TABLE + (byte) main::i#2)
[7] (byte) main::i#1 ← ++ (byte) main::i#2
to:main::@1