1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-20 02:32:36 +00:00
kickc/src/test/ref/inline-kasm-loop.cfg
2019-09-29 20:57:28 +02:00

23 lines
442 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] *((const byte*) main::SCREEN+(word) $3e8) ← (byte) 0
kickasm() {{ lda #0
.for (var i = 0; i < 1000; i++) {
sta SCREEN+i
}
}}
to:main::@return
main::@return: scope:[main] from main
[6] return
to:@return