mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-10-21 17:24:39 +00:00
27 lines
862 B
INI
27 lines
862 B
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] (signed word) main::sw#2 ← phi( main/(signed word) $1234 main::@1/(signed word) main::sw#1 )
|
|
[5] (byte) main::i#2 ← phi( main/(byte) 0 main::@1/(byte) main::i#1 )
|
|
[6] (signed word) main::sw#1 ← (signed word) main::sw#2 + (signed byte)(byte) main::i#2
|
|
[7] (byte~) main::$2 ← (byte) main::i#2 << (byte) 1
|
|
[8] *((const signed word*) main::screen + (byte~) main::$2) ← (signed word) main::sw#1
|
|
[9] (byte) main::i#1 ← ++ (byte) main::i#2
|
|
[10] if((byte) main::i#1!=(byte) $b) goto main::@1
|
|
to:main::@return
|
|
main::@return: scope:[main] from main::@1
|
|
[11] return
|
|
to:@return
|