mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-11-16 21:07:56 +00:00
34 lines
1.1 KiB
INI
34 lines
1.1 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] (byte*) main::sc#2 ← phi( main/(const nomodify byte*) main::screen main::@2/(byte*) main::sc#1 )
|
|
[6] if((byte*) main::sc#2<=(const nomodify byte*) main::screen+(word) $3e7) goto main::@2
|
|
to:main::@3
|
|
main::@3: scope:[main] from main::@1 main::@4
|
|
[7] (byte*) main::cc#2 ← phi( main::@1/(const nomodify byte*) main::cols+(word) $3e7 main::@4/(byte*) main::cc#1 )
|
|
[8] if((byte*) main::cc#2>(const nomodify byte*) main::cols-(byte) 1) goto main::@4
|
|
to:main::@return
|
|
main::@return: scope:[main] from main::@3
|
|
[9] return
|
|
to:@return
|
|
main::@4: scope:[main] from main::@3
|
|
[10] *((byte*) main::cc#2) ← (byte) 2
|
|
[11] (byte*) main::cc#1 ← -- (byte*) main::cc#2
|
|
to:main::@3
|
|
main::@2: scope:[main] from main::@1
|
|
[12] *((byte*) main::sc#2) ← (byte) 'a'
|
|
[13] (byte*) main::sc#1 ← ++ (byte*) main::sc#2
|
|
to:main::@1
|