prog8/examples/test.p8

34 lines
374 B
Plaintext
Raw Normal View History

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