1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-29 03:56:15 +00:00
kickc/src/test/ref/forrangedwords.cfg

34 lines
1.5 KiB
INI
Raw Normal View History

@begin: scope:[] from
2018-11-11 20:51:36 +00:00
[0] phi()
to:@1
@1: scope:[] from @begin
2018-11-11 20:51:36 +00:00
[1] phi()
[2] call main
to:@end
@end: scope:[] from @1
2018-11-11 20:51:36 +00:00
[3] phi()
main: scope:[main] from @1
2018-11-11 20:51:36 +00:00
[4] phi()
to:main::@1
main::@1: scope:[main] from main main::@1
2018-11-11 20:51:36 +00:00
[5] (word) main::w#2 ← phi( main/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@1/(word) main::w#1 )
[6] (byte~) main::$0 ← < (word) main::w#2
[7] *((const byte*) main::SCREEN#0) ← (byte~) main::$0
[8] (byte~) main::$1 ← > (word) main::w#2
[9] *((const byte*) main::SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 1) ← (byte~) main::$1
[10] (word) main::w#1 ← ++ (word) main::w#2
[11] if((word) main::w#1!=(byte/signed byte/word/signed word/dword/signed dword) 0) goto main::@1
to:main::@2
main::@2: scope:[main] from main::@1 main::@2
2018-11-11 20:51:36 +00:00
[12] (signed word) main::sw#2 ← phi( main::@2/(signed word) main::sw#1 main::@1/-(word/signed word/dword/signed dword) 32767 )
[13] (byte~) main::$4 ← < (signed word) main::sw#2
[14] *((const byte*) main::SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte~) main::$4
[15] (byte~) main::$5 ← > (signed word) main::sw#2
[16] *((const byte*) main::SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 4) ← (byte~) main::$5
[17] (signed word) main::sw#1 ← ++ (signed word) main::sw#2
[18] if((signed word) main::sw#1!=(word/signed word/dword/signed dword) 32767) goto main::@2
to:main::@return
main::@return: scope:[main] from main::@2
2018-11-11 20:51:36 +00:00
[19] return
to:@return