mirror of
https://github.com/irmen/prog8.git
synced 2024-08-20 05:29:02 +00:00
18 lines
214 B
Lua
18 lines
214 B
Lua
%import c64lib
|
|
%import c64utils
|
|
|
|
main {
|
|
|
|
sub start() {
|
|
A = testsub(33)
|
|
}
|
|
|
|
asmsub testsub(ubyte foo @stack) -> ubyte @stack {
|
|
%asm {{
|
|
Y=44
|
|
rts
|
|
}}
|
|
}
|
|
|
|
}
|