mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-11-18 04:08:58 +00:00
34 lines
1.2 KiB
INI
34 lines
1.2 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::@2
|
|
[5] (signed word) main::j#2 ← phi( main/(signed byte) 0 main::@2/(signed word) main::j#1 )
|
|
[5] (byte) main::i#3 ← phi( main/(byte) 0 main::@2/(byte) main::i#2 )
|
|
[6] if((byte) main::i#3<(byte) 4) 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::$3 ← (byte) main::i#3 << (byte) 1
|
|
[9] *((const signed word*) SCREEN + (byte~) main::$3) ← (signed word) main::j#2
|
|
[10] (byte) main::i#1 ← ++ (byte) main::i#3
|
|
[11] (signed word) main::j#1 ← ++ (signed word) main::j#2
|
|
[12] (signed word~) main::$1 ← (signed word)(byte) main::i#1
|
|
[13] (signed word) main::k#0 ← (signed word~) main::$1 << (byte) 1
|
|
[14] (byte~) main::$4 ← (byte) main::i#1 << (byte) 1
|
|
[15] *((const signed word*) SCREEN + (byte~) main::$4) ← (signed word) main::k#0
|
|
[16] (byte) main::i#2 ← ++ (byte) main::i#1
|
|
to:main::@1
|