1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-29 03:56:15 +00:00
kickc/src/test/ref/word-pointer-compound.cfg
2020-03-29 21:00:25 +02:00

39 lines
1.6 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::@1
[5] (byte) main::i#2 ← phi( main/(byte) 0 main::@1/(byte) main::i#1 )
[6] (byte~) main::$7 ← (byte) main::i#2 << (byte) 1
[7] *((const word*) main::words + (byte~) main::$7) ← *((const word*) main::words + (byte~) main::$7) + (word) $101
[8] (byte) main::i#1 ← ++ (byte) main::i#2
[9] if((byte) main::i#1!=(byte) 3) goto main::@1
to:main::@2
main::@2: scope:[main] from main::@1
[10] (byte~) main::$0 ← > *((const word*) main::words)
[11] *((const nomodify byte*) main::SCREEN) ← (byte~) main::$0
[12] (byte~) main::$1 ← < *((const word*) main::words)
[13] *((const nomodify byte*) main::SCREEN+(byte) 1) ← (byte~) main::$1
[14] (byte~) main::$2 ← > *((const word*) main::words+(byte) 1*(const byte) SIZEOF_WORD)
[15] *((const nomodify byte*) main::SCREEN+(byte) 2) ← (byte~) main::$2
[16] (byte~) main::$3 ← < *((const word*) main::words+(byte) 1*(const byte) SIZEOF_WORD)
[17] *((const nomodify byte*) main::SCREEN+(byte) 3) ← (byte~) main::$3
[18] (byte~) main::$4 ← > *((const word*) main::words+(byte) 2*(const byte) SIZEOF_WORD)
[19] *((const nomodify byte*) main::SCREEN+(byte) 4) ← (byte~) main::$4
[20] (byte~) main::$5 ← < *((const word*) main::words+(byte) 2*(const byte) SIZEOF_WORD)
[21] *((const nomodify byte*) main::SCREEN+(byte) 5) ← (byte~) main::$5
to:main::@return
main::@return: scope:[main] from main::@2
[22] return
to:@return