1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-10-21 17:24:39 +00:00
kickc/src/test/ref/address-6.cfg
2020-03-29 21:00:25 +02:00

38 lines
834 B
INI

@begin: scope:[] from
[0] phi()
to:@1
@1: scope:[] from @begin
[1] (volatile byte) idx ← (byte) 0
to:@2
@2: scope:[] from @1
[2] phi()
[3] call main
to:@end
@end: scope:[] from @2
[4] phi()
(void()) main()
main: scope:[main] from @2
[5] (byte) print::ch ← (byte) 'c'
[6] call print
to:main::@1
main::@1: scope:[main] from main
[7] (byte) print::ch ← (byte) 'm'
[8] call print
to:main::@2
main::@2: scope:[main] from main::@1
[9] (byte) print::ch ← (byte) 'l'
[10] call print
to:main::@return
main::@return: scope:[main] from main::@2
[11] return
to:@return
(void()) print((byte) print::ch)
print: scope:[print] from main main::@1 main::@2
asm { ldxidx ldach staSCREEN,x incidx }
to:print::@return
print::@return: scope:[print] from print
[13] return
to:@return