1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-10-02 22:56:11 +00:00
kickc/src/test/ref/signed-word-minus-byte-2.cfg
2019-09-29 22:36:02 +02:00

27 lines
849 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] (byte) main::i#2 ← phi( main/(byte) 0 main::@1/(byte) main::i#1 )
[5] (signed word) main::w1#2 ← phi( main/(signed word) $4d2 main::@1/(signed word) main::w1#1 )
[6] (signed word) main::w1#1 ← (signed word) main::w1#2 - (signed byte) $29
[7] (byte~) main::$2 ← (byte) main::i#2 << (byte) 1
[8] *((const signed word*) main::screen + (byte~) main::$2) ← (signed word) main::w1#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