prog8/examples/test.p8

34 lines
374 B
Plaintext
Raw Normal View History

2021-03-18 18:17:05 +00:00
%zeropage basicsafe
2021-02-28 19:40:31 +00:00
main {
2021-03-15 21:24:09 +00:00
2021-03-18 18:17:05 +00:00
sub start() {
2021-04-04 10:55:29 +00:00
ubyte[6] array = [ 1,2,3,
; Comment here
4,5,6 ]
2021-04-01 20:10:04 +00:00
ubyte zz = len(array)
ubyte foobar
empty2()
%asm {{
lda foobar
}}
}
sub nix() {
}
sub empty2() {
}
}
derp {
sub nix2() {
ubyte zz
zz++
2021-04-01 20:10:04 +00:00
}
}