mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-10-21 17:24:39 +00:00
23 lines
579 B
INI
23 lines
579 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::BORDERCOL) ← *((const byte*) TABLE + (byte) main::i#2)
|
|
[7] (byte) main::i#1 ← ++ (byte) main::i#2
|
|
to:main::@1
|