prog8/examples/test.p8

24 lines
318 B
Plaintext
Raw Normal View History

main {
asmsub multi() -> ubyte @A, ubyte @Pc {
%asm {{
lda #42
sec
rts
}}
}
2022-08-07 11:45:03 +00:00
sub start() {
ubyte value
value = multi()
while 0==multi() {
value++
}
2022-10-03 22:47:51 +00:00
if multi() {
value++
}
2022-09-18 14:04:49 +00:00
}
}