mirror of
https://github.com/irmen/prog8.git
synced 2024-09-10 09:54:32 +00:00
34 lines
374 B
Lua
34 lines
374 B
Lua
%zeropage basicsafe
|
|
|
|
main {
|
|
|
|
sub start() {
|
|
|
|
ubyte[6] array = [ 1,2,3,
|
|
; Comment here
|
|
4,5,6 ]
|
|
|
|
ubyte zz = len(array)
|
|
|
|
ubyte foobar
|
|
empty2()
|
|
|
|
%asm {{
|
|
lda foobar
|
|
}}
|
|
}
|
|
|
|
sub nix() {
|
|
}
|
|
|
|
sub empty2() {
|
|
}
|
|
}
|
|
|
|
derp {
|
|
sub nix2() {
|
|
ubyte zz
|
|
zz++
|
|
}
|
|
}
|