mirror of
https://github.com/irmen/prog8.git
synced 2024-11-29 17:50:35 +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++
|
|
}
|
|
}
|