1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-06-29 09:29:31 +00:00
kickc/src/test/ref/inline-asm-ref-scoped.cfg
jespergravgaard 6253bdce28 Improved out
2020-10-05 22:58:02 +02:00

18 lines
320 B
INI

void main()
main: scope:[main] from
asm { lda#'c' stasub.ll+1 }
[1] call sub
to:main::@return
main::@return: scope:[main] from main
[2] return
to:@return
void sub()
sub: scope:[sub] from main
asm { ll: lda#0 sta$400 }
to:sub::@return
sub::@return: scope:[sub] from sub
[4] return
to:@return