2023-05-16 21:10:33 +00:00
|
|
|
%import textio
|
2023-04-10 14:59:08 +00:00
|
|
|
|
2022-10-22 11:33:35 +00:00
|
|
|
main {
|
2023-05-07 23:03:54 +00:00
|
|
|
sub start() {
|
2023-05-30 19:54:19 +00:00
|
|
|
str name1 = "name1"
|
|
|
|
str name2 = "name2"
|
2023-05-31 18:09:03 +00:00
|
|
|
uword[] names = [name1, name2, "name3"]
|
2023-05-30 19:54:19 +00:00
|
|
|
cx16.r0++
|
2023-05-31 18:09:03 +00:00
|
|
|
uword ww
|
|
|
|
for ww in names {
|
|
|
|
txt.print(ww)
|
|
|
|
txt.spc()
|
|
|
|
}
|
|
|
|
txt.nl()
|
|
|
|
|
2023-05-30 19:54:19 +00:00
|
|
|
names = [1111,2222,3333]
|
2023-05-31 18:09:03 +00:00
|
|
|
for ww in names {
|
|
|
|
txt.print_uw(ww)
|
|
|
|
txt.spc()
|
|
|
|
}
|
|
|
|
txt.nl()
|
|
|
|
txt.print("end.")
|
|
|
|
%asm {{
|
|
|
|
lda #$3e
|
|
|
|
}}
|
2023-03-18 23:24:05 +00:00
|
|
|
}
|
2022-12-04 15:02:58 +00:00
|
|
|
}
|
2023-04-29 15:14:50 +00:00
|
|
|
|