This commit is contained in:
Irmen de Jong 2023-01-26 01:41:44 +01:00
parent 3f3b01b5f6
commit e94319145f

View File

@ -8,22 +8,13 @@ main {
rsavex()
ubyte @shared ub
void asmfoo(42)
main.asmfoo.arg = 42
main.normalfoo.arg=99
; normalfoo(42)
void normalfoo(42)
somelabel:
ub++
txt.print_ub(ub)
}
asmsub asmfoo(ubyte arg @Y) -> ubyte @Y {
%asm {{
iny
rts
}}
}
sub normalfoo(ubyte arg) -> ubyte {
arg++
return 42