mirror of
https://github.com/irmen/prog8.git
synced 2024-11-30 08:52:30 +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++
|
|
}
|
|
}
|